diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-31 22:06:31 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-31 22:06:31 +0000 |
commit | 25136e9a50d400c71e92ce281eddad0494f29fb2 (patch) | |
tree | b94fd507fbd8550d430d8f693dab3276c15295c1 /apps/examples/cxxtest | |
parent | 05a1bb2abf4cf172bb6ddc6851566835f9c00208 (diff) | |
download | px4-firmware-25136e9a50d400c71e92ce281eddad0494f29fb2.tar.gz px4-firmware-25136e9a50d400c71e92ce281eddad0494f29fb2.tar.bz2 px4-firmware-25136e9a50d400c71e92ce281eddad0494f29fb2.zip |
Convert configs/sim/ostest to use mconf tool; Add configs/sim/cxxtest
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5285 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/cxxtest')
-rw-r--r-- | apps/examples/cxxtest/cxxtest_main.cxx (renamed from apps/examples/cxxtest/cxxtext_main.cxx) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/examples/cxxtest/cxxtext_main.cxx b/apps/examples/cxxtest/cxxtest_main.cxx index 0d181d0e4..c0d4bfbd1 100644 --- a/apps/examples/cxxtest/cxxtext_main.cxx +++ b/apps/examples/cxxtest/cxxtest_main.cxx @@ -86,22 +86,22 @@ public: static void test_iostream(void) { - int a; - string s; - cout << "test iostream===========================" << endl; cout << "Hello, this is only a test" << endl; cout << "Print an int: " << 190 << endl; - cout << "Print a char: " << 'd' << endl; + cout << "Print a char: " << 'd' << endl; + +#if 0 + int a; + string s; -/* cout << "Please type in an int:" << endl; cin >> a; cout << "You type in: " << a << endl; cout << "Please type in a string:" << endl; cin >> s; cout << "You type in: " << s << endl; -*/ +#endif } //*************************************************************************** |