hi, the cc compiler usually compile the file and build a executable file named a.out in the same folder as you source file. So under the same folder as your source file, type ./a.out then you see the program.
You'd bette using the -o option with the cc complier which means when you compile c file, you type cc -o "anyfile name you want, example: hello" filename.c. So you just type ./hello to run your program.
try using -o option.
版主: ross_tt、bryanchang、digdog、chester