我已经安装了 CS50库 在 Ubuntu 20.04 中 这段代码只是看它是否有效 c没有问题 但是当使用make时,它不会自动链接库,因此出现此错误- 我正在使用Visual Studio代码
if ($stmt->execute()) {
return json_encode(array("success" => true));
}
$stmt->close();
出场
#include <stdio.h>
#include <cs50.h>
int main(void)
{
string d = get_string("what is your name: ");
printf("Hello, %s\n ",d);
}
使用 make
时如何使其自动链接库