title: Command line argument like user input in c++
body: <p>In command line argument like <code>./a.out echo *</code> the <code>*</code> will be changed by the terminal so that all the files in the directory can be printed. What I want is that standard input do the same thing.</p>
  
  <p>Is there any way of doing this in C++? Any help will be thanked.</p>