[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newbie - Can't compile and run C program
From: |
taariqq |
Subject: |
Re: Newbie - Can't compile and run C program |
Date: |
Sun, 18 Mar 2012 15:08:56 -0700 (PDT) |
What command was it, to keep the window open and waiting for input before
being closed, so one could see the output of simple programs like hello
world?
I see cin.get(); being mentioned for C++, but I can't locate the one for C
taariqq wrote:
>
> Hi all,
>
> Was looking for some help and google sent me to you guys. Hope I am not
> intruding.
> I've just downloaded emacs 23.4 for my winxp machine. To go into C mode by
> typing M-x c-mode. I type the typical hello world program. I type M-x
> compile to compile the program ... and this is where I am stuck. It is not
> generating a.out. Either it gives me an error if I use make -k, or if I
> compile w/o make command, it pops the program open in another window.
>
> I have used emacs in the the past to compile and run C programs
> successfully, but I am forgetting something or else.
>
> Greatly appreciate it.
>
--
View this message in context:
http://old.nabble.com/Newbie---Can%27t-compile-and-run-C-program-tp33527190p33528142.html
Sent from the Emacs - Help mailing list archive at Nabble.com.