summaryrefslogtreecommitdiff
path: root/Source/Applications/SampleApps/cxxdemo.cpp
diff options
context:
space:
mode:
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";
}