Results 1 to 5 of 5
hi, basically im programming in c++ and i am aware that by using system() you can call dos commands.
however is there a c++ function to call UNIX commands?...
- 11-07-2007 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 12
unix and c++ commands
hi, basically im programming in c++ and i am aware that by using system() you can call dos commands.
however is there a c++ function to call UNIX commands?
- 11-07-2007 #2
This is a Google Question.
I enterd it in google.
First result:
How to call linux commands in c++ program - Dev Shed
Next time please Google First.
anyhow, hope this helped.
- 11-07-2007 #3Just Joined!
- Join Date
- Oct 2007
- Posts
- 12
Thanks for the prompt reply, just one more question that is probably gunna be a stupid one.
When i try to put "#include <unistd.h>" in my code it returns an error but i need this include statementr for the unix calls - how come it wont let me include this???

- 11-07-2007 #4
- 11-07-2007 #5Just Joined!
- Join Date
- Oct 2007
- Posts
- 12
i mustnt obviously have it. how do i obtain it?


Reply With Quote