Utility main; |
// isip include files // #include <String.h> #include <CommandLine.h> #include <DoubleLinkedList.h> |
// create command line // CommandLine cmdl; // parse the command line // cmdl.parse(argc, argv); |
// get two strings // String replacethis; String replacewith; cmdl.getArgument(replacethis, 1); cmdl.getArgument(replacewith, 2); |
// declare a self-allocating DoubleLinkedList // DoubleLinkedList<String> list_string; |
// declare a self-allocating DoubleLinkedList // DoubleLinkedList<Float> list_float; |