- Joined
- Dec 14, 2022
- Messages
- 1
- Reaction score
- 0
#include <stdio.h>
#include <cs50.h>
int main()
{
string answer = get_string("What's your name?\n");
printf("Hello, answer\n");
}
Hi all as you can already imagine I am new to programming. I need help with an error code I get when I am typing in this code from cs50 course. Answers are much appreciated!
Undefined symbols for architecture arm64:
"_get_string", referenced from:
_main in hello-f3c59a.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [hello] Error 1
#include <cs50.h>
int main()
{
string answer = get_string("What's your name?\n");
printf("Hello, answer\n");
}
Hi all as you can already imagine I am new to programming. I need help with an error code I get when I am typing in this code from cs50 course. Answers are much appreciated!
Undefined symbols for architecture arm64:
"_get_string", referenced from:
_main in hello-f3c59a.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [hello] Error 1