?? streql.c
字號:
#include <stdio.h>
int streql(char *str1, char *str2)
{
while ((*str1 == *str2) && (*str1))
{
str1++;
str2++;
}
return((*str1 == NULL) && (*str2 == NULL));
}
void main(void)
{
printf("Testing Abc and Abc %d\n", streql("Abc", "Abc"));
printf("Testing abc and Abc %d\n", streql("abc", "Abc"));
printf("Testing abcd and abc %d\n", streql("abcd", "abc"));
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -