cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
input files
input files
Mar 15, 2014 at 6:56am UTC
stdeez
(70)
Given this input:
5
4
1 2 45
1 3 4
2 3 16
2 4 6
3 4 8
How do I read in the 5 and store it in an int variable?
Mar 15, 2014 at 7:11am UTC
Yanson
(885)
1
2
int
myInt; filestream >> myInt;
Topic archived. No new replies allowed.