LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   Learning C++ (http://www.linuxquestions.org/questions/programming-9/learning-c-69527/)

pilot1 07-02-2003 08:20 AM

Learning C++
 
What is a good website, and/or book to use to learn C++?
Currently i'm going through the tutorial at www.cplusplus.com, but it seems to only cover the basics.
Also, what's a good reference book to use once I learn C++?

nakkaya 07-02-2003 09:38 AM

www.cprogramming.com

GtkUser 07-02-2003 09:39 AM

There is no complete solution for C++ at this time. It's better to learn C, you'll have all the power you could ever dream of on any modern platform. Standard C++ is probably only for compilers to write code in because it is too sophisticated for humans. I'm totally serious, very few people have the time and money to learn Standard C++. If you were extremely stubborn you could look at the book reviews at < www.accu.org >. I dislike Francis Glassborow however but in spite of this most of the reviews appear to be...well...correct.

GtkUser 07-02-2003 09:41 AM

Quote:

Originally posted by nakkaya
www.cprogramming.com
This is very poor advice. Do not use this forum. A much better forum is the link on www.cplusplus.com to comp.lang.c++. The website < www.cprogramming.com > is littered with turkeys. I am giving you the best advice, just learn C...at this time.

nakkaya 07-02-2003 09:51 AM

Quote:

Originally posted by GtkUser
There is no complete solution for C++ at this time. It's better to learn C, you'll have all the power you could ever dream of on any modern platform.
C is supported under C++ and c doesnt give you anything c++ cant give

Quote:


Standard C++ is probably only for compilers to write code in because it is too sophisticated for humans.

you kidding me have you ever looked at the c code and then a c++ code c++ is written for easy management fast development re use code to prevent spagetti code while still providing the power c has given to users

Quote:


I'm totally serious, very few people have the time and money to learn Standard C++.

c++ is allways more readable then c since it is higher than c.
c++ is one of the most used languages in the world
also you need less time while coding in c++(cause you can re use your code create your own class es override functions and operator s theses are some of the powerfull solution that c can not provide you) and there for less money it is easier to learn cause sytax is more clear than c

nakkaya 07-02-2003 09:57 AM

Quote:

[i]Originally posted by pilot1
What is a good website, and/or book to use to learn C++?
Currently i'm going through the tutorial at www.cplusplus.com, but it seems to only cover the basics.
Also, what's a good reference book to use once I learn C++?

as you can see he wanted a tutorial


and then i posted the site you posted the following

Quote:

Originally posted by GtkUser
This is very poor advice. Do not use this forum. A much better forum is the link on www.cplusplus.com to comp.lang.c++. The website < www.cprogramming.com > is littered with turkeys. I am giving you the best advice, just learn C...at this time.
and since www.cprogramming.com has tutorials on it i gave adress. i did not said anything about forum mate. next time read it all

pilot1 07-02-2003 11:56 AM

Thanks for your input.
It seems, at least to me, that C++ is easier to learn than C. But maybe i'm mistaken.

They both look pretty similar.
Would it be hard to learn C after I know C++?

kev82 07-02-2003 12:29 PM

i consider c++ to be a (large)superset of c so if you know c++ then you automatically know c. c++ has a lot more to it, and to learn the language fully is a lot harder than C because of the whole object orientated thing. but c++ is easier for the beginner due to things like the std::string class, also people who learn c++ before/with c tend to skip over the hardware/low-level abilities of the language. you can probably get away with going straight into c++ but i would reccomend learning c first.

edit: re your first post: i think the tutorial at www.cplusplus.com covers the majority of the language, not just the simple stuff, if your thinking about graphics etc thats NOT part of c++ its in libraries provided by third parties.

edit: i dont think www.cprogramming.com is very good either

pilot1 07-02-2003 01:58 PM

I'm 15, and it seems to me that the easiest way to learn to program would be to learn C++.

One of the main reasons I chose it is because I can look at the source of my favorite programs (almost all are written in C++), and see how they work, and maybe even submit bug fixes to the mantainer.

Also, from what i've seen of C++ it doesn't seem that hard to learn, and it would probably be the most useful language for me to learn.

I'm not very far along in the cplusplus.com tutorial (section 2.2), and they may answer this question later, but i'll ask anyways.

When you use the #include <file.h> command/definition/whatever, file.h provides additional commands to use in your program, right? Where can I learn what commands a file provides, and how to use them?


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