![]() |
Is there a function in c++ to measure memory use of a program?
|
a C++ function ... mmmmmm...
i don't know but i'm sure that you can use some API's and types to get the memory i don't remember how i found a VB program a while ago which uses APIs to get the memory try checking MSDN maybe you'lle find anything usefull |
>Is there a function in c++ to measure memory use of a program?
Not a standard function. You would need to check your system's documentation to see if the system API supports such a thing. |
there is
look what i will look around my VB codes and when i find something i'll post it here |
this is the source code in visual basic :
:
Option Explicitand this is the program in C++ as you ordered written by me : :
#include <iostream.h> // for the 'cout' functionyou can compile the source code with DEV_CPP |
| All times are GMT -5. The time now is 2:34 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC