So i am going to need a symbol table for my compiler but i have just discovered that an array is limited to about 0xffffffff elements and i am going to need more elements so what should i use?
Where did you hear about that limitation? AFAIK, the size of an array is only limited by std::size_t and the amount of memory of the computer.
The former will very likely never get touched. The latter will still take very large arrays of fairly large objects to get even close to on a modern computer.
@ResidentBiscuit Whats the 'former' and the 'latter'?
Here is how i know! int pie[2147483647];int pie[0xffffffff];
Both Give:
2 IntelliSense: array is too large c:\Users\****\Documents\Visual Studio 2012\Projects\Incom Machine\Incom Machine\Incom Machine.cpp 12 6 Incom Machine
Just because you have 8GB of memory doesn't mean that the operating system is going to give you 8GB of memory. On my system, the most it'll give me is 1GB (though I only have 2GB of RAM). In any case, one of the 'couple dozen programs' that you need to close will include the operating system - if you have exactly 8GB of memory, and you need exactly 8GB of memory, that leaves 8GB - 8GB = 0B of memory for everything else, i.e., nothing.