https://github.com/lostjared/cplusplus11.examples
C++11 Examples
https://github.com/lostjared/cplusplus11.examples
cplusplus-11 examples
Last synced: 8 months ago
JSON representation
C++11 Examples
- Host: GitHub
- URL: https://github.com/lostjared/cplusplus11.examples
- Owner: lostjared
- License: unlicense
- Created: 2016-05-08T16:19:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-04T03:10:35.000Z (over 1 year ago)
- Last Synced: 2025-04-10T01:08:11.481Z (8 months ago)
- Topics: cplusplus-11, examples
- Language: C++
- Homepage: https://www.youtube.com/playlist?list=PLUgo--lX2kmqPQ5C8jRfy6RZVKHFqN7Zz
- Size: 5.79 MB
- Stars: 54
- Watchers: 9
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jared Bruni's C++11 Examples
This collection is my way of navigating through, and reinforcing my understanding of, C++11's new functionalities. I no longer plan to write a repository for C++14 as I have one for C++17.
The primary purpose of these examples is to showcase specific C++11 features rather than to provide practical utility. However, a few examples are designed to address real tasks, such as creating m3u playlists or generating HTML for CGI applications.
Included among the examples is a calculator that parses expressions, reminiscent of the one featured in "The C++ Programming Language" 4th Edition.
## Compilation Instructions:
### For MacOS X:
```
$ make
```
### For Linux:
```
$ make -f Makefile.linux
```
## Compilation Note:
Ensure your compiler is C++11 compatible. When using clang, for instance, compile a source file with:
```
clang++ -std=c++11 sourcefile.cc -o sourcefile
```
On Linux, opt for libstdc++ and use g++ version 4.8 or newer. Compiling any program requires just a single line:
```
g++ -std=c++11 sourcefile.cc -o sourcefile
```
- Jared Bruni