亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? chap14.lst

?? C語言大全第四版源代碼全集
?? LST
字號:
listing 1
#include <ctype.h>
#include <stdio.h>

int main(void)
{
  char ch;

  for(;;) {
    ch = getc(stdin);
    if(ch == '.') break;
    if(isalnum(ch)) printf("%c is alphanumeric\n", ch);
  }

  return 0;
}

listing 2
#include <ctype.h>
#include <stdio.h>

int main(void)
{
  char ch;

  for(;;) {
  ch = getchar();
  if(ch == '.') break;
  if(isalpha(ch)) printf("%c is a letter\n", ch);
  }

  return 0;
}

listing 3
#include <ctype.h>
#include <stdio.h>

int main(void)
{
  char ch;

  for(;;) {
  ch = getchar();
  if(ch == '.') break;
  if(isblank(ch)) printf("%c is a word separator\n", ch);
  }

  return 0;
}

listing 4
#include <ctype.h>
#include <stdio.h>

int main(void)
{
  char ch;

  for(;;) {
   ch = getchar( );
   if(ch == '.') break;
   if(iscntrl(ch)) printf("%c is a control char\n", ch);
  }

  return 0;
}

listing 5
#include <ctype.h>
#include <stdio.h>

int main(void)
{
  char ch;

  for(;;) {
    ch = getchar();
    if(ch == '.') break;
    if(isdigit(ch)) printf("%c is a digit\n", ch);
  }

  return 0;
}

listing 6
#include <ctype.h>
#include <stdio.h>

int main(void)
{
  char ch;

  for(;;) {
    ch = getchar();
    if(isgraph(ch)) printf("%c is printable\n", ch);
    if(ch == '.') break;
  }

  return 0;
}

listing 7
#include <ctype.h>
#include <stdio.h>

int main(void)
{
  char ch;

  for(;;) {
    ch = getchar();
    if(ch == '.') break;
    if(islower(ch)) printf("%c is lowercase\n", ch);
  }

  return 0;
}

listing 8
#include <ctype.h>
#include <stdio.h>

int main(void)
{
  char ch;

  for(;;) {
    ch = getchar();
    if(isprint(ch)) printf("%c is printable\n",ch);
    if(ch == '.') break;
  }

  return 0;
}

listing 9
#include <ctype.h>
#include <stdio.h>

int main(void)
{
  char ch;

  for(;;) {
    ch = getchar();
    if(ispunct(ch)) printf("%c is punctuation\n", ch);
    if(ch == '.') break;
  }

  return 0;
}

listing 10
#include <ctype.h>
#include <stdio.h>

int main(void)
{
  char ch;

  for(;;) {
  ch = getchar();
  if(isspace(ch)) printf("%c is white space\n", ch);
  if(ch == '.') break;
  }

  return 0;
}

listing 11
#include <ctype.h>
#include <stdio.h>

int main(void)
{
  char ch;

  for(;;) {
    ch = getchar();
    if(ch == '.') break;
    if(isupper(ch)) printf("%c is uppercase\n", ch);
  }

  return 0;
}

listing 12
#include <ctype.h>
#include <stdio.h>

int main(void)
{
  char ch;

  for(;;) {
    ch = getchar();
    if(ch == '.') break;
    if(isxdigit(ch)) printf("%c is hexadecimal digit\n", ch);
  }

  return 0;
}

listing 13
#include <stdio.h>
#include <string.h>

int main(void)
{
  char *p;

  p = memchr("this is a test", ' ', 14);
  printf(p);

  return 0;
}

listing 14
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{
  int outcome, len, l1, l2;

  if(argc!=3) {
    printf("Incorrect number of arguments.");
    exit(1);
  }

  /* find the length of shortest string */
  l1 = strlen(argv[1]);
  l2 = strlen(argv[2]);
  len = l1 < l2 ? l1:l2;

  outcome = memcmp(argv[1], argv[2], len);
  if(!outcome) printf("Equal");
  else if(outcome<0) printf("First less than second.");
  else printf("First greater than second.");

  return 0;
}

listing 15
#include <stdio.h>
#include <string.h>

#define SIZE 80

int main(void)
{
  char buf1[SIZE], buf2[SIZE];

  strcpy(buf1, "When, in the course of...");
  memcpy(buf2, buf1, SIZE);
  printf(buf2);

  return 0;
}

listing 16
#include <stdio.h>
#include <string.h>

#define SIZE 80

int main(void)
{
  char str[SIZE], *p;

  strcpy(str, "When, in the course of...");
  p = str + 10;

  memmove(str, p, SIZE);
  printf("result after shift: %s", str);

  return 0;
}

listing 17
memset(buf, '\0', 100);
memset(buf, 'X', 10);
printf(buf);

listing 18
#include <stdio.h>
#include <string.h>

