Live data from Hacker News

Essential C

cslibrary.stanford.edu

1–10 of 57 posts

Re: Essential C

#2
Essential C doesn't mention a standard but it says Copyright 1996-2003. I'm going guess it hasn't been updated for C11.

Modern C [1] covers C11 and was mentioned before. However, it weighs in at 300 pages rather than Essential C's 45.

[1] http://icube-icps.unistra.fr/img_auth.php/d/db/ModernC.pdf

Actually, reading through Essential C, it hasn't really been updated for C99 since it uses C89 declarations:

  C takes the middle road -- variables may be declared
  within the body of a function, but they must follow a
 '{'. More modern languages like Java and C++ allow you
  to declare variables on any line, which is handy.

Re: Essential C

#3
I recently started a graduate course that originally required C++. My only exposure to C++ basically went through the fundamentals of the C part without getting to any of the ++.

Is there something similar to this for C++? I understand that C++ is a much larger language and I'm definitely not looking for something comprehensive, more of a solid overview of a workable subset of the language. Enough to be productive, produce reasonably modern idiomatic code that can be improved or expanded in the future.

In the end, the graduate course ended up using Python, but I'm still somewhat curious about modern C++.

Re: Essential C

#5

I recently started a graduate course that originally required C++. My only exposure to C++ basically went through the fundamentals of the C part without getting to any of the ++. Is there something similar to this for C++? I understand that C++ is a much larger language and I'm definitely not looking for something comprehensive, more of a solid overview of a workable subset of the language. Enough to be productive, p…

In a similar situation, I constructed a crash course using a combination of Accelerated C++, for succinctness & idiomatic C++, and Statistical Computing in C++ and R, for language features relevant to my graduate field.

Re: Essential C

#6

I recently started a graduate course that originally required C++. My only exposure to C++ basically went through the fundamentals of the C part without getting to any of the ++. Is there something similar to this for C++? I understand that C++ is a much larger language and I'm definitely not looking for something comprehensive, more of a solid overview of a workable subset of the language. Enough to be productive, p…

I'd recommend A Tour of C++, by Bjarne Stroustrup. http://www.stroustrup.com/Tour.html

Re: Essential C

#8

I recently started a graduate course that originally required C++. My only exposure to C++ basically went through the fundamentals of the C part without getting to any of the ++. Is there something similar to this for C++? I understand that C++ is a much larger language and I'm definitely not looking for something comprehensive, more of a solid overview of a workable subset of the language. Enough to be productive, p…

Word of advice. Don't learn any of the OOP stuff in C++, many learned it, but later they had to unlearn it. Search for data oriented design.
Post reply on HN