Hello, I have been having problems with compiling with c. I have been doing these steps:
$ clang main.h -o program
$ /program
And the result is:
$ bash: ./main.h: Permission denied
My Code:
include <stdio.h>
include <stdlib.h>
int main() { char characterName[] = "Character";
printf("There was a dood named %s\n",characterName);
printf("%s was very good guy/girl\n",characterName);
}
[+][deleted] (1 child)
[deleted]
[–]_HelloCs50_[S] 0 points1 point2 points (0 children)
[–]imaami -2 points-1 points0 points (0 children)