Through a modern tour of the language and library, its contents answer the question: What is the basic knowledge that we should be able to assume from a competent C++ programmer? The new concise A Tour of C++ by Bjarne Stroustrup is the go-to book to answer "what is the book of what you should assume everyone knows about C++?" Thousands of college freshmen taking Stroustrup's hugely popular Introduction to Programming class at Texas A&M University, and innumerable readers around the world, have learned programming and launched their careers using this book - and modern C++.Īre you looking for "the" one-stop overview of C++? Programming: Principles and Practice Using C++, 2nd Ed. is an introduction to programming written by the creator of C++, Bjarne Stroustrup.
Stroustrup's authoritative "Tour of C++" is a great "lap around C++" by the creator himself, Bjarne Stroustrup. Some are compile-only to let you check whether your code is legal, and some let you also run your test programs to see their output. Or try one of these online compiler pages, which offer a range of compilers including the latest from Clang, GCC, Intel, and Microsoft. IBM XL C/C++ Compiler: A Clang-based Community Edition is available for Linux on Power, free for production use.Oracle Solaris Studio C++ Compiler : A C++ compiler for Solaris and some distributions of Linux, free for all commercial and non-commercial use.Embarcadero: A free Clang-based C++ compiler by Embarcadero.Visual C++ 2017 Community: A free Windows C++ compiler by Microsoft.Clang: A new open-source C++ compiler for various platforms.A build for Windows is available here, builds for other platforms are likely available via your platform's package manager, or you can build it yourself using instructions here. Gnu Compiler Collection: Includes g++, a popular C++ compiler.
There are good free C++ compilers available for all major OS platforms.