📄 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 + -