title: C produce error if no argument is given in command line
body: <p>In C, how can I produce an error if no arguments are given on the command line? I'm not using <code>int main(int argc , * char[] argv)</code>. my main has no input so I'm getting my variable using <code>scanf("%d", input)</code></p>