LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   C++ (https://www.linuxquestions.org/questions/programming-9/c-739470/)

SolitudeSensus 07-11-2009 07:48 PM

C++
 
I want to learn C++
Where to start and how to.
Can anybody suggest good place or tutorial to learn.

shuuhen 07-12-2009 02:48 AM

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.

Sergei Steshenko 07-12-2009 09:33 AM

Quote:

Originally Posted by SolitudeSensus (Post 3604679)
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.

pixellany 07-12-2009 09:40 AM

Quote:

Originally Posted by SolitudeSensus (Post 3604679)
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.

SolitudeSensus 07-12-2009 09:56 AM

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++

Hioushi 07-12-2009 10:46 AM

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.

karamarisan 07-12-2009 10:54 AM

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 (Post 3605182)
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.

Sergei Steshenko 07-12-2009 11:20 AM

Quote:

Originally Posted by Hioushi (Post 3605182)
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.

esaym 07-12-2009 01:13 PM

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


All times are GMT -5. The time now is 12:19 AM.