gpt4 book ai didi

点之间的比较。和整数

转载 作者:太空宇宙 更新时间:2023-11-04 02:25:13 25 4
gpt4 key购买 nike

<分区>

当我在输出中输入 hk 时,它并没有说 HONG KONG,而是每次都说 INPUT ERROR。

char dc,ds[15];
int main(int argc, char *argv[]) {
p("Destination Code: ");
s("%s", &dc);

if(dc=="hk"){
strcpy(ds, "HONG KONG");
}
else{
strcpy(ds, "INPUT ERROR");
}

p("Destination: %s", ds);
return 0;

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com