6 Topics

Member Avatar for
Member Avatar for KAY111

Hey, I am writing this program in which I get x and y coordinates on stdout from a C program.....something like 23 34 45 56 21 56 .. . and so on.... now I need to pipe these values into a Java program and display a cube at the corresponding …

0
112
Member Avatar for slatk3y

Hello, I want to redirect stdin and stdout of "cat" program to my program. For example if I type "cat" in terminal, and enter input and press enter it outputs the same string I entered. In my c program I am trying to use pipes and dup. I cannot figure …

Member Avatar for slatk3y
0
242
Member Avatar for BLUEC0RE

I'm making a program that accept 1 character long strings (and ignores spaces " ") until a user presses return/enter. So far I have, [CODE] int main(){ char expression[1]; while ((scanf("%s",expression)) != EOF){ //code } return 0; } [/CODE] it is assumed that the user is entering single digit strings …

Member Avatar for gerard4143
0
2K
Member Avatar for ausrasul

Hi, I'm trying to write a shell script that do ftp and download file periodically, this script should be called by a daemon running in the background. the shell script "script.sh" is as follows: [icode] yafc [url]ftp://test:test@192.168.1.225:21[/url] < commands [/icode] and the "commands" files is [icode] d Root/md5* / quit …

Member Avatar for ausrasul
0
404
Member Avatar for xheavenlyx

Hello everyone, I have searched for this high and low but could not find a solution. To elaborate on the heading. I am trying to figure out a way to do this: 1. I have a text file with one line paths and file listing in it, for example: [CODE] …

Member Avatar for xheavenlyx
0
112
Member Avatar for banders7

A program that handles either piped input (command/prog | your_prog) or file redirected (your_prog < file_name) input. Determine whether such input exists before issuing a stdin read so that the program does not go into a "waiting for input" state. Written in/for the XP environment.

Member Avatar for jivemaster
0
612

The End.