Thursday, August 27, 2020

clang -o string string.c -lcs50

in addition to " #include <cs50.h> "

you also have to "-lcs50"

where "l" stands for  "link"



[Source: Harvard, CS50]


No comments:

Post a Comment