C++

#include #include int main(int argc, char **argv) { QApplication app(argc, argv); QPushButton button("Hello world!", 0); app.setMainWidget( &button ); button.resize(100, 30); button.show(); return app.exec(); } コードはQtのチュートリアルよ…

GUI にも手を染めてみた。 GTK, X11, Qt, Tk, wxWindows,...etc 言語は、いまのところ C/C++ か Perl, Python だけど。 PythonのAnyGUIや、GtkのOCaml, Schemeも予定。 #include class MyApp : public wxApp { public: virtual bool OnInit(); }; bool MyApp…

#include using namespace std; int main(void){ cout