Nokia C++ (for Symbian S60, 3rd Edition, Feature Pack 2) is not. For starters, there's no strings. Just descriptors pointing to lots of things. And only once you get your head around this will any programming make sense. This website: http://descriptors.blogspot.
Anyway, there I was programming some examples, when I got errors. A lot of them. 636 to be exact:
Errors such as:
declaration syntax errorI spent hours and hours pulling my hair out fretting over these hundreds of errors! Why could these examples not compile! I DIDN'T CHANGE ANYTHING.
(included from:
C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\include\e32cmn.h:8
C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\include\e32std.h:13
C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\include\e32base.h:8
And then I solved it. It was embarassing. Are you ready?
I named my files with an extension .C. Not the .CPP which is the norm for C++. Once I changed to .CPP everything work fine.
This children, is why you must have cafienne before programming.
No comments:
Post a Comment