Re: [Anjuta-list] problem with anjuta
- From: UnoSD <kharhonte hotmail com>
- To: anjuta-list lists sourceforge net
- Subject: Re: [Anjuta-list] problem with anjuta
- Date: Sun, 7 Dec 2008 05:55:55 -0800 (PST)
hi giuseppe, i suppose you're italian like me :D but i write in english to
let the other user read...
system("pause") it's a windows command... the system(""); command call the
other console command so if you write system("dir"); it will work but in
linux you should not use "pause" that is a windows command....
ciao! spero di esserti stato di aiuto...
stefano
giuseppe cinque-2 wrote:
>
> 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");
>
> }
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Anjuta-list mailing list
> Anjuta-list lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/anjuta-list
>
>
--
View this message in context: http://www.nabble.com/problem-with-anjuta-tp20876230p20881264.html
Sent from the Anjuta - Users mailing list archive at Nabble.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]