I am a beginner with visual C++ and am have a really bad problem with a memory leak. Our app has a dialog with a loop in it that checks a device and reads in a text file. I suspect that the variable which is having the text file inputted into it is accruing the data with every cycle. Looking at...
Once, again, I apologize for the inane question, I am very much a beginner. How do you read in string (char?) data, and recast it as int?
FILE *stream ;
FILE *stream2 ;
FILE *stream3 ;
int buffer[1024];
int buffer2[1024];
int buffer3[1024];
do{
m_refresh_3 = fread(buffer...
How do you create a global variable that can be accessed by the entire dialog type application? For example, I have one dialog box that is calling another dialog box, and I want them to close simutaneously. Thanks in advance!
I'm new to C++ programming and apologize for asking such a basic question, but how do you display, in an edit box on a dialog form, the contents of a variable into which you have read a line from a text file? Thanks in advance!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.