c - "Too few arguments" error trying to run my compiled program -
c - "Too few arguments" error trying to run my compiled program -
i'm trying code refresh memory preparing myself course.
int main(){ int x; for( x = 0;x < 10; x++){ printf("hello world\n"); } homecoming 0; }
but when tried run too few arguments
i compiled code above using gcc -o repeat file.c
run type repeat
sorry if stupid question, has been while since took introduction class.
your code compiles fine. try:
gcc -o helloworld file.c ./helloworld
c compiler-construction
Comments
Post a Comment