No output and no error compiling

view story

http://stackoverflow.com – I have input into an application in the form of: <username> <source ip> <dhcp ip> or <JDoe> <> <> I had some code already so thought it would be simple to use the same code and replace the : with < and the / with >. Also instead of the replacement being " " (a space) it would be "\0". The program compiles without error but I get no output. #include <stdio.h> #include <string.h> #include <GeoIP.h> #include <iostream> #include <iomanip> #include <vector> #include <algorithm> #include < (HowTos)