Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lectures/classes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ Note that an object in C++ may not be an object in the OOP sense!
---
# Member functions

Typically these are declared in the class definition...
Typically these are *declared* in the class definition...

```C++
// complex.hpp
Expand All @@ -269,7 +269,7 @@ If anyone asks, discussion of const is coming up!
---
# Member functions

... and defined out of line
... and *defined* out of line

```C++
// complex.cpp
Expand Down
8 changes: 4 additions & 4 deletions lectures/cpp-intro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Every three years there is a new update to the International Standard
Latest one, C++20, still not fully implemented by an compiler. Major
new features are ranges, coroutines, concepts, and modules

C++23 is still in draft (N4944). Major features likely to include
C++23 is still in draft (N4950). Major features likely to include
networking, string formatting, executors, and consolidation of new
C++20 features

Expand Down Expand Up @@ -253,12 +253,12 @@ __ARCHER2__: You have log in details.

Once connected you need to load the up-to-date compilers:
```
module load gcc/10.2.0
module load gcc/11.2.0
```

???

There are later versions of GCC on ARCHER2 but 10.2.0 is the default version
There are later versions of GCC on ARCHER2 but 11.2.0 is the default version

---
# Getting the source code
Expand Down Expand Up @@ -408,7 +408,7 @@ Go look them up on CPP Reference as you need to

# Strings

The standard library has a class* called `string` that holds a string
The standard library has a class called `string` that holds a string
of text characters.

You have to `#include <string>` to use it which includes the "header
Expand Down