how can i clear odds each time? i tried the following and neither worked:
odds = NULL;
odds.clear();
Type: Posts; User: jimlau
how can i clear odds each time? i tried the following and neither worked:
odds = NULL;
odds.clear();
i'm getting an error:
"error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall...
what is the proper syntax in calling this function and returning a string to the main program? do i need to send the string into the function as a variable?
string=function(x);
function(x){...
Yeah, tried that too, but I get an error when compliling.
" 'std' : is not a class or namespace name"
Do I need to add an include statement?
how do I create a function that returns a string? I'm not sure how to declare it in the file header, as coding "string function(int x)" does not work.