Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Learn C++ to understand examples in book fast, know C and Java already [closed]

Tags:

c++

resources

I need to read "A Practical Introduction to Data Structures and Algorithm Analysis" by Shaffer for class but the code examples in the book are all in C++ which I do not know. I know C and Java already and was wondering if you knew any resources that helped learn enough C++ to understand these examples fast if you already know another language. Thanks!

like image 590
Javed Ahamed Avatar asked Sep 07 '09 00:09

Javed Ahamed


People also ask

Is it easy to learn C if I know Java?

Answers. 16 Answers found. If you want to become a good java programmer then you should have the knowledge of C because C language is our basic language without C language you will not able to learn Java perfectly. C is always use in Java.

How much time will it take to learn Java if I know C?

Maybe a week or two. If you know C, all you have to learn is OOP concepts and its implementation in java. Many people struggle with basic programming skills like using loop, conditionals, functions, etc. If you know C this should not be a problem.

Is Java or C better to learn?

C is a great way to learn how computers actually work in terms of memory management, and is useful in high-performance computing. C++ is great for game development. Python is awesome for science and statistics. Java is important if you want to work at large tech companies.


1 Answers

Another free textbook is The C++ Annotations by Frank B. Brokken. You can browse it online, or you can download the pdf version.

A quote from the first page:

This document is intended for knowledgeable users of C (or any other language using a C-like grammar, like Perl or Java) who would like to know more about, or make the transition to, C++. This document is the main textbook for Frank's C++ programming courses, which are yearly organized at the University of Groningen

What I like about "The C++ Annotations" is that is being kept uptodate, version 8.0.0 has added C++0x chapters.

like image 96
Cristian Adam Avatar answered Oct 11 '22 15:10

Cristian Adam