diff options
author | Alexis211 <alexis211@gmail.com> | 2009-10-21 17:32:50 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-10-21 17:32:50 +0200 |
commit | 7708a5f335c6b3256290775e7f5deb43b681bf03 (patch) | |
tree | 8ddb55ee633a70ea298a812d5ffec97373631534 /Source/Applications/SampleApps/cxxdemo.cpp | |
parent | 9836acd720988af30250c2c1ec18d618664dea4e (diff) | |
download | Melon-7708a5f335c6b3256290775e7f5deb43b681bf03.tar.gz Melon-7708a5f335c6b3256290775e7f5deb43b681bf03.zip |
More work
Diffstat (limited to 'Source/Applications/SampleApps/cxxdemo.cpp')
-rw-r--r-- | Source/Applications/SampleApps/cxxdemo.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Source/Applications/SampleApps/cxxdemo.cpp b/Source/Applications/SampleApps/cxxdemo.cpp index 01644a8..cf297ec 100644 --- a/Source/Applications/SampleApps/cxxdemo.cpp +++ b/Source/Applications/SampleApps/cxxdemo.cpp @@ -4,16 +4,15 @@ #include <Binding/Thread.class.h> int main() { - VirtualTerminal x = VirtualTerminal::get(); - String s = x.readLine(); - x.write(s); + String s = invt.readLine(); + outvt << s; Thread t = Thread::get(); for (char c = ' '; c <= 'z'; c++) { t.sleep((u32int)c / 4); - x.put(c); + outvt.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"); + outvt << "\n"; + outvt << "Salut les gens ! c'est le progrès !!!\nLe boeuf mort est juste là : "; + outvt << 0xDEADBEEF; + outvt << "\n"; } |