Thread: Accessing huge 2d array causes "general protection exception"

  1. #16
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Far pointers fail in Windows XP, immediately. And they didn't get memory from the stack - they got it from the heap, but not on the same "page" of memory.

    Memory constraints are a big problem in Turbo C, running under Windows XP. I like turbo C, and have used it since we were stealing T-Rex eggs for breakfast, but never found a way to use far pointers in Windows XP.

    It does run fine, for small programs, but Tater is quite right - it's tipping over more and more, into final obsolescence, no matter how much I like it.

    R.I.P. Turbo C!

  2. #17
    Registered User
    Join Date
    Feb 2011
    Posts
    6
    Quote Originally Posted by CommonTater View Post
    But, as everyone is telling you... that is some SERIOUSLY outdated hardware and software you're working with...

    The compiler is 16 bits i.e 2 byte integers... and before long it will not be supported by new operating systems... 64 bit systems already refuse to run 16 bit code... 32 bit systems won't be far behind that. In fact, I'm guessing that in as little as 5 years new systems will not be supporting 32 bit code anymore...

    Hardware wise you're stuck in the late 1980s... 20 year old machines for which you can't even get drivers or upgrades anymore.

    If the only place your software is ever going to run is on your own computers that's all fine and dandy... but you have got to know that a LOT has changed since that was the "ultimate" setup and most of what you have there won't even run on newer machines.
    Actually, my Borland C++ Compiler supports both 16 bit (short integers) and 32 bit (long integers), and as I already stated in an earlier post I plan on buying a new PC and leaning MS Visual C++. My current laptop is old, but I purchased it in the Fall of 1998 or 1999 (hence Windows98 Second Edition) and the 20 inch widescreen lcd monitor in the Fall 2009, so no my hardware is not from the late 1980s.

    node101

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with mallocing a 2d array please?
    By Gatt9 in forum C Programming
    Replies: 5
    Last Post: 10-10-2008, 03:45 AM
  2. Replies: 2
    Last Post: 07-11-2008, 07:39 AM
  3. question about multidimensional arrays
    By richdb in forum C Programming
    Replies: 22
    Last Post: 02-26-2006, 09:51 AM
  4. Copying from one 2d array to another....with a twist
    By Zildjian in forum C++ Programming
    Replies: 2
    Last Post: 10-24-2004, 07:39 PM
  5. Struct *** initialization
    By Saravanan in forum C Programming
    Replies: 20
    Last Post: 10-09-2003, 12:04 PM