[anjuta-list] Anjuta new user-why is there an error code with this simple C program?
- From: Brenton Pettitt <dalpets ozemail com au>
- To: anjuta-list gnome org
- Subject: [anjuta-list] Anjuta new user-why is there an error code with this simple C program?
- Date: Fri, 16 Jul 2010 14:31:23 +0930
#include <stdio.h>
int main(void)
{
int dogs;
printf("How many dogs do you have?\n");
scanf("so you have %d dog(s)!\n", dogs);
return 0;
}
....../C Programming /project1/ff.c: line 2: `int main(void)'
----------------------------------------------
Program exited successfully with errcode (2)
Press the Enter key to close this terminal ...
THANKS FOR YOUR HELP
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]