XCode question d'jour - how to send EOF from Run Window?

Discussion in 'Mac Programming' started by toddburch, Jan 16, 2008.

  1. toddburch macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
    #1
    I've searched high and low, and I can't figure it out. I've tried numerous key combinations as well. No joy.

    My C++ program is keying off receiving EOF via cin. I think I might have entered it once through a keyboard key hitting fit, but I'll be doggone if I can repeat that elusive key combination.

    Thanks, Todd
     
  2. iSee macrumors 68040

    iSee

    Joined:
    Oct 25, 2004
    #2
    Try Ctrl-Z (sorry if I waste your time, this is from memory)
     
  3. toddburch thread starter macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
  4. toddburch thread starter macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
    #4
    I googled and found a work around. I can use Terminal and then use CTRL+D. Good enough for me.

    Todd
     

    Attached Files:

Share This Page