thank you very much. my error is gone. i appreciate it.
Type: Posts; User: IDK_22
thank you very much. my error is gone. i appreciate it.
How do I fix the following problem?
I am not intentionally using a double but I'm guessing the function sqrt() in the cmath library is a double because this is the line the error occurs on?
...
ok. thank you. i was able to fix that problem with the help i received.
I am working on a class member function and am getting a couple of error messages that I don't understand.
I am getting the following error messages:
error 1 I think is because I'm performing a...
YES!!
that's it.
I am eternally grateful.
Thank you.
string parseColor(string)
{
int index1, index2, index3;
unsigned int index4;
int index5, index6,index7;
int index_Gr1,index_Gr2;
int index_R1,index_R2,index_R3,index_R4;
int...
I changed the variable to be a global variable but i am still getting the same error message.
OOPs
the line should have read:
info=parseColor(s);
using namespace std;
string parseColor(string);
int main ()
{
string s;
string info;
string info2;
I am trying to pass a string to a function and return the string to the main function.
I keep getting the following error:
terminate called after throwing an instance of 'std::out_of_range'
...