C++ Rules!
Hehe, I always tought that since the day I tried C++, though I never tried C in my life. Lol.
C
C++
C++ Rules!
Hehe, I always tought that since the day I tried C++, though I never tried C in my life. Lol.
0100001
Will it be more difficult to learn C++ instead of C? I look at some of the syntax and it looks a little off the wall sometimes.
>>Will it be more difficult to learn C++ instead of C?
If you learn C++ the right way then no, C++ is more intuitive than C when it comes to using it. It's like Perl, it looks like gibberish until you learn what it does and then it's obvious, and learning it is easy. :-)
*Cela*
I think that you should learn C, since you're familiar with linux. In the linux world, it's useful to know C, since it's widely used. There are tons of code to read, and to study the code of programs, which is mainly written in C, wouldn't be a waste of time.
% gcc -v
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.3.3 [FreeBSD] 20031106
He's right, C++ is much easier expecially if you learn C++ before learning C, because the code it's more readable.Originally posted by Cela
>>Will it be more difficult to learn C++ instead of C?
If you learn C++ the right way then no, C++ is more intuitive than C when it comes to using it. It's like Perl, it looks like gibberish until you learn what it does and then it's obvious, and learning it is easy. :-)
none...
i agree; and if you're interested in reading a little tiny bit more, bjarne stroustrup's website has moreOriginally posted by Polymorphic OOP
No, it's not.
While it can be arguable to call C a true subset of C++, C++ is in no conceivable way a subset of C.
hello, internet!
people complain about C++ being difficult and all, I never had any problems. And it's the first language I really took any interest in. I used C for about 3 months b4 C++, simply because I didn't know C++ existed, and Wolfenstein 3D's engine was written in C/ASM and the only reason I was using C was for Wolfy. It's pretty weird too, I actually taught myself how to program b4 reading one single thing about it. I just looked around in the code and saw stuff like for statements, and I looked at how they are all setup, and basically figured out all by myself how they worked. Then I got the internet, and it opened up a new world to me. I started C++ and I was truly happy. And I still am.
>Will it be more difficult to learn C++ instead of C?
It is a more complex language and has more facilities than C, but it doesn't necessarily have to be more difficult, but it probably will take longer to learn it.
I started by going through "C in 21 Days", then "C++ in 21 Days". This was NOT necessary. As I recall, I used a C++ compiler for both (without changing any settings).
There was SOME benefit to working through both books: The C book actually has 28 chapters... a "Bonus Week". And, there's information left-out of the C++ book to make room for the C++ specific stuff. Also, learning about classes was easier after learning about C structures. (C++ is my first OOP language.)