First post, by noshutdown
in windows there is memorystatusex, and in quickbasic there is fre(), but what can i use with djgpp/watcom in protected mode, or with borland c++/microsoft c++ in real mode? is there a dos interrupt that provides the amount of available ram, or a c/c++ standard library, or a function of dpmi?
also i want the amount of available ram that i can use with either malloc or new, because malloc gets ram from heap which is provided by os, while new gets ram from the so called "free store".