LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-11-2009, 07:48 PM   #1
SolitudeSensus
Member
 
Registered: May 2009
Posts: 73

Rep: Reputation: 15
Smile C++


I want to learn C++
Where to start and how to.
Can anybody suggest good place or tutorial to learn.
 
Old 07-12-2009, 02:48 AM   #2
shuuhen
Member
 
Registered: Jun 2004
Distribution: Mac OS X 10.6.6, Gentoo Linux, FreeBSD 6.0
Posts: 127

Rep: Reputation: 20
I'd say a good solid book is the best way. I think Thinking in C++ is available free online, but I don't know how good it is. You could probably get a copy of Deitel & Deitel's C++: How To Program for cheap if you're ok with it being one or two editions behind the latest. Personally I like the Deitel book more than other introductory programming books I've seen.
 
Old 07-12-2009, 09:33 AM   #3
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by SolitudeSensus View Post
I want to learn C++
Where to start and how to.
Can anybody suggest good place or tutorial to learn.

Enter

C++ tutorial

into your favorite WEB search engine.
 
Old 07-12-2009, 09:40 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by SolitudeSensus View Post
I want to learn C++
Where to start and how to.
Can anybody suggest good place or tutorial to learn.
What languages do you already know?

Do you already know something about Object-Oriented programming?

You will get much better advice if you tell us more about your skills and experience.

Personal bias (I am a not a Programmer): If you don't already know C, learn that first.
 
Old 07-12-2009, 09:56 AM   #5
SolitudeSensus
Member
 
Registered: May 2009
Posts: 73

Original Poster
Rep: Reputation: 15
C or C++

I don't have knowledge on object oriented programming.
I have some knowledge on PHP, but not so vast.

Confused between c and c++
 
Old 07-12-2009, 10:46 AM   #6
Hioushi
LQ Newbie
 
Registered: Aug 2006
Distribution: Ubuntu, Slackware, CentOS, openSuse
Posts: 22

Rep: Reputation: 0
The main difference is that C++ is object oriented and C is not, but you can work in C++ both ways. C++ is considered a C upgrade so IŽd start with that and skip C, my opinion only though. YouŽll find it very familiar to PHP.
 
Old 07-12-2009, 10:54 AM   #7
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
I'll throw a second recommendation behind Deitel^2. I didn't learn from it, but I was assigned it in a class and though it looked pretty solid. That said, the most important resource is going to be your own ability to ask questions of Google. C is hard. : )

Quote:
Originally Posted by Hioushi View Post
YouŽll find it very familiar to PHP.
Well, you'll find some of the syntax familiar. PHP won't teach you much about pointers and memory management, which are kind of the central and signature concepts of C.


Edit: whoops, nuked some of my own text.

Last edited by karamarisan; 07-12-2009 at 10:55 AM.
 
Old 07-12-2009, 11:20 AM   #8
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by Hioushi View Post
The main difference is that C++ is object oriented and C is not, but you can work in C++ both ways. C++ is considered a C upgrade so IŽd start with that and skip C, my opinion only though. YouŽll find it very familiar to PHP.
And to add to the confusion - C++ templates engine is functional - opposed to OO and imperative.
 
Old 07-12-2009, 01:13 PM   #9
esaym
Member
 
Registered: Nov 2006
Distribution: Lots of Debian
Posts: 165

Rep: Reputation: 32
I have some notes here from school: http://net153.net/stuff/cppNotes.tar.gz
 
  


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



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

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

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