Reddit Reddit reviews A Tour of C++ (C++ In-Depth Series)

We found 27 Reddit comments about A Tour of C++ (C++ In-Depth Series). Here are the top ones, ranked by their Reddit score.

C++ Programming Language
C & C++ Programming
Programming Languages
Computers & Technology
Books
A Tour of C++ (C++ In-Depth Series)
Used Book in Good Condition
Check price on Amazon

27 Reddit comments about A Tour of C++ (C++ In-Depth Series):

u/just_had_to_reply · 52 pointsr/cpp

For the salty:

What is the best advice you can give someone just starting a CS education?

Get good at the fundamentals: algorithms, data structures, machine architecture. Learn to use a programming language (or their support system), and not just a language. Work on other major projects.
All the trendy stuff you will learn along the way. When you will be good at the fundamentals, you will be good at games, graphics, web design, networking, security, etc. It’s also beneficial if you know some mathematics.
Here are some links on software, and education.

Hey Bjarne. Which C++ compiler do you use?

GCC or Microsoft, soon Clang (again) as well. To be certain and achieve portability it’s better to use more than one. When I teach students it’s always Linux, Windows AND Apple.

Hey Bjarne. Have you heard of Mozilla's newly developed Rust programming and, if so, what is your opinion about it? It seems to me that it could be a really good competitor to C ++, with, among other easily guaranteed memory safety and safe parallelism .

I know a little bit of rust, and many other languages, but my work is focused on C++ and the use of C++.

If has long (decades) been my ideal to make C++ completely type and resource safe. We are almost there: http://www.stroustrup.com/resource-model.pdf. It's part of a fairly ambitious program to modernize the C++ use: https://www.youtube.com/watch?v=1OEu9C51K2A and https://github.com/isocpp/CppCoreGuidelines.

All too often C++ is used as if it's still 1990.

What is your opinion about C (and C ++)'s use of null - termination of strings. Opposed to, for example, Pascal. With many security holes to follow. C ++ will of course have to continue using the null - termination for simple strings, in order to remain compatible with C. (/u/kingguru stresses that you have the ability to use std :: string ) https://en.wikipedia.org/wiki/Null-terminated_string#History

I prefer std :: string. It is not zero- terminated and easier to use than char. You get nothing from using char to communicate with C. "Safety" is much more than just using a single type (or not). "Security" has to do with the whole system; a hacker goes after what is now the easiest to break through. As far as I know SQL injection is still language dependent (SQL can be used from any language) and very popular with hackers. C ++ is type and resource safe: http://www.stroustrup.com/resource-model.pdf.

Hey Bjarne. I have heard that you are good at answering emails, etc., I would like to say thank you for coming here to answer our stupid questions ;) My first question is probably one that could trigger a much and too long answer:

  1. If you had the knowledge that you have now when you originally made ​​C ++ - What would you have done differently?
  2. What little popular/known language do you think deserves more love?
  3. I have heard that D is trying to implement the " language " that you often citereret to hiding in C ++ ( " Within C ++, there is a much smaller and cleaner language struggling two get out"), do you think that there is a truth to that statement ?

    Almost every new language would be a "C++" Killer. Almost every language wants to and tries to be "general purpose". Almost every language wants to try and be for "system programming". But that is difficult. C++ is in fact, not quite bad and is still being developed to cope with new problems and clear old problems and feel better. E.g. http://www.amazon.com/Tour-C--Depth/dp/0321958314/ref=asap_bc?ie=UTF8 And with approximately 4.4 million C++ programmers: http://blog.jetbrains.com/clion/2015/07/infographics-cpp-facts-before-clion/. Moreover, it is good that there are many programming languages. The world would be a boring place if there was only one. But, there is no language that is close to being the "little language stored in C++ that wants to get out" as I sometime dream about: http://www.stroustrup.com/hopl-almost-final.pdf

    Edit: Will update if there is any interest in it.
u/bstroustrup · 19 pointsr/Denmark

Naeste ethvert nyt sprog vil vaere en “C++ Killer”. Naesten ethvert sprog der vil vaere “general purpose” maa proeve. Naesten ethvert sprog der vil vaere til “systems programming” maa proeve.
Men der er svaert. C++ er faktiskt ikke helt daarligt og udvikles stadig til at klare ny problement og klare gamle problemener bedre. F.eks., http://www.amazon.com/Tour-C--Depth/dp/0321958314/ref=asap_bc?ie=UTF8 . Og der er ca. 4.4 millioner C++ programmoerer: http://blog.jetbrains.com/clion/2015/07/infographics-cpp-facts-before-clion/ .
I oevrigt er det godt at der er mange programmeringssprog. Verden ville vare mere kedeligt hvis der kun var et.
Men der er ikke et sprog der er taet paa at vaere det “liile sprog gemt I C++ der gerne vil ud” som jeg sommetider droemmer om: http://www.stroustrup.com/hopl-almost-final.pdf .

