This week there is a new seminar format - we now move to just two sessions which will mean larger groups, however these will be held in lecture halls with an appropriate capacity! It's important however that you check which room this session is **EVERY WEEK**. ***These sessions are currently scheduled for a few different rooms***
> **This week's quiz can be found here:** https://go.uwe.ac.uk/cppQuiz
>
> [This weeks lecture](https://uwe.cloud.panopto.eu/Panopto/Pages/Viewer.aspx?id=9bd6a8e9-8470-464d-9abc-add000bbe3ae&instance=Blackboard) and [slides](https://blackboard.uwe.ac.uk/bbcswebdav/pid-10055043-dt-content-rid-41743738_2/xid-41743738_2)>
💬 There is now a discord. Join the discord if you want to : [https://discord.gg/V559GVJQnK](https://discord.gg/V559GVJQnK"https://discord.gg/V559GVJQnK") 💬
> Note the following resources are from alternative sources and so not everything shown will align with how we are working (things like using different IDEs and compilers.) They are provided as extra resources for further and more varied explantations on related topics.
@@ -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: