LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-01-2003, 10:42 AM   #1
wood
Member
 
Registered: Aug 2003
Posts: 78

Rep: Reputation: 15
how have a good start in C++


Can anyone tell me, how to have a good start in c++.

Which compiler should I use?
How can I start programming the interface of the program?
Any recommendation or advice b4 starting to learn c++?
 
Old 11-01-2003, 10:46 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you're using linux, then there is only really one complier you'd normally use.. gcc. advice? erm.. always change your underwear before going on a plane.
 
Old 11-01-2003, 10:55 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Moved: Seems more suitable in our Programming forum. And yes, changing your underwear before getting on a plane might come in handy for some. Regards.
 
Old 11-01-2003, 12:20 PM   #4
speter
Member
 
Registered: Sep 2003
Location: Edison, NJ
Distribution: Fedora, Mac OS X
Posts: 313

Rep: Reputation: 30
Quote:
Originally posted by trickykid
And yes, changing your underwear before getting on a plane might come in handy for some.
For whom would it not be handy?

As for advice for learning C++, look at code and write as many programs as you can. Programming is not a theoretical field. My book recommendation is C++ Primer Plus, and I've found CodeWarriorU to be useful for beginners.

Steve
 
Old 11-01-2003, 01:38 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
g++ would be fine

Create an ordinary text file with your c++ code in it and save it as source_file.C

Then compile it with

g++ source_file.C -o executable_name

Once compiled into an executable the executable is in the same directory as the source file.

Then move it if neccesary into your PATH

Then run it with

executable_name

Last edited by Skyline; 11-03-2003 at 05:02 AM.
 
Old 11-02-2003, 05:09 AM   #6
wood
Member
 
Registered: Aug 2003
Posts: 78

Original Poster
Rep: Reputation: 15
How about Microsoft Visual C++? Is it good to use, or a bad habit
 
  


Reply



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
Good linux distro to start out from saiz66 Linux - Newbie 8 09-14-2004 09:21 AM
for your amusement: Not a good start?... clausawits Fedora 3 05-31-2004 06:10 AM
A good language to start with. KptnKrill Programming 77 07-21-2003 04:20 PM
Good start joeca12 Linux - Newbie 2 12-17-2002 03:53 PM
Good Way To Start With Linux de_guiche Linux - Newbie 7 06-26-2002 06:59 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:06 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration