xcode - Expression result unused objective-c -


i nooby gets. can please tell me how fix this?

#include <stdio.h>  int main(int argc, const char * argv[]) {         int sum;        sum = 50 + 25;     "the sum of 50 , 25 %i", sum ;      return 0; } 

change line:

"the sum of 50 , 25 %i", sum ; 

to:

printf( "the sum of 50 , 25 %i", sum ); 

the line in quotes syntax error happens getting compiler (which apparently throwing warning instead).


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -