I am using the CS50 online IDE and I don't understand why am I getting this error, I followed all instructions. The first hello.c program runs just fine without errors. However when I try to compile string.c I get the following error. And sometimes it's generate a folder with a .c9
chris669d:~/workspace $ ./hello
hello, world
chris669d:~/workspace $ make string
clang -ggdb3 -O0 -std=c11 -Wall -Werror string.c -lcs50 -lm -o string
string.c:6:19: error: implicit declaration of function 'get_string' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
string name = get_string();
^
string.c:6:19: note: did you mean 'GetString'?
/usr/include/cs50.h:106:8: note: 'GetString' declared here
string GetString(void);
^
string.c:6:12: error: incompatible integer to pointer conversion initializing 'string' (aka 'char *') with an expression of type 'int' [-Werror,-Wint-conversion]
string name = get_string();
^ ~~~~~~~~~~~~
2 errors generated.
make: *** [string] Error 1
chris669d:~/workspace $