@@ -34,8 +34,8 @@ In this session, we will need to create a project from scratch.
cd Documents/programming-in-cpp/
#create a new directory
mkdir session2
cd seminar2
mkdir worksheet3
cd worksheet3
```
In this directory we should create a ```.cpp``` file for each task. Each will contain a main function and can be compiled by selecting it and building (```ctrl + shift + b```).
...
...
@@ -84,16 +84,9 @@ Try adding the print statement above to the body of the main function and compil
To run the program, use ```./``` followed by the name of the newly created executable (which will take the name of the file it is created from)
> Shortcut: use ```ctrl``` + ``` ` ``` to open a terminal in VS Code
```bash
# On windows probably:
.\tasks.exe
# or
.\main.exe
# On linux/osx probably:
#probably somthing like (depending what you named it):
./tasks
# or
./a.out
...
...
@@ -262,7 +255,6 @@ int main(){
```
# Tasks
For this worksheet, a single file for each program will be created, meaning you will create the following files yourself: