I have an SDI application, and all I want to do is to access data in the view class of the program from within member functions of the class which is controlling the menu. How exactly do I get a pointer to the view in those parts of the code?
In detail--> I have data in the view class for...
Yes. 'FAR' is the Borland version of 'far'. For a Microsoft compiler, use 'far'. Like other people here, I have also bought books with examples that don't work. I've even bought books with examples that need a certain type of hardware on your computer. "Unexpected End Of File" is...
When writing member functions that return "large things" like arrays, a programmer has two choices:
(1) Send the array back via its pointer.
(2) Push the entire array onto the stack.
Either way you go, make sure you are ready to receive the return value in all its grandeur. Say...
It looks like you may be wondering how to rewrite your code without having to double up on the block which outputs the error message. I do this "doubling-up" constantly and time and time again, I find myself re-writing everything without the ifs and elses. Try rewriting your code...
I want to call Internet Explorer from my application and have it load up with a file called Mainpage.html. The following way is the way that I DO NOT want to use:
system("C:\\PROGRA~1\\INTERN~2\\IEXPLORE.EXE C:\\VC5\\LAUNCHER\\MAINPAGE.HTML");
The problem is no way to calculate...
Palbano's link is nice, but I do not read Visual Basic code and I can't "convert" it to Visual C++. Could someone please post some converted code for me? I hear that the function AdjustTokenPriviledges() is just what I need. But what in the world is all this stuff? And where in my...
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.