⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 l15.1b

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 1B
字号:
#printWrite a program that reads in lines, and prints each outin reverse order (except that the newline should beat the end).Thus the linecat foodshould come out asdoof tacCompile it and run it, then type "ready".#once #create Ref1This is odd.This is even.#once #create Ref2.ddo si sihT.neve si sihT#once cp %s/getline.o .#usera.out <Ref1 >x1#cmp x1 Ref2#succeed/*	one way to do this */ #include <stdio.h>main(){	char line[500];	int n;	while ((n = getline(line, 500)) > 0) {		for (n -= 2; n >= 0; n--)			putchar(line[n]);		putchar('\n');	}}#log#next17.1a 1016.2a 5

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -