Quote Originally Posted by dwks
Code:
string session::get_setting(string name) {
	//sth
	return 0;
}
I'm not sure 0 is a valid string . . . try returning "".
Yeah, you're right.. Seems like string cant return 0.. What would be the right approach to do that kind of function? Im used to return pointer to char string and 0 on error.