Skip to content

Commit

Permalink
Update ex3_18.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooophy committed Jun 19, 2015
1 parent 8ccc528 commit bd02ee5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ch03/ex3_18.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
#include <vector>

using std::vector;

int main()
{
vector<int> ivec{0};
ivec[0] = 42;
return 0;
std::vector<int> ivec{ 42 };
return 0;
}

0 comments on commit bd02ee5

Please sign in to comment.