[Anjuta-list] problem with anjuta
- From: giuseppe cinque <joefive libero it>
- To: anjuta-list lists sourceforge net
- Subject: [Anjuta-list] problem with anjuta
- Date: Sun, 07 Dec 2008 01:05:22 +0100
I wrote a simple source code,in c language, it's the first time i use
anjuta.
After compiling,when i run the program, i cannot see it in the
terminal...why?
i use the command system("pause"); to make stop the terminal and see
the program in execution, but doesn't work.....
here i have attached the source code i wrote.
Can you give me an advice about my question?
Tahnks
Giuseppe Cinque
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA
*/
#include<stdio.h>
#include<stdlib.h>
main()
{
int n;
printf("CIAO MONDO\n");
printf("inserire un numero\n");
scanf("%d",&n);
printf("%d",n);
system("pause");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]