mirror of
https://github.com/huihut/interview.git
synced 2025-07-04 11:00:29 +08:00
[fix] a typo
This commit is contained in:
@ -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';
|
||||
|
||||
|
Reference in New Issue
Block a user