Home Forums Programming help with codes, can’t spot mistakes Reply To: help with codes, can’t spot mistakes

#45686
Anonymous
Inactive

[code:1:1a4537ef67]
#include <string>

using namespace std;
[/code:1:1a4537ef67]

or else use

[code:1:1a4537ef67]
std::string tostring()
[/code:1:1a4537ef67]

string is defined in the std namespace which you need to specify in your code.

Hope that helps..