【发布时间】:2012-10-03 07:55:18
【问题描述】:
我只是在玩 cpplint,并尝试在我为好玩而编写的一些代码上运行它。我意识到以下行被标记为错误消息:-
#include <iostream>
...
#include <fstream>
yoohoo.cpp:3: Streams are highly discouraged. [readability/streams] [3]
yoohoo.cpp:5: Streams are highly discouraged. [readability/streams] [3]
我很好奇为什么不鼓励使用流。
【问题讨论】:
标签: c++ stl coding-style cpplint