File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -79,13 +79,13 @@ using namespace std;
7979
8080int main ()
8181{
82- vector<int > v;
83- v.push_back(67);
82+ vector<int> v;
83+ v.push_back(67);
8484
85- int i = v[ 0] ;
86- cout << i << endl;
85+ int i = v[0];
86+ cout << i << endl;
8787
88- i = v[ 1] ; //triggers invalid parameter handler
88+ i = v[1]; //triggers invalid parameter handler
8989}
9090```
9191
@@ -105,9 +105,9 @@ using namespace std;
105105
106106int main ()
107107{
108- vector<int > v;
108+ vector<int> v;
109109
110- int& i = v.front(); // triggers invalid parameter handler
110+ int& i = v.front(); // triggers invalid parameter handler
111111}
112112```
113113
@@ -134,7 +134,8 @@ void print(const string& s, const C& c)
134134{
135135 cout << s;
136136
137- for (const auto& e : c) {
137+ for (const auto& e : c)
138+ {
138139 cout << e << " ";
139140 }
140141
You can’t perform that action at this time.
0 commit comments