Search Results

Search: Posts Made By: azran
Forum: Programming 05-13-2002
2,374
Posted By azran
hoe to allocate a 2 dimensions array?
hi .

how can I allocate a 2 dimensions array?

I used :

{
int i;

/* Allocating the rows */
Schedule = (int **)( malloc( sizeof(int*) * (N-2) ) );
if( Schedule == NULL )
{...
43,683
Posted By azran
Thanks , it worked . by the way , I'm using csh .
Thanks , it worked . by the way , I'm using csh .
11,808
Posted By azran
thanks . again .
thanks . again .
11,808
Posted By azran
i've found a solution : if i want the 3rd line...
i've found a solution :
if i want the 3rd line , for example ...

cat filename | head -3 | tail -1

thanks .
11,808
Posted By azran
i can't use awk 2
i can't use awk 2
11,808
Posted By azran
thnks apalex , but how can I do it without sed?...
thnks apalex ,
but how can I do it without sed?
10x
43,683
Posted By azran
it suppose to work ... i am writing a script that...
it suppose to work ... i am writing a script that writes a makefile to the files in the current directory , I most use the $ sign .
Can I do it in another way?
10x
43,683
Posted By azran
thanks Hugo , but it doesn't work ...
thanks Hugo , but it doesn't work ...
11,808
Posted By azran
how can I get a line from a file?
hi ,
how can I get line number 3(for example) from a file ?
thanks , Eyal .
43,683
Posted By azran
how can I write "$" using echo ?
hi .
I'm trying to write the following line in csh :

echo "abc=$(AA)" >> $filename

and I get "variable syntax" ... what's the problem ?
How can I write $ ? not in the meanning of a file...
Forum: Programming 04-21-2002
18,709
Posted By azran
execl, execv or execp
Hi!

I'm writing a C program which gets from the command line a shell command (such as "ls" ) and I should execute it.
My Q is: how can I send a command to the shell?

I know I have to use one...
Showing results 1 to 11 of 11

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