Search:

Type: Posts; User: obeeey

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    459

    Thank you laserlight. The old way worked! Unless...

    Thank you laserlight. The old way worked! Unless I find other problems, everything works for now. :) I changed some assumptions about the content size and made it a little easier for me. Thanks again!
  2. Replies
    7
    Views
    459

    Thank you again for answer. Everything is fine...

    Thank you again for answer. Everything is fine except the assignment operator now.
    It looked like this:


    typeString& typeString::operator =(const typeString& source)
    {
    copy(source);
    ...
  3. Replies
    7
    Views
    459

    Thank you @laserlight for your deep answer, it's...

    Thank you @laserlight for your deep answer, it's really nice to know exactly what's wrong there. I wrote copy operator and copy assignment, this is how it looks:


    void myString::copy(const...
  4. Replies
    7
    Views
    459

    Problem with implementation string class

    Hello :)
    I've got a task to write a simple prototype of string class, but unfortunately I have no idea how to do some things.
    This is how it looks now:



    #include <iostream>


    class...
Results 1 to 4 of 4