Computing.Net > Forums > Programming > EOF Key Combination in Windows

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

EOF Key Combination in Windows

Reply to Message Icon

Name: Scott
Date: December 10, 2003 at 09:43:12 Pacific
OS: WinXP Home
CPU/Ram: P3 900, 640MB
Comment:

I'm working on my final program for my C class, and I'm using C++ .net as my compiler. When I go to run my program, which collects a string of data from a user (It's basically an extremely crude text editor), I want them to be able to press CTRL-Z to take them back to a menu. But it won't recognize CTRL-Z as the EOF key combination. Any suggestions?



Sponsored Link
Ads by Google

Response Number 1
Name: myxp
Date: December 10, 2003 at 14:59:33 Pacific
Reply:

Scott:

Try getche()==26 (CTRL-Z). Use the conio.h header file.


MYXP


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: EOF Key Combination in Windows

binding a key in windows xp www.computing.net/answers/programming/binding-a-key-in-windows-xp/10760.html

Activex progid in windows reg www.computing.net/answers/programming/activex-progid-in-windows-reg/13187.html

how to write resident programm in window www.computing.net/answers/programming/how-to-write-resident-programm-in-window/932.html