From 0e5c7b6183e85ffa4ac671f3bf0102c78d3e5588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=20=D0=91=D0=BE=D0=B3=D0=B4=D0=B0?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2?= Date: Mon, 20 Dec 2021 18:42:17 +0000 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=BC=D0=B5=D1=87=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=BF=D0=BE=20funcs.cpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw1_pt1/funcs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw1_pt1/funcs.cpp b/hw1_pt1/funcs.cpp index fb60e8a..ad8dafa 100644 --- a/hw1_pt1/funcs.cpp +++ b/hw1_pt1/funcs.cpp @@ -13,7 +13,7 @@ int RandomNumber () { return (-50 + rand()%100); } fstream CreateData_2() { fstream outf("2.txt");; - ostream_iterator intOut (outf , " " ); + ostream_iterator intOut (outf , " " ); //!!! По заданию в функциях не должно быть предположений о типах. vector tmp(100); generate(tmp.begin(), tmp.end(), RandomNumber); copy (tmp.begin(), tmp.end(), intOut); -- GitLab