Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-02-2005, 06:16 PM   #1
Registered: Jun 2004
Posts: 105

Rep: Reputation: 15
Go Go Racer C

Hello all, I've just decided to teach myself C and I seem to be running into a few problems. I've got two problems/questions:
1) I'm using anjuta, and after I compile and build the program, I select execute but it doesn't seem to run anywhere... where are you program!?
2) what is the exact procedure I should be using to go from hello.c to hello.exe using gcc? It just doesn't seem to like me as it doesn't seem to be going as well as I could have hoped.

Thanks all
Old 03-02-2005, 06:27 PM   #2
Senior Member
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
itsme@dreams:~/C$ cat > helloworld.c
#include <stdio.h>

int main(void)
  printf("Hello, world!\n");
  return 0;
itsme@dreams:~/C$ gcc -Wall helloworld.c -o helloworld
itsme@dreams:~/C$ ./helloworld
Hello, world!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
racer game jadukor_bd Linux - Software 3 04-24-2004 09:56 AM
RACER in Mandrake Alfanut Mandriva 4 12-30-2003 04:57 PM
racer game jadukor_bd Linux - Newbie 5 08-31-2003 12:22 AM
Racer qulnxsh Linux - Software 3 04-19-2003 10:50 PM
Tux Racer! DavidPhillips Linux - General 4 01-12-2002 10:48 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration