Hello, i am a beginner in c++, and here is my program.
i'm using Visual c++ 6.0, and i have no error during "compiling", unfortunately, i got 2 errors during "building".
it is the first time that having error while "building".
please help me.
here is my program.
and here is the file that the program need to read into it.
You omitted the second & in the function prototype on line 15 of your program.
Fix that & it compiles & runs fine. (I didn't check the arithmetic.)
When you get an "unresolved external" error, look for a problem in a function signature.
thanks a lot.
the program works now