Will someone give me an example of how to pass cin as a parameter in a function.
I am learning about classes and my instructor gave an example that included.
Money a, b, c;
a.Input(cin);
...
Type: Posts; User: dwygal
Will someone give me an example of how to pass cin as a parameter in a function.
I am learning about classes and my instructor gave an example that included.
Money a, b, c;
a.Input(cin);
...
In the example program, I want to read from two files.
The first files works fine but I do not get an output from the second one. I am using Visual C++.
thanks for your help,
dwygal
...