Home » Community » Newbie corner » Difficulty with Class declaration
Re: Difficulty with Class declaration [message #26166 is a reply to message #26090] |
Tue, 06 April 2010 17:54 |
mr_ped
Messages: 825 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
And last thing... I'm definitely not explaining full C/C++ pointer syntax in these articles, like why new int[] leads to delete [], etc... you will have to dig into proper syntax in language reference. I'm just explaining the basic concept behind it, with that I'm sure you will understand all the syntax sugar from language reference soon, just keep on mind you will have to dig into it one more time.
Also I personally dislike stuff like function pointers (used for callbacks mostly), because I have to check language reference every time I have to use them (to know how to write it properly for compiler). This is another neat thing about U++, the macro "THISBACK" will save you in 99% of cases, so you don't have to bother with this rare syntax stuff.
But of course you should get trough it at least once to have idea what's going on in the background of THISBACK.
|
|
|
Goto Forum:
Current Time: Sun Jun 02 19:21:35 CEST 2024
Total time taken to generate the page: 0.01116 seconds
|