I replaced my while loop with:
while ( !num_list.eof())
{
count=0;
while (count <= 50)
{
num_list >> number;
sum += number;
}
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: thepox Search: Search took 0.04 seconds.
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |