Endless Paradigm

Full Version: C or C++ books
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
LumpiaWarrior Wrote: [ -> ]
nurehtix Wrote: [ -> ]
LumpiaWarrior Wrote: [ -> ]however programming is always easy the second time around.

exactly this.

Which is why I'd suggest an easier language first, then you can move on to C/C++ when you have a better grasp of programming in general.

I did both java and c++ and ive got say java is more user friendly and is an easier language than c++

then you're an idiot.
Well, that's rather uncalled for, as I'm pretty sure 'easy' is an opinionated word.

It's your opinion that C++ is easier, not mine or Eisen's. I'm pretty sure having an opinion doesn't make someone an idiot.
nurehtix Wrote: [ -> ]Well, that's rather uncalled for, as I'm pretty sure 'easy' is an opinionated word.

It's your opinion that C++ is easier, not mine or Eisen's. I'm pretty sure having an opinion doesn't make someone an idiot.

ya know, im gonna have to side with nurehtix on this one
ok. im just saying that i found c++ insanely easy, and couldnt understand a word of java.

what do you expect me to not argue my point? its the internet, if it looks like im losing, of course im going to resort to name calling.

Spoiler for reasons C++ is better:
C++ allows for calls to native system libraries, instead of relying on java interfaces.

C++ is backwards compatible with C, in almost all cases, whereas java is not backwards compatible with any other proramming language.

C++ is more straightforward, and while java offers shortcuts, it has a much higher learning curve than C++.

C++ also allows you do directly manage your memory allocation, whereas java tries to handle that by itself, which causes it to run much slower than C++.

C++ was designed for system programming, and offers much more power than Java does.

C++ allows namespace level constants, variables, and functions. All such Java declarations must be inside a class or interface.

C++ allows default values for arguments of a function/method, Java does not. in order to get a similar result in java, you have to use method overloading, which is beyond the scope of a beginner.

Java offers automatic garbage collection. Memory management in C++ is usually done through constructors, destructors, and smart pointers. The C++ standard permits garbage collection, but does not require it; garbage collection is rarely used in practice. The enforced use of automatic garbage collection means that writing real-time software can be difficult in Java.

In C++ one can construct pointers to pointers, pointers to ints and doubles, and pointers to arbitrary memory locations. Java references only access objects and arrays, never primitives, other references, or arbitrary memory locations.

C++ provides cross-platform access to many features typically available in platform-specific libraries. Direct access from Java to native operating system and hardware functions requires the use of the Java Native Interface.

not only that, but

C++ is not a trademark of any company or organization and is not owned by any individual. Java is a trademark of Sun Microsystems, which is now owned by Oracle.
I'm not going to argue on which language to use, but I suggest Deitel and Deitel books: http://www.deitel.com/Books/BooksandDown...fault.aspx
C# is the best
Pages: 1 2 3
Reference URL's