Friends:
I downloaded jakarta-tomcat-4.0-b7 for JSP.
I did everything which seemed necessary and correct, like:
1. Having jdk1.3.1;
2. Unzip the file to C:\jakarta-tomcat-4.0-b7
3. Setting the following in autoexec.bat:
CATALINA_HOME : C:\jakarta-tomcat-4.0-b5
JAVA_HOME : C:\jdk1.3.1
set path...
Friends:
Please tell me if it's possible to run an Unix shell command
inside a C/C++ program? The question may be too stupid but we do need run such a command at some
point inside the code, then continue to execute the rest part of the code...
If possible, how to do that?
Thanks.
csd
Friends:
Please tell me if it's possible to run an Unix shell command
inside a C/C++ program? The question may be too stupid but we do need run such a command at some
point inside the code, then continue to execute the rest part of the code...
If possible, how to do that?
Thanks.
csd
ruxshin and flogrr:
I have already tested ruxshin's suggestion. I used 25 argvs, which are needed for my project, the job worked very good and the screen was very "cean": There was no warning message on it.
I think flogrr's way would also work and i will have time to test it later...
I used ARGVs for a awk program and it worked well but
it always had some messages like this:
"awk: Cannot find or open file abc...
....The file is abc..."
The command for the awk job I used was
awk -f test.awk test.txt abc
Here, ARGV[0] should be awk, [1] test.txt, which is indeed a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.