- 博客(3)
- 收藏
- 关注
原创 为什么无法识别if(ch!=‘\‘‘&&‘\“‘)
为什么无法识别if(ch!=’’’&&’"’)以下为用visual studio2019编写的程序:// chcount.c–使用逻辑与运算符#include <stdio.h>#define PERIOD ‘.’int main(void){char ch;int charcount = 0;printf("Enter some characters:");while (ch = getchar() != PERIOD) { if (ch != '\"'
2020-12-01 21:13:56
399
1
空空如也
结果报错ValueError: cannot derive by this array
2022-08-24
TA创建的收藏夹 TA关注的收藏夹
TA关注的人