Click to See Complete Forum and Search --> : C or C++
commdogg
11-12-2000, 03:24 PM
Four days ago I bought a copy of "Teach Yourself C in 21 Days". I've been reading it since. I am now having some doubts. I saw a few C++ code examples and they seem to make more sence to me. So which one would be good for me... I consider myself (on a scale of 1-10) a 7 with Perl (just to show I'm not a complete beginner). So which would be good?
Thanks in advance.
------------------
I'm proud to have an X incompatable video card.
Console RULES!
Strike
11-12-2000, 04:09 PM
So you want a C++ book suggestion? Well, Bruce Eckel (http://www.bruceeckel.com)'s book "Thinking in C++" is 100% free, so why not check out that link and see if that helps.
aph3x
11-12-2000, 06:52 PM
i would recommend learning both c and c++. if you go ahead and teach yourself c, non-OOP c++ is a breeze to pick up, and then move on to OOP with c++. then you know 2 programming laguages...
better overall knowledge of programming in general = more marketabilty in employment. http://www.linuxnewbie.org/ubb/biggrin.gif
What was it that made more sense to you in C++, commdog.
p.s. take your book back to the sto and get you're money back, isn't that one of the big fat http://www.linuxnewbie.org/ubb/cool.gif$50$ http://www.linuxnewbie.org/ubb/cool.gif ones. most C++ books start with C and then show you the C++ later in the book.
[This message has been edited by siqe (edited 12 November 2000).]
commdogg
11-13-2000, 02:19 AM
siqe:
It'd just the design, I guess. I like the way it looks (and some of the basic syntax I saw). Like to print something...
C
#include <stdio.h>
main() {
printf("Hello World\n");
return 0;
}
C++
#include <iostream.h>
main() {
cout << "Hello World\n";
return 0;
}
I guess it'd be better if I just stuck with it and see all of C before I judge it.
[This message has been edited by commdogg (edited 13 November 2000).]