summaryrefslogblamecommitdiff
path: root/Source/Applications/SampleApps/cxxdemo.cpp
blob: cf297ec5939b0c49d92a7016236a11e7e7a32e77 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                

                                          

            

                                   
                                 
                                           
                                       
                             
         



                                                                                          
 
#include <Syscall/Syscall.wtf.h>
#include <WChar.class.h>
#include <Binding/VirtualTerminal.class.h>
#include <Binding/Thread.class.h>

int main() {
	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";
}