Command Line I/O
Command Line I/O
- Subject: Command Line I/O
- From: Jesse Thompson <email@hidden>
- Date: Sat, 25 Oct 2003 11:23:57 -0700
I'm having issues with command-line I/O & Xcode.
In PB,
#include <stdio.h>
int main ()
{
int i;
printf( "Enter a number\n" );
scanf( "%d", &i );
return 0;
}
Would have printed the message and then waited for input. In Xcode
however, a blank window pops-up, and does nothing. If I hit a carriage
return, the message is printed and then the system exits.
What am I missing here? Can Xcode no longer do C / C++ command-line I/O?
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.