Just as a side note, you would benefit greatly by learning about classes. Try the tutorials at cplusplus.com: http://www.cplusplus.com/doc/tutorial/ , I learned a lot about C++ there.
Also, I believe the right term for your problem is "the following code won't compile". I don't think there's such thing as C++ initialization.
Show differencesHistory of post edits
#1DavitosanX
Posted 05 July 2012 - 11:59 AM
Just as a side note, you would benefit greatly by learning about classes. Try the tutorials at cplusplus.com: http://www.cplusplus.com/doc/tutorial/ , I learned a lot about C++ there.