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/output file
input/output file
Sep 16, 2010 at 8:37pm UTC
sami0152
(1)
Write a program that takes its input from a file (stored in Hard Disk) of numbers of type double and outputs the average of the numbers in the file to the screen. The file contains nothing but the numbers of type double separated by blanks. ?????
Sep 16, 2010 at 9:20pm UTC
Albatross
(4553)
http://cplusplus.com/doc/tutorial/files/
^Here ya go.
-Albatross
Topic archived. No new replies allowed.