C and C++

Moderators: None (Apply to moderate this forum)
Number of threads: 28695
Number of posts: 94715

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
ctrl+d Posted by Fraggle on 17 May 2001 at 1:08 AM
hi...i'm trying to set up borland c++ builder on windows 98 through the dos prompt...anyway i have a c++ program that in unix ends the input after entering control+d (^D)...but when i enter this after compiling in dos, it shows as a diamond character, and i cannot get the program to stop input.
anyone have ideas what is wrong? is there a different keystroke for control+d in dos than unix?
tia!

Report
Re: ctrl+d Posted by Murmandamus on 17 May 2001 at 1:20 AM
: hi...i'm trying to set up borland c++ builder on windows 98 through the dos prompt...anyway i have a c++ program that in unix ends the input after entering control+d (^D)...but when i enter this after compiling in dos, it shows as a diamond character, and i cannot get the program to stop input.
: anyone have ideas what is wrong? is there a different keystroke for control+d in dos than unix?
: tia!
:

he keystroke for eof in dos is Ctrl+Z (I think it also has to be followed by <enter>).

Greets,
Mark



Report
Re: ctrl+d Posted by Fraggle on 17 May 2001 at 3:19 AM
: : hi...i'm trying to set up borland c++ builder on windows 98 through the dos prompt...anyway i have a c++ program that in unix ends the input after entering control+d (^D)...but when i enter this after compiling in dos, it shows as a diamond character, and i cannot get the program to stop input.
: : anyone have ideas what is wrong? is there a different keystroke for control+d in dos than unix?
: : tia!
: :
:
: he keystroke for eof in dos is Ctrl+Z (I think it also has to be followed by <enter>).
:
: Greets,
: Mark
:
:
:

ahhh....thank-you so much Mark!!!
it's exactly what i was after, you're a life-saver :)
well, thanks again & all the best,
mike.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.