Search Results

Search: Posts Made By: narom
Forum: Programming 01-19-2006
11,695
Posted By narom
Thread Argument Passing
#include <stdio.h>
#include <pthread.h>
#define NUM_THREADS 4

/* function to be executed by the new thread*/

void *PrintHello(void * threadid)
{
printf("\n %3d:Hello World!\n",threadid);...
2,897
Posted By narom
running from different directory
say i have three executable code from three directory,
I want to run them consecutively as i have posted before from the main directory.
i tried ( /program1/./prog <input >output; /program2/./prog...
2,897
Posted By narom
What if i have more than 10 files?
can i write a script for that so that
1. I can change the parameter
2. I don't have to retype all again everytime...

thanks.
2,897
Posted By narom
running files consecutively with one command
i want to run few c object files one after another in one command. Can i write a acript for that. I'm using Sun Solaris.
for example

./prog < input1 >output1 &
./prog <input2 >output2 &
...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 12:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy