Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <QCoreApplication>
- #include <iostream>
- using namespace std;
- class HelloWorld{
- public:
- HelloWorld(){}
- ~HelloWorld(){}
- void say(string a){
- cout << a << endl;
- }
- };
- int main(int argc, char *argv[])
- {
- QCoreApplication a(argc, argv);
- HelloWorld hw;
- hw.say("MediaTutorial Hello world..");
- return 0;
- //return a.exec();
- }
Advertisement
Add Comment
Please, Sign In to add comment