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.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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?


Leave a Comment

Please sign in to add a comment. Not a member? Join today