Search:

Type: Posts; User: IDK_22

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    2,718

    thank you very much. my error is gone. i...

    thank you very much. my error is gone. i appreciate it.
  2. Replies
    6
    Views
    2,718

    converting to 'int' from 'double'

    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?
    ...
  3. Replies
    4
    Views
    1,279

    ok. thank you. i was able to fix that problem...

    ok. thank you. i was able to fix that problem with the help i received.
  4. Replies
    4
    Views
    1,279

    class member function problem

    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...
  5. Thread: out of bounds

    by IDK_22
    Replies
    10
    Views
    1,667

    YES!! that's it. I am eternally grateful....

    YES!!
    that's it.
    I am eternally grateful.
    Thank you.
  6. Thread: out of bounds

    by IDK_22
    Replies
    10
    Views
    1,667

    string parseColor(string) { int index1,...

    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...
  7. Thread: out of bounds

    by IDK_22
    Replies
    10
    Views
    1,667

    I changed the variable to be a global variable...

    I changed the variable to be a global variable but i am still getting the same error message.
  8. Thread: out of bounds

    by IDK_22
    Replies
    10
    Views
    1,667

    OOPs the line should have read: ...

    OOPs

    the line should have read:



    info=parseColor(s);
  9. Thread: out of bounds

    by IDK_22
    Replies
    10
    Views
    1,667

    using namespace std; string...

    using namespace std;

    string parseColor(string);

    int main ()
    {
    string s;
    string info;
    string info2;
  10. Thread: out of bounds

    by IDK_22
    Replies
    10
    Views
    1,667

    out of bounds

    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'
    ...
Results 1 to 10 of 10