mirror of
https://github.com/huihut/interview.git
synced 2024-03-22 13:10:48 +08:00
[fix] a typo
This commit is contained in:
parent
456ced1e9a
commit
947c251383
|
@ -62,7 +62,7 @@ int main()
|
|||
{
|
||||
std::array<int, 5> myarray = {2, 16, 77,34, 50};
|
||||
std::cout << "myarray contains:";
|
||||
for(auto it = myarray.begin(); it != myarray.end(); ++i)
|
||||
for(auto it = myarray.begin(); it != myarray.end(); ++it)
|
||||
std::cout << ' ' << *it;
|
||||
std::cout << '\n';
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user