My code is correct but when I write Make hello
in the terminal, there is an error.
I expected Hello World
to appear but there was an error instead, even when everything was correct.
This is what my code looks like:
#include <stdio.h>
int main(void)
{
printf ("hello, world");
}
This is what it says when I type "make hello":
PS C:\Harvard Tutorial> make hello
make : The term 'make' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling ofthe name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ make hello
+ ~~~~ + CategoryInfo : ObjectNotFound: (make:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException