Turbo C++ linker error issues

So, I am trying to run my 6300 line program on a Turbo C++ 4.0 64-bit for Windows 7, and whenever I compile it, it shows _TEXT Segment Exceeds 64K. What I did for that was first check the memory of the file which is 124k. Then tried to reduce my lines of codes to only 6200 lines. Okay, so I compiled and ran it again in large memory model because the previous problem's cause was it was set on medium model and this time, the error is: "Too much global data defined in file". I take a look at my global declarations and..

1
2
3
  int maxCodeSize = 50;
  int numberRegions = 12;
  int numberCandidates = 5;


What should I do now? I also noticed that it runs only on my computer in medium set and only then did I discover that when I run it on another computer or laptop, it displays the 64k problem. Help. Thank you
Topic archived. No new replies allowed.