LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 11-08-2004, 06:43 PM   #1
percent20
LQ Newbie
 
Registered: Aug 2004
Location: Glenpool
Distribution: 64bit CRUX
Posts: 23

Rep: Reputation: 15
C++ Linux Tutorials


Hello I am a fairly new to linux i can run it pretty good but i cant seem to do much on the programming side of things. In windows I can do it just fine. I was wondering if there are some good tutorials on using command line to wrote code and compile code for C++ not C. I have done several searchs on the site and cant seem to find the information that i need. Any help would be great.

Thanx
percent20
 
Old 11-08-2004, 07:46 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Well ... do you need to learn how to drive the compiler,
how to program C++ outside a windowed environment
or what? What have you used/done in Windows?


Cheers,
Tink
 
Old 11-08-2004, 10:57 PM   #3
percent20
LQ Newbie
 
Registered: Aug 2004
Location: Glenpool
Distribution: 64bit CRUX
Posts: 23

Original Poster
Rep: Reputation: 15
Well i have microsoft visual c++ for my programming things. But i was wanting to use emacs and compile from commandline useing gcc. I was wanting to see some tutorials on how to use gcc and compile c++ files while in command line cuz i am not useing x at all.
 
Old 11-09-2004, 02:32 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Have you read the man-page for gcc?
There isn't really much to it, for more complex
usage have a look at make-files of other projects.

The most basic use would be:
g++ <c++-file> -o <out-put-file>



Cheers,
Tink
 
Old 11-09-2004, 05:18 PM   #5
percent20
LQ Newbie
 
Registered: Aug 2004
Location: Glenpool
Distribution: 64bit CRUX
Posts: 23

Original Poster
Rep: Reputation: 15
thanks i feel stupid now i didnt look at the man page i usually do but dont really understand what it is saying so maybe that is why i didnt this time. Thanks again.
 
Old 11-10-2004, 12:22 AM   #6
karlan
Member
 
Registered: Aug 2003
Location: San Francisco, California
Distribution: Slackware
Posts: 158

Rep: Reputation: 30
reading man pages is an art, tutorials are usually better. . .
 
  


Reply


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
linux tutorials inspiredbymetal Linux - Newbie 7 07-17-2005 08:11 PM
Report your Linux installation and configuration success story to the Linux Tutorials t3gah Linux - Laptop and Netbook 2 04-23-2005 12:14 AM
tutorials for linux ftcnt Linux - General 2 05-06-2004 06:15 AM
New Linux Site Looking for Tutorials... mangeli General 1 04-25-2004 09:45 AM
Linux 101 tutorials studpenguin Linux - Newbie 6 03-14-2004 03:40 PM


All times are GMT -5. The time now is 02:57 AM.

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