Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1286323
  • 博文数量: 548
  • 博客积分: 7597
  • 博客等级: 少将
  • 技术积分: 4224
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-15 13:21
个人简介

嵌入式软件工程师&&太极拳

文章分类

全部博文(548)

文章存档

2014年(10)

2013年(76)

2012年(175)

2011年(287)

3.c

分类:

2011-02-20 20:05:21

#include 

int main(void)
{
	printf("nnn%c", '\n');		//换行;
	printf("mmm%crrr", '\r');	//回车;光标回到开头;
	printf("%c", '\a');			//响铃;
	printf("abc%c%c%c", '\b','\b','\b'); //退格;
//	printf();
	printf("\101");			//8进制....;
	printf("\x42\n");		//16进制表示的字符;;
	printf("0x42\n");		//字符串... 0x42 4个字符;
	printf("\"hello world\"");	//\转义字符; 去除\" 特殊意义;

	return 0;
}
阅读(634) | 评论(0) | 转发(0) |
0

上一篇:2.c

下一篇:4.c

给主人留下些什么吧!~~