problem in a c program
hi
i want to include a dos command in c program .
how can i include it so when i run my program so it should run that command?
😕
i want to include a dos command in c program .
how can i include it so when i run my program so it should run that command?
😕
Replies
-
dipen30there is a header file in c "dos.h" include that file.
-
gaurav.bhorkar
If you are using Visual C++ or Dev C++ to compile your programs, then you can use the system () function. Make sure you #includeaccoolaryanhi
i want to include a dos command in c program .
how can i include it so when i run my program so it should run that command?
😕in your program.
Syntax:
system ("command"); For eg. to clear the screen you can use - system ("cls");
-
Manish Goyaladdition to previous post
Don't forget to use
#include
You are reading an archived discussion.
Related Posts
We want to share with you an opportunity by which you can do a lot of social good by helping introduce NGO’s to a internet based knowledge and data management...
as title says it all. Thsi thread can be taken as a continuation of Goyal's thread "changing Physcial address of a computer"
Now consider this where you have a 4...
I stumbled upon this blog post: How to become a world class Computer Engineer - abhishek desai's posterous
What's your opinion?
hi friends.. i have been listening 1 constant statement about India.
"India is a developing country" since long time
why is it taking so long for India to develop?
what...
how to proceed with a mini projeci .give some topics simple and which will be successful also the abstract