Computer Science

Faculty of Engineering, LTH

Denna sida på svenska This page in English


An assortment of (hopefully) interesting web pages.

Bjarne Stroustrup, the inventor of C++ and the greatest C++ guru  Bjarne's homepage. A number of good documents, for example C++ Style and Technique FAQ.  
The ISO C++ committee

The homepage for standard C++
The C++ core guidelines
The C++ super-FAQ

You have to pay for the  published C++ standard, but the final draft for the C++-11 standard is freely available. (see this question on stack overflow for more info)

On the web: C++ books, introductions, magazines, FAQ's   Herb Sutter's (the chair of the ISO C++ standards committee) blog series: Guru of the week (with interesting programming problems).  

University of Wisconsin: C++ tutorial for Java programmers (rather trivial and tiresome). 

Dr. Dobb's Journal sometimes has good C++ articles. has lots of information.
C++ FAQ Lite.  C++ Style and Technique FAQ (Stroustrup).

Real printed books. Read user reviews on Amazon or on wiki.  Scott Meyers has written four very good books (Effective C++, More Effective C++, Effective STL, Effective Modern C++). The latter contains, among other things, detailed explanation of auto type deduction and rvalue references.

The gdb manual is available as a pdf and a  web page.

For an introduction to lldb, see
Apple has a table of equivalent gdb/llvm commands.

C++ compilers. We cannot advise on choosing or help with installation of compilers.

Compiler list from  

Compiler explorer, a website that lets you compare the code generated by different compilers (or different compiler flags)

The list of warning options from the GCC documentation is also a list of mistakes to look out for.

STL, C++ and C library documentation.  Full references: and
About the C library: also try the manpages.  


Obfuscated C  

The obfuscated Twelve Days of Christmas program is an example of code one can -- but shouldn't -- write: poem.c. Compile and link with gcc -o poem poem.c, run with ./poem.

See also: Reverse Engineering the Twelve Days of Christmas.  

This kind of programs compete in The International Obfuscated C Code Contest