Commit 0e5c7b61 authored by Илья Богданов's avatar Илья Богданов
Browse files

Замечания по funcs.cpp

parent 04eb5bad
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -13,7 +13,7 @@ int RandomNumber () { return (-50 + rand()%100); }
fstream CreateData_2()
{
fstream outf("2.txt");;
ostream_iterator<int> intOut (outf , " " );
ostream_iterator<int> intOut (outf , " " ); //!!! По заданию в функциях не должно быть предположений о типах.
vector <int> tmp(100);
generate(tmp.begin(), tmp.end(), RandomNumber);
copy (tmp.begin(), tmp.end(), intOut);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment