Hello, I just started learning vectors recently and i just wanted to test my skills... I wanted to make a simple programme where you type in the money u have put away for savings and each time u enter amount, it's stored in the memory and when you're finished it shows u a total.
I wrote the code which i'm not sure is right. The code doesnt want to compile and the compiler tells me that there are 2 syntax errors. I dont think that's the problem though cause for me there no ';' missing at all... :S
1>c:\users\mashikag\documents\visual studio 2008\projects\savings\savings\file.cpp(16) : error C2143: syntax error : missing ';' before ')'
1>c:\users\mashikag\documents\visual studio 2008\projects\savings\savings\file.cpp(16) : error C2143: syntax error : missing ';' before ')'
Thanks alot. How could i missed that out :S yesterday i spent like an hour just looking at it and trying to find the solution... O_o I really apreciate it!