Hi Folks,
Just starting out to learn Objective-C - this is my first program in Xcode and I have typed is just as it says in the book but I keep getting this error on the NSSLog line: parse error before '@' token
code...
#include <CoreFoundation/CoreFoundation.h>
int main (int argc, const char * argv[]) {
.. .. // insert code here...
int firstnumber = 2;
int secondnumber = 10;
int total = 0;
total = firstnumber + secondnumber;
NSSLog (@"%d", total);
.. .. return0;
please help!!
many thanks
Paul