Hi All,
I am very new to objective C programming. I wrote this code but it is not working and I don't know why.
It is very basic program. The code is below.
#import <Foundation/Foundation.h>
int main(int argc, const char * argv[]) {
int a = 3;
int b = 4;
int result = a + b;
NSLOG(@"%i", result);
return 0;
}The problem is in line 7. it gives me error.
Implicit declaration of function 'NSLOG' is invalid in C99
Thanks in advance.