What is system() in linux
Posted
by
Satish Patel
on Stack Overflow
See other posts from Stack Overflow
or by Satish Patel
Published on 2013-10-29T09:51:41Z
Indexed on
2013/10/29
9:53 UTC
Read the original article
Hit count: 361
I am an absolute beginner with Linux Operating system and just for fun in terminal I typed system() what happened next is as below:
satish@satish-Inspiron-N5010 ~ $ system()
>#include<iostream>
>int main()
bash: syntax error near unexpected token 'int'
satish@satish-Ispiron-N5010~ $
Here I want to know that what is system() ? what is it's role here? why I got error in int main() line? What can we do with C/C++ programming in terminal?
© Stack Overflow or respective owner