There is a certain program that in the console application. You need to determine the amount of memory, which is a console application at work.
Googled, nothing found. Bits and pieces everywhere... Maybe bad looking.
Could you tell me the function/procedure that can determine the amount of memory. Well, or link to code (most importantly, that the point was clear). Preferably in Delphi/C++.
Thanks in advance.