17 February 2012, 09:03 | #1 |
Registered User
Join Date: Apr 2011
Location: Fareham/UK
Posts: 17
|
EOF - how to get from keyboard?
Here's a snippet of from the K&R book, (which I'm trying to follow as a tutorial)
while((c=getchar() != EOF) which is reading input from the keyboard - but what key combination produces EOF? I can't seem to get any combination of CTRL-C/D/Q etc to produce the results described in the book? |
17 February 2012, 10:25 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,001
|
Ctrl \
Or click on the close gadget. |
20 February 2012, 12:02 | #3 |
Registered User
Join Date: Apr 2011
Location: Fareham/UK
Posts: 17
|
Ah. Yes. Thanks, Thomas.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to: Convert an A500/A500+ Mitsumi keyboard to an A4000 keyboard. | Turran | Hardware pics | 10 | 15 September 2017 22:46 |
WTB- A600 Keyboard Membrane Or Full Keyboard! | hansel75 | MarketPlace | 1 | 02 November 2012 06:51 |
Wanted: Amiga 600 keyboard membrane (Blue) or full keyboard assembly | RetromanIE | MarketPlace | 8 | 19 August 2012 14:48 |
using any Amiga keyboard with an A1000's keyboard socket | boing_1000 | support.Hardware | 5 | 03 January 2007 02:55 |
|
|