summaryrefslogtreecommitdiff
path: root/components/rtgui/utils/perfect_hash/example-C++/main.cc
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2013-02-21 13:11:10 +0800
committerBernard Xiong <[email protected]>2013-02-21 13:11:10 +0800
commit385f682d7bfce81ba281faaffb0a250ab94985b8 (patch)
tree94fca413db98390d21dc18938067a7a90e470a6f /components/rtgui/utils/perfect_hash/example-C++/main.cc
parentc4bd0023f8da136c5788f47f9a0170a77f627be9 (diff)
remove RT-Thread GUI from RT-Thread temporary
Diffstat (limited to 'components/rtgui/utils/perfect_hash/example-C++/main.cc')
-rw-r--r--components/rtgui/utils/perfect_hash/example-C++/main.cc24
1 files changed, 0 insertions, 24 deletions
diff --git a/components/rtgui/utils/perfect_hash/example-C++/main.cc b/components/rtgui/utils/perfect_hash/example-C++/main.cc
deleted file mode 100644
index 9d724a7872..0000000000
--- a/components/rtgui/utils/perfect_hash/example-C++/main.cc
+++ /dev/null
@@ -1,24 +0,0 @@
-
-#include <iostream>
-#include <string>
-using namespace std;
-
-#include "states-code.hh"
-
-
-int main (int argc, char *argv[])
-{
- if (argc != 2) {
- printf ("Usage: %s <abbreviation>\n", argv[0]);
- return 2;
- }
-
- string abbr = argv[1];
-
- State s(abbr);
-
- cout << "The state of " << s.name ()
- << " has a population of " << 1e-6 * s.population () << " million.\n";
-
- return 0;
-}