int main(void)
{
  char s1[80], s2[80];

  gets(s1);
  gets(s2);

  strcat(s2, s1);
  printf(s2);

  return 0;
}

listing 19
#include <stdio.h>
#include <string.h>

int main(void)
{
  char *p;

  p = strchr("this is a test", ' ');
  printf(p);

  return 0;
}

listing 20
int password(void)
{
  char s[80];

  printf("Enter password: ");
  gets(s);

  if(strcmp(s, "pass")) {
    printf("Invalid Password\n");
    return 0;
  }
  return 1;
}

listing 21
if(strcoll("hi", "hi")) printf("Equal");

listing 22
char str[80];
strcpy(str, "hello");

listing 23
#include <string.h>
#include <stdio.h>

int main(void)
{
  int len;

  len = strcspn("this is a test", "ab");
  printf("%d", len);

  return 0;
}

listing 24
printf(strerror(10));

listing 25
printf("%d", strlen("hello"));

listing 26
#include <stdio.h>
#include <string.h>

int main(void)
{
  char s1[80], s2[80];
  unsigned int len;

  gets(s1);
  gets(s2);

  /* compute how many chars will actually fit */
  len = 79-strlen(s2);

  strncat(s2, s1, len);
  printf(s2);

  return 0;
}

listing 27
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{
  if(argc!=3) {
    printf("Incorrect number of arguments.");
    exit(1);
  }

  if(!strncmp(argv[1], argv[2], 8))
    printf("The strings are the same.\n");

  return 0;
}

listing 28
char str1[128], str2[80];

gets(str1);
strncpy(str2, str1, 79);

listing 29
#include <stdio.h>
#include <string.h>

int main(void)
{
  char *p;

  p = strpbrk("this is a test", " absj");
  printf(p);

  return 0;
}

listing 30
#include <string.h>
#include <stdio.h>

int main(void)
{
  char *p;

  p = strrchr("this is a test", 'i');
  printf(p);

  return 0;
}

listing 31
#include <string.h>
#include <stdio.h>

int main(void)
{
  int len;

  len = strspn("this is a test", "siht ");
  printf("%d", len);

  return 0;
}

listing 32
#include <string.h>
#include <stdio.h>

int main(void)
{
  char *p;

  p = strstr("this is a test", "is");
  printf(p);

  return 0;
}

listing 33
#include <stdio.h>
#include <string.h>

int main(void)
{
  char *p;

  p = strtok("The summer soldier, the sunshine patriot", " ");
  printf(p);
  do {
    p = strtok('\0', ", ");
    if(p) printf("|%s", p);
  } while(p);

  return 0;
}

listing 34
strxfrm(s1, s2, 10);

listing 35
putchar(tolower('Q'));

