这句话错在哪:if(strcmp(zh[i].nam,name)==0 && strcmp(zh[i].pass,password)==0)

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/14 04:24:51
这句话错在哪:if(strcmp(zh[i].nam,name)==0 && strcmp(zh[i].pass,password)==0)

这句话错在哪:if(strcmp(zh[i].nam,name)==0 && strcmp(zh[i].pass,password)==0)
这句话错在哪:if(strcmp(zh[i].nam,name)==0 && strcmp(zh[i].pass,password)==0)

这句话错在哪:if(strcmp(zh[i].nam,name)==0 && strcmp(zh[i].pass,password)==0)
单从这句看不出来所以然.
你得把zh的声明贴出来.

这句话错在哪:if(strcmp(zh[i].nam,name)==0 && strcmp(zh[i].pass,password)==0) if(strcmp(men,A)!=0&&strcmp(men,B)!=0&&strcmp(men,C)!=0),请问这句话有错吗,拜求! 如果x的当前值为5,则执行语句“if(x=3) x=x+5”后,x的值认为5.这句话对还是错?1、在C++语言中,表达式(010+2)的值是?为什么? 2、声明语句为“char a[10]”,执行printf(“%d,%d ”,strcmp(abc,aBc),strlen(strc if(!strcmp(a[i].name, C语言中,if(strcmp(stu[i].code,s1)==0)是什么意思?这句话出现在有 查询 功能的函数里,谢谢您的指点! while(gets(str1),strcmp(str1,#))中的逗号什么意思,这句话的条件又是什么意思? C语言.谁知道if(strcmp(a,b)>0) if(strcmp(p[i],p[i+1])>0) 请问下这两句程序是什么意思.char x[20] = {0}; if (strcmp(x,A) == 0 || strcmp(x,B)||strcmp|(x,C 24、判断字符串s1是否大于字符串s2,应当使用().A)if(s1>s2) B)if(strcmp(s1,s2)) C)if(strcmp(s124、判断字符串s1是否大于字符串s2,应当使用().A)if(s1>s2) B)if(strcmp(s1,s2)) C)if(strcmp(s1,s2)>0) D)if(strcmp(s2,s1)>0 C语言的strcmp是什么意思?/* 指定业务 */if( (g_token.rule_type_code,-1) = 0){if(is_logic_compact(CHAR,in,g_token.rule_type_code,p_rutable->sTypeCode,0) == 0){continue;}}/* 指定环节 */if(strcmp(sRuleGroup,-1) = 0 ){if(strcmp(sRul 编写函数strcomp(s1,s2),实现两个字符串的比较,返回值为1,0,-1,分别表示s1>s2,s1=s2,s10)flag=1;else if(strcmp(s1,s2)==0)flag=0;elseflag=-1;return flag;}哪错了?#include#include int strcomp(char s1[],char s2[]){int flag;if(strcm 判断字符串 a 是否大于 b ,应当使用_________ .A、if (a>b) B、if (strcmp(a,b)) C、if (strcmp(b,a)>0)判断字符串 a 是否大于 b ,应当使用_________ .A、if (a>b)B、if (strcmp(a,b))C、if (strcmp(b,a)>0) —>为什么不行?D、i if(x=y)&&(x!=0) x+=y; 这句话错在哪if(x=y)&&(x!=0) x+=y;这句话错在哪 英语,句子语法错误I wonder if what I do is right?这句话有没有错误,错在哪? #include#include#includeusing namespace std;int main(){char s[1001];while(gets(s)){if(strcmp(s,zoj)==0||strcmp(s,zj)==0){cout 判断s1与s2是否相等,为什么是if(!strcmp(s1,s2)) if(strcmp(s2,s1)==0)ST;代表什么意思?