? P20 Exercise 1-10
来源:互联网 发布:wps办公软件教学 编辑:程序博客网 时间:2024/04/27 22:01
Exercise 1-10. Write a program to copy its input to its output, replacing each tab by \t, eachbackspace by
\b, and each backslash by \\. This makes tabs and backspaces visible in an unambiguous way.
#include <stdio.h>/* replace tabs and backspaces with visible characters */main(){int c;while ((c = getch()) != EOF){if (c == '\t')printf("\\t");else if (c == '\b')printf("\\b");else if (c == '\\')printf("\\\\");else putchar(c);}}
- ? P20 Exercise 1-10
- exercise 10
- svn p20
- P20@C
- P20@JavaScript
- P20@C#
- 第十章:Approximate Inference exercise 1-10
- Python Exercise #10
- Exercise 10: 那是什么?
- linux exercise 10
- linux exercise 10
- 38-1-1-Exercise
- Exercise of Thread(1)
- notepad exercise 1
- Python Exercise #1
- Assignment 1: Coding Exercise
- Jos-lab2 (Exercise 1)
- [Exercise 1] Linear Regression
- QQ传送文件的测试用例---欢迎补充
- cant't connect to MySQL server on 'localhost' (10061) (发生系统错误1067)
- php生成唯一字符串
- Sql 应用系列:SQL模糊查询,使用like比较字
- 关于linux的进程和线程
- ? P20 Exercise 1-10
- 解决Ubuntu双显卡切换问题
- java多线程 sleep()和wait()的区别
- C#线程同步lock,Monitor,Mutex,同步事件和等待句柄(下)
- 本地时间和GMT(UTC)时间的转换(C#)
- js光标选中文本框部分内容
- Android init.rc文件浅析
- java数学类Math的常用方法
- CMYK图片在IE中无法显示的问题