whats the problem here... it makes me angryy!!!!
i face with this error
" 'endl' was not declared in this scope"
here is the code
Qt Code:
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QFile> #include <iostream> ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWindow() { delete ui; } void MainWindow::on_pushButton_clicked() { ds<<"bbbb/n"<<endl; myFile.close(); }To copy to clipboard, switch view to plain text mode
Bookmarks