cout<<"|"<<setw(10)<<setioflags (ios::fixed)<<setprecision(3)<<25.67<<"|";
mn cho em hỏi câu lệnh trên trong giáo trình thì ra output là
| 25.670| nhưng lúc test lại trên code block thì báo lỗi error: 'setioflags' was not declared in this scope| dù đã khai báo đủ
#include <iostream> #include <iomanip> using namespace std;
giúp em với ạ
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?