I am enrolled in CS50. I am working on the week 1 project. #include at the top of the program is supposed to have certain programs already defined, such as get_string, get_int, etc... Before I get into the project I ran a simple test to make sure everything was working.
#include <cs50.h>
#include <stdio.h>
int main(void)
{
printf("What is your name?\n");
string x = get_string("x");
printf("Hello, %x!");
}
My code is above and below is the error I keep receiving.
undefined reference to `get_string'
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
Aren't those errors already referenced when I put in #include ?