Thread: Beginner at C++
View Single Post
  #1 (permalink)  
Old 10-03-2006, 10:42 PM
swc0671 swc0671 is offline
Newbie
 
Join Date: Oct 2006
Location: in the south
Posts: 1
Credits: 0
Rep Power: 0
swc0671 is on a distinguished road
Default Beginner at C++

I'm just getting started with C++. I have a problem I am trying to write a program for and its hard to do. Maybe someone can help me out a little.
I need to write a program that stores my data in an .dat file. The data will be a given number (int), another given number (int) with a fraction of a whole number (int), and then a cummulative number (int) and a cummulative fraction (int). I have to add the cummulative number till it = 80. Then I know how to output the end.

How many variables am I going to need for this?
When I run my compitler I keep getting the same error "75 C:\Dev-Cpp\assignment5.cpp no match for 'operator>>' in ' (&std::cin)->std::basic_istream<_CharT, _Traits>:perator>>(int&) [with "

That error is where all my troubles start. It gets worse from there. Can anyone tell me what that error message means?

Thanks.
Reply With Quote

Sponsored Links