Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: c++ newb help

  1. #11
    Senior Member
    Join Date
    Nov 2001
    Posts
    257
    To preserve encapsulation you'll have to pass the size of each character string.

    make = new char[size];
    *make = *a;

    And repeat for the others.
    -Shkuey
    Living life one line of error free code at a time.

  2. #12
    Thankyou very much . everyone

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •