Problem with 'scanf'
Problem with 'scanf'
- Subject: Problem with 'scanf'
- From: Jean-Baptiste Le Stang <email@hidden>
- Date: Thu, 26 Sep 2002 19:34:56 +0200
I don't know if it's the right place to post this, but can someone tell me
why this in Project Builder is not running as it should. Thanks
JB (who is trying to learn C before Obj-C)
#include <stdio.h>
int main () {
int n1,n2;
printf("Enter a number\n");
scanf("%d",&n1);
printf("Enter a number\n");
scanf("%d",&n2);
return 0;
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.