summaryrefslogtreecommitdiff
path: root/Source/Applications/SampleApps/cxxdemo.cpp
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-10-21 17:32:50 +0200
committerAlexis211 <alexis211@gmail.com>2009-10-21 17:32:50 +0200
commit7708a5f335c6b3256290775e7f5deb43b681bf03 (patch)
tree8ddb55ee633a70ea298a812d5ffec97373631534 /Source/Applications/SampleApps/cxxdemo.cpp
parent9836acd720988af30250c2c1ec18d618664dea4e (diff)
downloadMelon-7708a5f335c6b3256290775e7f5deb43b681bf03.tar.gz
Melon-7708a5f335c6b3256290775e7f5deb43b681bf03.zip
More work
Diffstat (limited to 'Source/Applications/SampleApps/cxxdemo.cpp')
-rw-r--r--Source/Applications/SampleApps/cxxdemo.cpp15
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";
}