From 59dce3ea91e3e7a856bdfd53803b640690d80d05 Mon Sep 17 00:00:00 2001 From: Nathan <nathan@druids.tech> Date: Mon, 23 Oct 2023 12:23:48 +0100 Subject: [PATCH] week 10 --- worksheets/worksheet3/worksheet3.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/worksheets/worksheet3/worksheet3.md b/worksheets/worksheet3/worksheet3.md index d5483ff..ac062c8 100644 --- a/worksheets/worksheet3/worksheet3.md +++ b/worksheets/worksheet3/worksheet3.md @@ -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: -- GitLab