summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHans Ole Hatzel <hhatzel@gmail.com>2015-05-20 19:38:11 +0200
committerHans Ole Hatzel <hhatzel@gmail.com>2015-05-20 19:43:41 +0200
commitbad283ee14dadd02f9b21d5fbcff226bfb5c954f (patch)
tree93bfcb8d1ebf0224eaf4b5b20b911390b2db33c6
parent22aae18226b65c23e6ea24f4f0c88bfd2f45ae60 (diff)
[c++/en] Fixed typos.
-rw-r--r--c++.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/c++.html.markdown b/c++.html.markdown
index 66d4aeb1..9f8f5f32 100644
--- a/c++.html.markdown
+++ b/c++.html.markdown
@@ -425,7 +425,7 @@ int main () {
Point up (0,1);
Point right (1,0);
// This calls the Point + operator
- // Point up calls the + (function) with right as its paramater
+ // Point up calls the + (function) with right as its parameter
Point result = up + right;
// Prints "Result is upright (1,1)"
cout << "Result is upright (" << result.x << ',' << result.y << ")\n";
@@ -464,7 +464,7 @@ intBox.insert(123);
Box<Box<int> > boxOfBox;
boxOfBox.insert(intBox);
-// Up until C++11, you muse place a space between the two '>'s, otherwise '>>'
+// Up until C++11, you must place a space between the two '>'s, otherwise '>>'
// will be parsed as the right shift operator.
// You will sometimes see
@@ -712,7 +712,7 @@ Foo f1;
f1 = f2;
```
-Futher Reading:
+Further Reading:
An up-to-date language reference can be found at
<http://cppreference.com/w/cpp>