tkaleas / cpp-sandbox

Sandbox for C++ code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coding Sandbox for C++

Repo contains solutions for data structures and problem solving in C++.

Makes use of some parts of SĂ©bastien Rombauts Cpp-Skeleton for basic utility functions such as timers, and includes the Catch headers as a test suite.

Visual Studio 2017 projects and solution files can be created using CMake and build.bat script or:

mkdir build
cd build
cmake .. -G "Visual Studio 15 2017 Win64"

Notes

  • Ctrl + F5 in visual studio
  • Redirection :
program.exe <infile >outfile

CMake

build.bat and build.sh scripts should build automatically for VS2017, but in case you want to customize the visual studio version or build with another version or compiler, I have found the VSCode CMake utilies very helpful

Links

CMake Visual Studio Guide C++ Primer Exercises

About

Sandbox for C++ code.

License:MIT License


Languages

Language:C++ 99.2%Language:CMake 0.6%Language:Shell 0.1%Language:Batchfile 0.0%Language:C 0.0%