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

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -