From 0cca2d68451849b5ea96a3620566fd0b42dde3c0 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Sun, 18 Oct 2009 21:56:26 +0200 Subject: More work on syscalls --- Source/Applications/SampleApps/cxxdemo.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Applications') diff --git a/Source/Applications/SampleApps/cxxdemo.cpp b/Source/Applications/SampleApps/cxxdemo.cpp index 8da475a..01644a8 100644 --- a/Source/Applications/SampleApps/cxxdemo.cpp +++ b/Source/Applications/SampleApps/cxxdemo.cpp @@ -5,12 +5,15 @@ int main() { VirtualTerminal x = VirtualTerminal::get(); + String s = x.readLine(); + x.write(s); Thread t = Thread::get(); for (char c = ' '; c <= 'z'; c++) { t.sleep((u32int)c / 4); x.put(c); } x.put("\n"); + x.write("Salut les gens ! c'est le progrès !!!\nLe boeuf mort est juste là : "); x.writeHex(0xDEADBEEF); x.put("\n"); } -- cgit v1.2.3