?? linelen.c
字號:
/* * File: linelen.c * --------------- * This file contains a main program that reports the * length of an input line. */#include <stdio.h>#include "genlib.h"#include "strlib.h"#include "simpio.h"/* Main program */main(){ string str; printf("This program tests the StringLength function.\n"); printf("Enter a string: "); str = GetLine(); printf("The length is %d.\n", StringLength(str));}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -