summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-07-08 20:48:10 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-07-08 20:48:10 -0400
commit309202e9c8238fa5eef0914d9fd9fcaa61d66c0f (patch)
tree6229fce7e702657427779aa713a96d0070eab881
parent58c8e1b5c420abd174c3327f59bfb90c856d732a (diff)
Print the command prompt to make it look nicer.
-rw-r--r--tree.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tree.cpp b/tree.cpp
index 4172230..a6d4451 100644
--- a/tree.cpp
+++ b/tree.cpp
@@ -131,6 +131,8 @@ int main()
node* root = NULL;
while (true)
{
+ cout << "> ";
+
string val;
cin >> val;