hai ia have been try this but i didnt get any output on my run window.
#include<process.h>
main()
{
system("echo hello");
}
consider me

The function system() requires the inclusion of the header file stdlib.h instead of process.h
If you run it at the CLI you'll see the output, now if you run it in some IDE, it might flash the output too quick for you to see it.

>consider me
Now, would you consider us and next time make use of the code tags? Read here an example.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.