您的位置:首页 > 编程语言 > C语言/C++

What Exactly Is the Error?

2006-10-21 02:12 471 查看
In C++, the statement cout << endl; is about 4 times as slow as cout << "/n";, because endl performs an fflush(stdout).

Test after coding. Read, understand, design, code, test--for a small unit, the process goes like this.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  c++