This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc
- From: Matthieu Moy <Matthieu dot Moy at imag dot fr>
- To: "Arash Farmand" <arashfarmand at hotmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 31 Mar 2003 09:19:56 +0200
- Subject: Re: gcc
- References: <F63suZ2K4xDh9vXsFFs0000dc50@hotmail.com>
"Arash Farmand" <arashfarmand at hotmail dot com> writes:
> #include<stdio.h>
>
> int main(void)
> {
> printf("Hello world!");
You'd better use "Hello world!\n", because the IO are usually buffered
by your system, and will not appear until your process outputs a '\n'.
But the solution is to call ./a.out, or to add '.' to your $PATH
environment variable :
PATH=${PATH}:.
export PATH
using bash. (Type it once in every new shell, or put it in your
~/.bashrc file.)
>
> return(0);
> }
BTW, forget about kwrite : you should use Emacs or vi ;-)
--
Matthieu