Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Re-learn modern C++ resources?

Tags:

c++

resources

I haven't touch C++ in more then 8 years. I recently had to do fix some C++ code, and although I still can code, I feel like I no more belongs to the camp of C++ programmers. I don't know any libraries, didn't pay attention to the new language features / improvements / best practices.

Qt Creator and Qt seems like a nice toolset for what I need now, since I'm interested mostly in cross platform development.

What would be good resources for someone like me to quickly re-learn C++ and best practices in shortest period of time?

I have been doing mostly java and common lisp in the meantime, with a short strides to C, flex, Scala and Haskell.

like image 861
Marko Avatar asked Jun 02 '09 20:06

Marko


3 Answers

Read :

  • Effective C++
  • More effective C++
  • Effective STL
  • Exceptional C++
  • C++ coding standards

Those are references books on C++ that resume all the modern effective pratices, philosophies and knowledge on C++ (without going into Meta-Programmation stuff).

Then if you want to go farther, read :

  • Modern C++ Design - this one is known to blow minds...
  • C++ Template Metaprogramming

About libraries: first learn about the STL and learn to use Boost as a "standard" STL extension.

like image 130
Klaim Avatar answered Nov 08 '22 20:11

Klaim


Get to know the S.tandard T.emplate L.ibrary.

Get to know boost, if you are really on the cutting edge.

Read the books "effective c++", and "effective STL" by scott meyers.

Read the "C++ faq lite".

(not necsissarily in that order)

like image 26
Ape-inago Avatar answered Nov 08 '22 20:11

Ape-inago


If you're into GUI development, go with Qt. It's the best out there, and the price is right. It deviates somewhat from hard standards; but not without reason, and even so, it makes some efforts to use similar coding styles where appropriate.

If you're more into CLI, or server processes, Qt can still help; but it doesn't have so big an advantage. There it would be more productive to go with STL and (specially) Boost.

like image 39
Javier Avatar answered Nov 08 '22 18:11

Javier