Thread
:
Problems with reading from a sequential file
View Single Post
•
•
Join Date: Apr 2008
Posts: 160
Reputation:
Solved Threads: 12
dmanw100
Offline
Junior Poster
Re: Problems with reading from a sequential file
0
#
2
Sep 3rd, 2008
Two tips: first, you have commented that there is an end to a while loop where the three temps are entered, but there is no loop and I have had problems using fstream. You can declare it as "fstream myFileInput("input.txt"); without the ios::out.
dmanw100
View Public Profile
Find all posts by dmanw100