But you must remember to include the parenthesis at the right place. This assignment is MUCH easier than it looks. The data you should use to test your program is given below. Here is how you will run your program. The data will be entered at the command line.
Words are things that are seperated by blanks from other things.
Argc is the number of strings in argv. What you have to do is make your program build a tree based on the objects described in the command line input. Run the program for each of the inputs described above. Make sure that each input makes sense.