摘要: 文本颜色属性已经学会了,那么下面就学习几个比较常用的文本输出函数,如下:[cpp]view plaincopyBOOLFillConsoleOutputAttribute(//填充字符属性HANDLEhConsoleOutput,//句柄WORDwAttribute,//文本属性DWORDnLeng... 阅读全文
posted @ 2014-06-17 20:56 Time.Long 阅读(6177) 评论(3) 推荐(0)
摘要: 在这里介绍一个设置文本属性的函数,原型如下[cpp]view plaincopyBOOLSetConsoleTextAttribute(//设置WriteConsole等函数的字符属性HANDLEhConsoleOutput,//句柄WORDwAttributes//文本属性); 顺便提一下文本... 阅读全文
posted @ 2014-06-17 11:41 Time.Long 阅读(8021) 评论(4) 推荐(1)