f:\visual studio 2010\projects\yanzhengxing\yanzhengxing\first.cpp(2): fatal error C1083: 无法打开包括文件:“iomanip.h”: No such file or directory什么情况?
vs2010的话,去掉.h试试看
vs2010不用.h。
#include<iomanip> //setw函数需要,使用标准库即可