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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-02-2003, 08:20 AM
|
#1
|
|
Member
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408
Rep:
|
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++?
|
|
|
|
07-02-2003, 09:38 AM
|
#2
|
|
Guru
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398
Rep:
|
|
|
|
|
07-02-2003, 09:39 AM
|
#3
|
|
Member
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637
Rep:
|
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.
|
|
|
|
07-02-2003, 09:41 AM
|
#4
|
|
Member
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637
Rep:
|
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.
|
|
|
|
07-02-2003, 09:51 AM
|
#5
|
|
Guru
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398
Rep:
|
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
Last edited by nakkaya; 07-02-2003 at 10:04 AM.
|
|
|
|
07-02-2003, 09:57 AM
|
#6
|
|
Guru
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398
Rep:
|
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
|
|
|
|
07-02-2003, 11:56 AM
|
#7
|
|
Member
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408
Original Poster
Rep:
|
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++?
|
|
|
|
07-02-2003, 12:29 PM
|
#8
|
|
Senior Member
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263
Rep:
|
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
Last edited by kev82; 07-02-2003 at 12:36 PM.
|
|
|
|
07-02-2003, 01:58 PM
|
#9
|
|
Member
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408
Original Poster
Rep:
|
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?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
Learning C
|
J_K9 |
Programming |
18 |
09-17-2005 01:17 PM |
|
learning c++
|
g2axiom |
Programming |
14 |
12-31-2004 07:57 PM |
|
Learning as I go.
|
Curious |
LinuxQuestions.org Member Intro |
1 |
09-25-2003 12:07 AM |
|
Learning?
|
slack105 |
Slackware |
3 |
07-31-2003 12:46 PM |
|
learning how much mb?
|
nakkaya |
Linux - General |
4 |
02-27-2003 10:04 AM |
All times are GMT -5. The time now is 06:19 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|