Xcode users: i need help

Magrathean

worldbuilder
Oct 14, 2005
6,987
4
38
Faculty of Science
s1.zetaboards.com
Some compiler parsers can get really picky with spaces (or lack of spaces.)
Try:
Code:
scanf("%i", var1);

and
Code:
return 0;
 
How about this?
Code:
scanf("%i", &var1);