int funcAverage(int num1, int num2, int num3, int num4, int num5, int sum) would be the simplest or you could put the *******s in an array and pass by address
you need to learn the basics of c++ ,data types,functions,classes,syntax of the language,etc. which is the base of what you work off of. a simple book such as C++ in 24 hours is sufficient to learn...
i'm not sure where to post this question
I want to make a screen saver program how does this work and is there an example program in c++ that i can learn from,THANKS!
yeah i know its alot of overhead but it was just an idea that i had along time ago to encapsilate the onmousemove action in an owner drawn button to change the bitmap,in which i had dropped the...
i believe not, how is the program supposed to know what buttons to uncheck etc... in side the so called reset/uncheckall button get the handles to each control and uncheck the controls
I would use CView since it is simple and handles mouse messages and I would use it for one button if you want the action to happen just for that button and to glue it to the CView you make CView the...
add another beak point some where else,why not add a break point in all of your functions/classes and as you are figuring out which ones remove the ones that are not causing the assertion and watch...
house::toString() says that the toString function is a member of house and which in your case its not I changed a couple of things.what in your case does vector mean, the only vector i know is a line...
there are books out there that shows you how to code with MFC that shows how to in 24 hrs 'yeah right , in 24 hrs?' anyways, it shows you the basics from windows and document architecture,buttons...
just an idea not sure that it will work but if you where to encapsulate the button in another class such as a view class and use the OnMouseMove or Hover message handler
I am sure if you try a search for that number lnk2001 on this site you most likely will find your answer, i'm sure that most everybody had that error at one time or another in the past
the frame that I attatched the menu item to thru a splitter window has no view attatched (is that the reason why the menu item is not enabling?) that is the purpose for the menu item is connecting a...
it looks like you have a syntax error some where close to where the included file is(that is where an object that uses that file) , i don't know what that include file is used...
the program is most likely crashing because one of your pointers is null trying to access something which causes an access violation
debug your code using break points