u/shoalmuse · 17 pointsr/Cplusplus

If you aren’t very familiar with C++, my advice would be to admit it at the outset. Modern C++ is a huge, complicated (and often convoluted) language and they will be able to poke holes in your seeming expertise unless you admit it at the outset. I’ve interviewed people who claim to be a 9 out of 10, but if that is the case you should probably know most of the standard by heart.

That out of the way, I would say that Bjarne’s “Tour of C++” is a great read that can easily be done in a week (I did and I wasn’t cramming for an interview). It gives a nice introduction to modern C++ features for a well-versed programmer coming from another language:
https://www.amazon.de/Tour-C-Depth/dp/0321958314

u/bames53 · 16 pointsr/cpp

This book is more for teaching programming to a beginner than for teaching C++ to an experienced programmer.

Stroustrup has a book aimed at teaching C++ to experienced programmers: A Tour of C++.

u/pjmlp · 12 pointsr/cpp

Get Bjarne's latest book, "Tour of C++", it describes how to write modern safe C++.

http://www.amazon.com/Tour-In-Depth-Series-Bjarne-Stroustrup/dp/0321958314

u/Sgtcuddle · 8 pointsr/ProgrammerHumor

"A Tour of C++" by Stroustrup is great. Only 192 pages but covers a lot things about how to write good modern C++.
https://www.amazon.com/Tour-C-Depth/dp/0321958314

u/bixmix · 7 pointsr/VoxelGameDev

Steps to build your own engine from scratch with no knowledge:

  1. Math: http://amzn.com/0201558025
  2. Programming: http://www.amzn.com/0321751043
  3. Intro Language: http://www.amzn.com/125785321X
  4. C++ Language (Reference Books):
  5. OpenGL Intro: http://opengl-tutorial.org/
  6. OpenGL Reference: http://www.opengl.org/sdk/docs/
  7. Scour the internet for voxel info

    Note: Most people who decide to put together a voxel engine take about 2 years from inception. At the end of the two years, they will have a library they could use to create a game. They've also already made it through the first 4 steps when they start.

    Without a degree program to solidify the concepts, I suspect that the first 4 steps will take at least 2-3 years: about 10-20 hours per week each week.
u/doom_Oo7 · 7 pointsr/cpp

forget everything you learnt in college in programming. Your teachers are so full of shit it's not even funny. Read this book : https://www.amazon.com/Tour-C-Depth/dp/0321958314

u/TemplateRex · 5 pointsr/cpp

Books: First A Tour of C++ and then Effective Modern C++. Website: isocpp.org (it features many blogs, conference announcements, Stackoverflow questions regarding C++11/14).

u/ehochx · 4 pointsr/cscareerquestions

I wouldn't recommend any websites for C++ because most tutorial authors seem to be stuck in the 90s. Take a look at some good books.

A Tour of C++ is pretty short but gives you a good overview over the language and some STL-features.

Scott Meyers wrote some books about best practices.

If you have a bit more time to spend: C++ Primer 5th edition explains pretty much everything (except concurrency). I read the book (took me a month) and was then able to write solid C++11 code.

u/JackAtlas · 3 pointsr/cpp_questions

If you know how to program and even know some C++ already, I suggest reading A Tour of C++ by Bjarne Stroustrup. The book is short and concisely written and gives you a brief introduction to all aspects of (modern) C++. You'll also get a few guidelines on coding style, best practices and language idioms.

u/JAguilon · 3 pointsr/gatech

If you can already program, the most important thing is to get a good handle on modern C++. I can't think of a good class at GT that emphasizes things like smart pointers, multi-threading, or the modern standard lib. I learned from A Tour of C++:

https://www.amazon.com/Tour-C-Depth/dp/0321958314

u/srnull · 3 pointsr/programming

This is useful for those who know what to look for. Otherwise, I don't think it's very useful. Lots of bad, potentially damaging, information is linked to. Just because there are lots (300+) of links doesn't mean they are good.

cppreference.com is listed under "Websites", but should really be a top reference under "standard libraries" or something similar. cplusplus.com is listed ahead of isocpp.org.

In compilers, ICC is ahead of GCC?

The first couple links under "Books" are horrible. These days, you want Stroustrup's A Tour of C++ almost without exception, unless you know that you want Stroustrup's The C++ Programming Language, 4th edition.

And this is just a pet peeve, but I hate UIs that are unaligned rectangles of information. The listing this is based off of, awesome-cpp (in the "awesome-x" series, I guess) is nicer in that sense.

u/mohself · 3 pointsr/cpp_questions

I enjoyed reading A Tour of C++ by Bjarne Stroustrup. It is short of 200 pages, recommended by Herb Sutter in one of his CppCon talks as the bare minimum every C++ programmer should now, and touches the basics of modern C++ (up to C++11).


