Reputation: 7
#include <stdio.h>
int main()
{
int a = 10, b = 15, c;
c = a + b;
printf("%d", c);
return 0;
}
Whenever I tried to compile it produce error
gcc.exe: error: instruction: No such file or directory
gcc.exe: error: Arthematic: No such file or directory
gcc.exe: error: declearation: No such file or directory
gcc.exe: fatal error: no input files
compilation terminated.
Upvotes: 0
Views: 4328
Reputation: 28
Try to avoid using spaces in your file or directory name. If any of it contains spaces, than you should put it between "" marks.
Upvotes: 1
Reputation: 385496
Your shell command is malformed. You used
gcc instruction Arthematic declearation.c -o instruction Arthematic declearation
when you should have used
gcc "instruction Arthematic declearation.c" -o "instruction Arthematic declearation"
Upvotes: 4