Fork me on GitHub

Project Notes

#045 C++

My place for notes on C++ resources and references.

Notes

Just a place for notes on C++ resources and references…

Running on MacOS

Apple’s XCode ships with their LLVM release and Clang.

$ g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Clang actually ships with two version of the standard library:

  • Libc++, the LLVM/Clang’s standard C++ library (default)
  • Libstdc++, the GNU standard C++ library that comes standard in Linux (officially deprecated)

Compilation can select the library (and C++ version) with command line switches:

g++ -std=c++17 -stdlib=libstdc++ ...
g++ -std=c++17 -stdlib=libc++ ...

Resources

About LCK#45 C++
Project Source on GitHub Return to the Project Catalog

LittleCodingKata is my collection of programming exercises, research and code toys broadly spanning things that relate to programming and software development (languages, frameworks and tools).

These range from the trivial to the complex and serious. Many are inspired by existing work and I'll note credits and references where applicable. The focus is quite scattered, as I variously work on things new and important in the moment, or go back to revisit things from the past.

This is primarily a personal collection for my own edification and learning, but anyone who stumbles by is welcome to borrow, steal or reference the work here. And if you spot errors or issues I'd really appreciate some feedback - create an issue, send me an email or even send a pull-request.

LittleArduinoProjects LittleModelArt More on my blog