I think I would like to know how to do it in C program
If you don't mind, I would like to learn both of them.
In case I need them in the future so I know how to deal with it.
Actually I will...
Type: Posts; User: mihu
I think I would like to know how to do it in C program
If you don't mind, I would like to learn both of them.
In case I need them in the future so I know how to deal with it.
Actually I will...
How can I split the result I got from Linux command?
If I got IP address 255.255.255.255, how can I store them
to a array of string or to 4 different string.
Best, :p
thank you again.
I was thinking to create something like
a = { {"a1", "a2"}, {"b1", "b2", "b3"} }
Is it possible to do it in array type?
Could someone give me some hint how can I acheive this?
It seems work.
I don't really wanna use "date" but some function I wrote.
date is just for testing.
thanks for your help.
I am really not a c guy but suddently I need to face it.
Is it possible to catch all result and store in a char* and print it out
later?
like ..
printf("<TR><TD></TD></TR>"); and print the linux "Date"
command within the <TD></TD> tag?
Thanks for the response.
I tried it but still not quit sure how to make it work.
Maybe I didn't state it clearly.
I need to use cgi to run some linux command and display
the result to a HTML...
I am writing a cgi in c and try to figure out how to print out
the result from linux command.
ex: print of the result of "date" or "ls"
Can anyone give me some hint or search keyword to...