This program is supposed to read a file of this format:
string int int char
for example;
add 26 12 M
And then move cursor to the right coordinates and print out the character
But I get this error at line 34:
1>c:\documents and settings\drago\desktop\mislav\console learning project\console-learning-project\replay\src\main.cpp(34) : error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
But if I comment it out I get
1>c:\documents and settings\drago\desktop\mislav\console learning project\console-learning-project\replay\src\main.cpp(47) : error C2065: 'Replay' : undeclared identifier
1>c:\documents and settings\drago\desktop\mislav\console learning project\console-learning-project\replay\src\main.cpp(47) : error C2228: left of '.close' must have class/struct/union
1> type is ''unknown-type''
Which doesnt make much sense to me beacuse at line 13 ifstream Replay(argv[1]);
This is the whole thing: