Skip to content

OpenKikCoc/deployment-cpp-codespace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deployment-cpp-codespace

Docker deployment for cpp codespace.

1. Set up workspace

Set up the docker by:

$ ./workspace-docker.sh

The current directory is mounted on /work

/work # ls
Dockerfile           README.md            src
LICENSE              compile.sh           workspace-docker.sh

2. Code

  1. Edit in src

vi src/main.cpp

  1. Run compile.sh

./compile.sh

Get the executable binary file:

main

  1. Execute

./main

Hello Binacs!

3. TODO

Files I/O.