listing 36
putchar(toupper('a'));

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品乱码妇女bbbb| 亚洲综合男人的天堂| 中文字幕在线不卡视频| 日韩高清不卡在线| 91丝袜美腿高跟国产极品老师 | 久久99国产精品久久99| 色婷婷综合久久久| 国产日韩视频一区二区三区| 婷婷激情综合网| eeuss鲁片一区二区三区| 精品久久久久久亚洲综合网 | 国产婷婷精品av在线| 美腿丝袜亚洲色图| 欧美日韩在线观看一区二区 | 欧美一区二区三区播放老司机| 中文字幕成人在线观看| 精品一区二区久久| 欧美区在线观看| 亚洲国产另类av| 91成人在线免费观看| 国产精品不卡一区二区三区| 国产精品一区免费视频| 精品国产一区二区三区久久影院| 午夜精品久久久| 在线观看成人小视频| 亚洲激情网站免费观看| 91美女片黄在线观看91美女| 欧美国产激情一区二区三区蜜月| 狠狠狠色丁香婷婷综合久久五月| 欧美一级一级性生活免费录像| 亚洲超碰精品一区二区| 欧美在线一二三| 天天操天天干天天综合网| 欧美午夜精品久久久久久超碰| 亚洲免费视频成人| 欧美中文字幕亚洲一区二区va在线 | 国产日韩v精品一区二区| 国产专区欧美精品| 国产无一区二区| 成人免费观看视频| 亚洲天堂av一区| 色嗨嗨av一区二区三区| 亚洲黄色免费网站| 欧美体内she精高潮| 无码av免费一区二区三区试看 | 亚洲国产一区二区三区青草影视| 在线观看亚洲精品视频| 另类的小说在线视频另类成人小视频在线| 国产成人精品在线看| 欧美精品一区二区三区高清aⅴ| 精品一区二区三区在线播放| 久久亚洲综合色| 99精品欧美一区二区三区小说| 亚洲人成精品久久久久| 欧美图区在线视频| 免费亚洲电影在线| 亚洲国产高清在线| 色丁香久综合在线久综合在线观看| 亚洲曰韩产成在线| 91精品国产综合久久香蕉麻豆| 国模无码大尺度一区二区三区| 国产精品色哟哟| 精品视频在线免费| 国产综合色精品一区二区三区| 国产精品国产成人国产三级| 欧美色综合网站| 国产一区二区三区日韩 | 91福利社在线观看| 免费观看日韩电影| 国产精品不卡一区| 日韩欧美精品三级| 91福利视频网站| 国产乱人伦精品一区二区在线观看| 中文字幕一区二区三区蜜月| 欧美一区二区三区四区久久| 成人小视频在线| 青青国产91久久久久久| 亚洲天堂精品视频| 亚洲精品在线电影| 欧美无乱码久久久免费午夜一区| 国产精品综合网| 日韩av高清在线观看| 最近中文字幕一区二区三区| 精品国产91乱码一区二区三区 | 成人一区二区三区视频| 亚洲高清在线精品| 中文字幕av在线一区二区三区| 欧美高清视频一二三区| 成人sese在线| 国产露脸91国语对白| 久久久久久久久99精品| 日韩一级大片在线观看| 不卡一区二区在线| 久久99国产精品成人| 亚洲国产精品一区二区尤物区| 国产精品网站一区| 精品粉嫩超白一线天av| 欧美丰满美乳xxx高潮www| 91一区二区三区在线播放| 国产成人综合亚洲网站| 久热成人在线视频| 秋霞国产午夜精品免费视频| 一区二区三区成人在线视频| 中文字幕亚洲一区二区va在线| 久久免费精品国产久精品久久久久| 6080yy午夜一二三区久久| 欧美性色黄大片| 色婷婷久久久综合中文字幕| www.欧美日韩国产在线| 国产成人av影院| 国产乱妇无码大片在线观看| 韩国av一区二区三区四区| 看片网站欧美日韩| 亚洲午夜电影在线| 国产精品第一页第二页第三页| 国产区在线观看成人精品| 久久综合色天天久久综合图片| 日韩精品一区二区三区蜜臀| 欧美一级欧美三级| 精品国产一区a| 久久综合中文字幕| 国产欧美一区二区三区网站| 国产日韩精品一区| 中文一区在线播放| 亚洲日本韩国一区| 亚洲夂夂婷婷色拍ww47| 日韩影院在线观看| 精品一区二区国语对白| 国产精品一区不卡| kk眼镜猥琐国模调教系列一区二区| 成人高清免费观看| 91国内精品野花午夜精品| 欧美私模裸体表演在线观看| 69堂精品视频| 久久这里只有精品6| 中文字幕一区不卡| 亚洲福利视频一区二区| 久久精工是国产品牌吗| 国产高清不卡二三区| 色综合一区二区三区| 欧美日韩aaa| 久久嫩草精品久久久精品一| 中文字幕中文字幕中文字幕亚洲无线| 亚洲精选在线视频| 美女在线视频一区| 成人av电影在线播放| 欧美日韩日本视频| 久久久精品国产免费观看同学| 亚洲欧洲99久久| 日韩av不卡在线观看| 成人永久aaa| 6080国产精品一区二区| 国产精品青草久久| 天堂成人国产精品一区| 豆国产96在线|亚洲| 欧美日韩视频一区二区| 亚洲国产高清在线| 午夜精品久久久久久| 成人av在线一区二区| 在线观看91精品国产麻豆| 欧美极品xxx| 青草国产精品久久久久久| 成人免费视频视频在线观看免费| 欧美人动与zoxxxx乱| 国产精品青草久久| 激情综合色播激情啊| 欧美怡红院视频| 国产精品午夜在线| 日本不卡一区二区三区高清视频| 99精品1区2区| 久久亚洲精品小早川怜子| 亚洲.国产.中文慕字在线| 成人动漫精品一区二区| 亚洲精品一区二区三区影院| 午夜伊人狠狠久久| 91蜜桃视频在线| 国产精品久久777777| 国产在线观看免费一区| 91精品婷婷国产综合久久| 亚洲人快播电影网| 成人免费视频视频在线观看免费 | 日韩一级黄色片| 亚洲一二三四久久| www.日韩大片| 国产精品狼人久久影院观看方式| 日韩电影在线一区二区| 欧美三级视频在线观看| 亚洲精品日日夜夜| 91丨九色丨尤物| 综合久久综合久久| av一区二区三区四区| 中文字幕在线不卡一区二区三区| 国产麻豆91精品| 国产拍欧美日韩视频二区| 国产在线播精品第三| 2020国产精品| 国产一区不卡视频| 久久精品亚洲乱码伦伦中文| 国产精品一区二区在线播放| 亚洲精品一区二区三区影院|