Search:

Type: Posts; User: Angermanaged

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,532

    thank

    thank you i will look into rewriting it
  2. Replies
    3
    Views
    1,532

    How come this is happening?

    I am trying to rewrite the string class and i am having a little trouble overloading all the rational operators. Here is the code i have for the less than operator.

    length is an integer that...
  3. Replies
    3
    Views
    1,072

    Works no problem

    Thank you both for the help. It is working fine now.
  4. Replies
    3
    Views
    1,072

    Why the error

    Hi im kinda new to c++ and I can't seem to fix this compile error.
    insert

    char String::c_str()
    {
    char* cs;
    cs = new char[length+1];
    strcpy(cs,first);
    return cs;
    }
Results 1 to 4 of 4