Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 13th, 2005, 5:33 PM   #1
fzrrider
Newbie
 
Join Date: Feb 2005
Posts: 1
Rep Power: 0 fzrrider is on a distinguished road
How do I direct stdout to the screen, stdin to the keyboard?

OK, I have a java program and a C program. The java program calls the C program, taking control of it's stdout, stdin and stderr. After I have finished sending what I want to send from the java program, is there a way to redirect stdout to the screen and stdin to the keyboard?

I've tried redirecting it "artficially" by sending all output from the C program though the java program to the screen and likewise with the keyboard, but it doesn't work properly.
fzrrider is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:26 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC