Skip to content

Commit 7357d00

Browse files
fix: assign6 / use c++23
1 parent 0541bd5 commit 7357d00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assign6/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You'll also explore the monadic operations that come with the `std::optional` cl
1212
To run your code, first you'll need to compile it. Open up a terminal (if you are using VSCode, hit <kbd>Ctrl+\`</kbd> or go to **Terminal > New Terminal** at the top). Then make sure that you are in the `assign6/` directory and run:
1313

1414
```sh
15-
g++ -std=c++20 main.cpp -o main
15+
g++ -std=c++23 main.cpp -o main
1616
```
1717

1818
Assuming that your code compiles without any compiler errors, you can now do:
@@ -32,7 +32,7 @@ As you are following the instructions below, we recommend intermittently compili
3232
> On Windows, you may need to compile your code using
3333
>
3434
> ```sh
35-
> g++ -static-libstdc++ -std=c++20 main.cpp -o main
35+
> g++ -static-libstdc++ -std=c++23 main.cpp -o main
3636
> ```
3737
>
3838
> in order to see output. Also, the output executable may be called `main.exe`, in which case you'll run your code with:

0 commit comments

Comments
 (0)