Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Натальина Елизавета
hw1_2sem
Commits
0e5c7b61
Commit
0e5c7b61
authored
3 years ago
by
Илья Богданов
Browse files
Options
Download
Patches
Plain Diff
Замечания по funcs.cpp
parent
04eb5bad
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hw1_pt1/funcs.cpp
+1
-1
hw1_pt1/funcs.cpp
with
1 addition
and
1 deletion
+1
-1
hw1_pt1/funcs.cpp
+
1
−
1
View file @
0e5c7b61
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets