Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121853650
ifstream.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jul 14, 10:14
Size
291 B
Mime Type
text/x-c
Expires
Wed, Jul 16, 10:14 (2 d)
Engine
blob
Format
Raw Data
Handle
27401618
Attached To
R9360 PCSC_git
ifstream.cpp
View Options
#include <cassert>
#include <fstream>
#include <iostream>
int
main
(
int
argc
,
char
*
argv
[])
{
double
x
[
6
],
y
[
6
];
std
::
ifstream
read_file
(
"Output.dat"
);
assert
(
read_file
.
is_open
());
for
(
int
i
=
0
;
i
<
6
;
i
++
)
{
read_file
>>
x
[
i
]
>>
y
[
i
];
}
read_file
.
close
();
return
0
;
}
Event Timeline
Log In to Comment