Thread: Pointing !

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Burning in Hell! Luigi's Avatar
    Join Date
    Nov 2002
    Posts
    117

    Pointing !

    Im doing this calulator app and I have a little problem with the parser..

    the main function is calling the parser for each char entered..

    when I was using cin.get(ch) everything was going perfectly...

    But Now im trying to use istringstream instead.
    But it keeps pointing at the same char?

    why cin.getr will go to next char but ist.get(ch) wont?

    Here is the stream that I use:

    istringstream ist(temp_string);
    ist.get(ch)

    Or d/l the full code :
    Last edited by Luigi; 04-07-2003 at 10:39 PM.
    Luigi


    // I use Xcode 1.1 && CodeWarrior 8.3
    // When on Mac Os X 10.3.2

    // I use Microsoft Visual C++ 6.0
    // When on windows XP

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Pointing to arbitrary location
    By elmutt in forum C Programming
    Replies: 2
    Last Post: 02-28-2008, 06:30 AM
  2. Objects pointing to each other
    By ldb88 in forum C++ Programming
    Replies: 3
    Last Post: 05-18-2007, 08:18 PM
  3. Pointing to struture members.....
    By kas2002 in forum C++ Programming
    Replies: 7
    Last Post: 08-13-2006, 10:07 AM
  4. Pointing a function pointer to a variable?
    By Aidman in forum C++ Programming
    Replies: 9
    Last Post: 07-06-2003, 10:50 PM
  5. DC is not pointing to my window!
    By frenchfry164 in forum Windows Programming
    Replies: 3
    Last Post: 02-18-2003, 08:19 PM