We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09ba2d8 commit a5b38b9Copy full SHA for a5b38b9
1 file changed
cpp08/ex00/src/main.cpp
@@ -16,12 +16,12 @@ main ()
16
print (
17
GREEN SUB_TITTLE
18
"easyfind() must throw an exception if element is not found\n" RESET);
19
- std::deque<int> vec;
+ std::deque<int> deq;
20
for (int i = 0; i < 10; i++)
21
- vec.push_back (i);
+ deq.push_back (i);
22
try
23
{
24
- print (YELLOW "Element found: " RESET << *easyfind (vec, 500));
+ print (YELLOW "Element found: " RESET << *easyfind (deq, 500));
25
}
26
catch (std::exception &e)
27
0 commit comments