Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

ctrl

Deleted_U_Intel
Employee
578 Views

Hi

I have an old fortran program that ran under unix. It would recognize when i press ctrl D.

Now, I have it running under visual Fortran. what code should I use to be able to recognize that the ctrl D was pressed?

Any help would be appreciated.
thanks
ql

0 Kudos
1 Reply
james1
Beginner
578 Views
I've seen control-d be used for filename completion, end of file indication, shell termination, etc depending on which flavor of unix or shell you are using. Could you elaborate why you used control-d and what the effect was that you are trying to duplicate under Windows, presumably from a console program?

James
0 Kudos
Reply