摘要: 先来看个程序#include <stdio.h>void main( void ){ char buffer[200], s[] = "computer", c = 'l'; int i = 35, j = 0; float fp = 1.7320534f; j = sprintf( buffer, "String:%s/n", s); cout<<j<<endl; // j = 16 cout<<buffer<<endl; j += sprintf( buffer + j, & 阅读全文
posted @ 2009-03-09 10:19 小 楼 一 夜 听 春 雨 阅读(796) 评论(0) 推荐(0)