Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22001

How to compile a c file with multiple words name

$
0
0

Help! I very very new to programming and mostly self taught (using command prompt) I tried to compile a c file that has multiple words as its name and it showed error for all the words

Example:

C:\Users\User\Desktop\Programming\toCompile>gcc -o Even or odd.exe Even or Odd determinator.c

gcc: error: or: No such file or directory

gcc: error: odd.exe: No such file or directory

gcc: error: Even: No such file or directory

gcc: error: or: No such file or directory

gcc: error: Odd: No such file or directory

gcc: error: determinator.c: No such file or directory

gcc: fatal error: no input files

compilation terminated.

Do I have to rename the c files to one word names or is there another way


Viewing all articles
Browse latest Browse all 22001

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>