I'm using std::string, yes. But I'm trying to return an integer value back to my function, so why would it pass an address if that is the case?