Scott Meyer's books are highly revered in the industry as well, based on what I have fathomed. I am gonna read this next.

u/huike · 2 pointsr/cpp

I recommend you watch this video:

https://www.youtube.com/watch?v=xnqTKD8uD64

and read this book:

http://www.amazon.com/gp/product/0321958314/ref=ox_sc_act_title_3?ie=UTF8&psc=1&smid=ATVPDKIKX0DER

My personal advice to you is to just start programming. Pick a slightly ambitious project and work really hard on it, that's the best way to learn. Ignore people who tell you that there is only one way to write code and if you don't do it their way you're doing it wrong. Programming shouldn't be that complicated (and it doesn't have to be).

u/ThingsOfYourMind · 2 pointsr/learnprogramming

if you could save up for C++ Primer, its really a good book on C++, I can't recommend it enough.
But for the 15 euro price range, perhaps the A Tour of C++ a book written by the language creator himself.

u/slavik262 · 1 pointr/programming

TC++PL is odd. It's been a while, but I recall it reading more like a texbook or a reference than something you'd read cover to cover - does Stroustrup use it as a texbook at Texas A&M?

A Tour of C++ is better, but AFAIK is mostly a chopped down version of The C++ Programming Language.

u/Chee5e · 1 pointr/learnprogramming

While watching some talks from cppcon Herb Sutter, part of the ISO C++ standards commite, swore on A Tour of C++ by Bjarne Stroustrup who is pretty much the inventor of C++. I didn't read the book, but by the way these kinda important C++ figures talk it about it it should be pretty good, here is the part: http://youtu.be/xnqTKD8uD64?t=5m40s

u/OmegaNaughtEquals1 · 1 pointr/cpp_questions

A Tour of C++ introduces all of the necessary syntax and language constructs needed for someone who is familiar with programming, but is new to C++. Weighing in at less than 200 pages, it manages to do all (if not more) that the bigger introductory books do but with an aim toward people who already know how to program.

u/Ddlutz · 1 pointr/learnprogramming

This is the closest you'll get in the 'conciseness' department. A tour of c++. Great book that is small, covers modern c++ also.

Fortunately you can access most of this free online legally. You can find link to them on the isocpp site here.

u/Voley · 1 pointr/programming

A tour of C++ by Bjarne Stroustrup is pretty nice. It is a condensed version of his larger book. Gives a nice overview.

http://www.amazon.com/A-Tour-C-In-Depth/dp/0321958314/

u/s_ngularity · 1 pointr/arduino

Stroustrup's A Tour of C++ is very good

u/-lq_pl- · 1 pointr/Cplusplus

It does not seem like a good resource to me. It assumes you already know a C-like language and it starts by complaining that C++ is an oversold language and we should all program in Basic. I am only exaggerating a little. It lacks the insight that people like Meyers, Sutter, Alexandrescu or Stroustrup provide. Better learn from the man himself: https://www.amazon.com/Tour-C-Depth/dp/0321958314

u/1Bad · 1 pointr/cpp

A Tour of C++ comes highly recommended for beginners

u/emdeka87 · 1 pointr/cpp
u/phao · 1 pointr/learnprogramming

I can think of two books that surely can help you. They won't teach you C++ to its full capacity, of course, but I think they can get you up to speed.

  • Accelerated C++ - http://www.amazon.com/Accelerated-C-Practical-Programming-Example/dp/020170353X/
  • A Tour of C++ - http://www.amazon.com/Tour-In-Depth-Series-Bjarne-Stroustrup/dp/0321958314/

    They both teach significant aspects of the language while still being small, which are huge achievements for C++ books. Of course they miss a bunch of stuff. You can't become an expert on C++ on 8 months. But, I'm convinced that these books will teach you more C++ than what you'd learn in most (maybe all) college courses out there (considering of course the ones that teach C++).

    Accelerated C++ will go through key language concepts and facilities so you can start writing significant programs even though it won't teach you many language details. It as soon as possible introduces library facilities in C++ that allow you to write interesting programs instead of going through all the details about everything. It also is focus on teaching C++, and not C then C++ enhancements. In general the book makes a lot of effort to teach you useful C++ in 350 pages, so it focus on things that are generally useful, and it misses things that are also useful but less commonly so.

    Accelerated C++ is somewhat old (2000), which is why I think it'd be a good idea to read A Tour of C++ afterwards. This one is by the inventor of the language. He goes through C++'s features (it covers a lot of them... I'm not sure how much % though). Anyway, it impressively covers a lot of the language in 190 pages. The reason why I'm recommending this one is because it covers both C++98 and C++11, and it also goes into language features the first one doesn't.

    So 350 pages of Accelerated C++ with somewhat easy exercises (none that will require you hours of research as far as I remember) and 190 pages of Tour of C++. I think that can teach you a lot of C++ to code machine learning algorithms given you already know those, of curse =).

    Good luck.