#include #include #include #include class CPPDemo : public ShellApp { public: CPPDemo() : ShellApp("CPPDemo.app", "A demo application using the C++ Melon framework") {} int run(); }; APP(CPPDemo); int CPPDemo::run() { outvt << "Enter some text plz : "; String s = invt.readLine(); outvt << s; Thread t = Thread::get(); for (char c = ' '; c <= 'z'; c++) { t.sleep((u32int)c / 4); outvt.put(c); } outvt << "\n"; outvt << "Salut les gens ! c'est le progrès !!!\nLe boeuf mort est juste là : "; outvt << 0xDEADBEEF; outvt << "\n"; }