Thread: file operation
View Single Post
  #1  
Old 08-24-2009, 11:54 PM
C++ C++ is offline
Senior Member
 
Join Date: Jun 2009
Posts: 18,248
Default file operation

Hi all,I am having problem about file operations. There are a few numbers in my txt file. I want the program to calculate average of these numbers in the txt file. The code I have written is as below. Number of numbers in the file is 5. When I return count it returns 5 .The sum of numbers should...
__________________
C++
domain name forum
Reply With Quote