LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-07-2004, 08:56 PM   #1
hyperriven
Member
 
Registered: Oct 2003
Distribution: Mandrake 9.1
Posts: 61

Rep: Reputation: 15
end of file character


Could someone tell me how to enter an end of file character from the keyboard? I have a c++ program that I am trying to debug with ddd, and I don't know how to make it read input from a file, so I am going to try to enter the data manually, but now I don't remember how to enter a end of file character. I'm not sure if it matters but I am running Linux

Thanks,
Tom
 
Old 04-07-2004, 10:38 PM   #2
aluser
Member
 
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557

Rep: Reputation: 43
On a terminal it's always ^D (control-d), not sure how that will work with ddd.
 
Old 04-07-2004, 11:09 PM   #3
hyperriven
Member
 
Registered: Oct 2003
Distribution: Mandrake 9.1
Posts: 61

Original Poster
Rep: Reputation: 15
Thanks a lot!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pattern file with no return character ksun Linux - Newbie 1 12-28-2004 06:40 PM
Check to see if a file has a certain character in it krock923 Programming 2 11-25-2004 03:30 PM
AWK: print field to end, and character count? ridertech Linux - Newbie 1 05-07-2004 05:07 PM
end of line character hyperriven Linux - General 1 04-07-2004 08:24 PM
Script, Reading a file, When end of file? elibm Programming 2 07-16-2001 11:01 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration