Tag: cpp

Uncategorized

c++ in docker and VS Code

https://code.visualstudio.com/docs/remote/containers

https://code.visualstudio.com/docs/remote/containers-tutorial

g++ main.cpp -o main.out

mkdir build && cd build && cmake .. && make test
cd build && cmake .. && make test
cmake .. && make test

docker container ls --all
docker exec -it quizzical_banach /bin/bash

docker ps -a
docker start NAME

docker container ls // running

// visual studio notifies if to reopen the workspace in container...

apt list --installed