My String Class

This is a discussion on My String Class within the C++ Programming forums, part of the General Programming Boards category; Ok, ive been fooling around with making my own string class. Basically, overloading << for cout is pretty easy but ...

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    14

    My String Class

    Ok, ive been fooling around with making my own string class. Basically, overloading << for cout is pretty easy but trying to overload the istream >> has not been successful. Any help would be nice, if you want me to post my string class, i will... but its pretty basic.

  2. #2
    Veni Vidi Vice
    Join Date
    Aug 2001
    Posts
    343
    Just as easy but do it backwards with an istream & object insteed. Donīt forget to declare it as a friend or else i will not work.

    Check in the first reply
    Last edited by ripper079; 02-11-2003 at 07:06 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. String Class
    By BKurosawa in forum C++ Programming
    Replies: 117
    Last Post: 08-09-2007, 02:02 AM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 03:39 PM
  3. String issues
    By The_professor in forum C++ Programming
    Replies: 7
    Last Post: 06-12-2007, 10:11 AM
  4. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  5. class object manipulation
    By guda in forum C++ Programming
    Replies: 2
    Last Post: 10-09-2004, 11:43 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21