D
D
dflbrhekbn2014-07-25 14:27:34
Programming
dflbrhekbn, 2014-07-25 14:27:34

What textbook for learning C ++ from scratch is currently relevant?

So I graduated from the institute, it’s not going to go to the army soon and I decided to brighten up my life by studying the great C ++. Well, I ran into a problem. I found a C ++ textbook for dummies 4th edition and began to read slowly, but when I got to practice, persimmons began. According to the book, it says to download GNU C++, but I understand that this thing is only installed on Linux. Google suggested downloading dev c++ instead of GNU, which I did. Well, I don't know what to do next with all this. The tutorials describe what and how to do in GNU, but I don’t find anything similar in the installed dev c ++.
Advise how and where it is better to start learning C ++, given the fact that I am in programming 0.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
B
bogolt, 2014-07-25
@dflbrhekbn

It's better to start with pure C. Almost all books on C++ assume that you are already familiar with the C language, so a lot of basic things that coincide with C (like loops, conditional statements, etc.) are not explained in plus textbooks.
And in general - to understand at a basic level with bare C is much easier than doing the same with pluses. But after that, it is quite possible to open any textbook on C++ (I recommend Bruce Eckel, although now, due to the release of the new standard, it is already a little outdated, but I don’t think that there are already good textbooks taking into account this very new standard).

A
AlexP11223, 2014-07-25
@AlexP11223

stackoverflow.com/questions/388242/the-definitive-...
I read about various compilers and settled on gcc, but I don't understand how to use it?
GNU C++ (gcc / g++) not only on Linux, there is MinGW. But this is only the compiler itself, not the development environment (IDE ru.wikipedia.org/wiki/%D0%98%D0%BD%D1%82%D0%B5%D0%... ), so the comparison with dev c++ is wrong . It is possible to compile without an IDE from the console by running the compiler with the necessary parameters (path to files with code, etc.). Both on Linux and Windows. And if you use an IDE, then take better Visual Studio (Express) or Qt Creator.

M
matperez, 2014-07-25
@matperez

Take any where it says "introduction to xxx". I personally enjoyed Ivor Horton's Beginning Visual C++ 2013 and Sams Teach Yourself C++ in 24 Hours, but you can use any of the others. It's easier to find two or three different tutorials and read them than to find out on a forum which one is the best.

N
noize, 2014-07-31
@noize

I would recommend the book "Stephen Prata. The C++ Programming Language. Lectures and Exercises"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question