background preloader

C++

Facebook Twitter

C++ faq - The Definitive C++ Book Guide and List. Version 1.0 is out! | The Rook's Guide to C++ The Boost C++ Libraries. Software optimization resources. C++ and assembly. Windows, Linux, BSD, Mac OS X. See also my blog Contents Optimization manuals This series of five manuals describes everything you need to know about optimizing code for x86 and x86-64 family microprocessors, including optimization advices for C++ and assembly language, details about the microarchitecture and instruction timings of most Intel, AMD and VIA processors, and details about different compilers and calling conventions.

Operating systems covered: DOS, Windows, Linux, BSD, Mac OS X Intel based, 32 and 64 bits. Note that these manuals are not for beginners. 1. Optimizing software in C++: An optimization guide for Windows, Linux and Mac platforms This is an optimization manual for advanced C++ programmers. 2. This is an optimization manual for advanced assembly language programmers and compiler makers. 3. This manual contains details about the internal working of various microprocessors from Intel, AMD and VIA. 4. 5.

All five manuals Download all the above manuals together in one zip file. C++ vector class library. CIS Department > Tutorials > Software Design Using C++ Ods-cpp.pdf. Www.jjj.de/fxt/fxtbook.pdf. Learn C++ Ptgmedia.pearsoncmg.com/images/9780131879058/downloads/0131879057_Ezust_book. How to Think Like a Computer Scientist. Google C++ Style Guide. Definition: Streams are a replacement for printf() and scanf(). Pros: With streams, you do not need to know the type of the object you are printing. You do not have problems with format strings not matching the argument list.

(Though with gcc, you do not have that problem with printf either.) Streams have automatic constructors and destructors that open and close the relevant files. Cons: Streams make it difficult to do functionality like pread(). Some formatting (particularly the common format string idiom %. *s) is difficult if not impossible to do efficiently using streams without using printf-like hacks. Decision: Do not use streams, except where required by a logging interface. There are various pros and cons to using streams, but in this case, as in many other cases, consistency trumps the debate. Extended Discussion There has been debate on this issue, so this explains the reasoning in greater depth. Cout << this; // Prints the address cout << *this; // Prints the contents.

Game Programming Patterns. Financial Numerical Recipes (in C++) Data Structures and Algorithms with Object-Oriented Design Patterns in C++ C++ Succinctly. C++ GUI Programming With Qt 3 - Free Book Download. Staff.ppu.edu/dkhalid/O'Reilly - C++ Cookbook %282007%29.pdf. C++ Annotations 9.8.2.