Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 452 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 452 Bytes

CppMath

Building in docker container

If you have not already built the Docker container, use the following:

docker build -t cpp-container .

Once you have a built Docker container, run it interactively:

docker run -v "$(pwd)":/usr/src -it cpp-container sh

Then -- inside of the container -- compile the program:

g++ main.cpp

and if it compiles successfully, run it with ./a.out

To exit the container, type exit