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

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -