1

!rant

First, a little bit of background info: I'm currently studying a programming course (Where I was *supposed* to get to choose language myself, but was forced to do it all in C++ which I had no prior knowledge of, but that's a rant post of its own.) and the final exam is coming up. I'm allowed to bring with me a book on C++ for this, so my question was if there are any good recommendations?

Primarily I'd prefer something that is as close to a physical copy of documentation stuff as possible, since that's what I'm going to need the most.

The books I've been looking at so far (and that look the most promising) are "The C++ Standard Library" by Nicolai M. Josuttis (ISBN: 978-0321623218) and "The C++ Programming Language" by Bjarne Stroustrup (ISBN: 978-0321958327). Thoughts and/or opinions? :/

Comments
  • 1
    I can recommend the second one. It's very throrough and explains the language well.
    For the exam I'd strongly suggest you make a summary of the syntax parts you are either uncertain or don't know by heart and add page markers to the book, since it's pretty thick and can lead to some searching/page fiddling.
  • 1
    @PonySlaystation How is it on just straight up documentation? :/ Because my biggest problem right now is just that I don't know what tools are available to me, so to speak. (Think like modules for Python, e.g. the datetime module, and what functions it provides and how to use and apply them correctly with datetime objects.)

    I'm sorry if it seems like I'm questioning your advice btw, that's certainly not the case, I just want to be as close to 100% sure as I can get before buying it since these books are quite pricey. :(
  • 0
    It's just documentation about the C++ language/syntax, no API/framework documentation.
    If you need e.g. docs about the STDLIB then this is the wrong book for you. 😉
  • 0
    @Navigatr If you have a big bookstore nearby, I'd recommend to go there and look for some C++ related books like the Stroustrup one and look if it fits your needs.

    Some online stores also give you extracts of the books.
  • 1
    @PonySlaystation I see. :o You don't happen to know of a book that would cover stuff like that, would you?

    (And believe me, I know that the easiest way to get documentation is online, but ofc internet access means I'll just be cheating my way through the entire test. I wish the temp was the teacher instead, he's apparently a web dev and actually knew what the compiler flags stuff was, unlike the actual teacher. ... Sorry, I just really hate that teacher. :I)
  • 0
    @Navigatr Understandable...
    What does your test cover?

    - Syntax?
    - Compiler flags?
    - stdlib?
    - What kind of algorithms?
    - Are the needed parts of standard lib function documentation attached to the test?

    Maybe @FrodoSwaggins can help.
    But I think you won't come around without writing your own summary.
  • 0
    @PonySlaystation See, that's where my issue lies, the course is just a VERY generic "Programming 1" (in which, imo, C++ is maybe not the best first choice of language), and the assignments haven't been very relevant to each other at all. It's very basic stuff though, mostly "take user input, handle the provided data, return output".
  • 1
    @PonySlaystation Oh, and since the teacher didn't know how to apply the compiler flags I don't think that I'm expected to use those. (Which I feel like just means you end up with clunky code.)
  • 1
    @Navigatr Ok, then it's best you print out the documentation pages about the functions you actually or probably will need and add those to your summary.
Add Comment