Ha ha ha.... A simple version =>
所在版块:求学狮城 发贴时间:2003-03-16 01:16

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 
#include<iostream.h>

main(void)
{
char str="Happy birthday to you!";

cout.write(str, 15);

return 0;
}

Unformatted output:

the syntax is: cout.write(char *, int n);

Any easy way?
.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

Put your OWN COOL signature here!
 相关帖子 我要回复↙ ↗回到正文
请问:关于c++左端对齐... notice   (104 bytes , 441reads )
再问:关于c++的问题 notice   (91 bytes , 216reads )
You can try this => 魅力十足   (489 bytes , 341reads )
Ha ha ha.... A simple version => 魅力十足   (194 bytes , 283reads )
===> hobo   (89 bytes , 212reads )
被下面抢先了.... :-) hobo   (0 bytes , 167reads )
You can use <iomanip.h> => 魅力十足   (309 bytes , 337reads )