An open API service indexing awesome lists of open source software.

https://github.com/haxpor/cpp_st

Repo contains tests, experiments using C++17
https://github.com/haxpor/cpp_st

cpp cpp17 standard-template-library stl

Last synced: about 2 months ago
JSON representation

Repo contains tests, experiments using C++17

Awesome Lists containing this project

README

          

# Example source files over Godbolt.org

Changed the way of updating examples by using godbolt.org, and keeping track of them into [godbolt_list.md](https://github.com/haxpor/cpp_st/blob/master/godbolt_list.md).

# Example source files

Most of the source files are compiled with (unless noted inside the source file)

`g++ -std=c++17 -Wall -Wextra -pedantic ...`

this is similar and features equivalent if compile with clang, just substitute
`clang` in-place of `g++` for the above command.

then you can execute via `./a.out`.

For the case of MSVC, you can execute the following

`cl.exe /EHsc /std:c++17 /W4 ...`

Most of program is a simple single source file program, thus you can judge by its file name for what
to expect. Otherwise for more complex program, it should be inside a directory. Read comment inside main source file of each program for more information on how to compile (in case it's complicated, or what is it demonstrated).

This is by design not to have any build system.

## Note ##

If any source file needs to access resource at run time, those resource files will be inside `res` directory.