Execute a system command: Difference between revisions

Line 40:
 
=={{header|C}}==
{{worksISO C & with|POSIX|.1-2001}}:
 
<lang c> #include <stdlib.h>
 
int main()
{
system("ls");
return 0;
}</lang>
 
=={{header|C++}}==
Anonymous user