1

No output and no error compiling

view story
linux-howto

http://stackoverflow.com – I have input into an application in the form of: <username> <source ip> <dhcp ip> or <JDoe> <192.168.0.2> <172.16.0.10> 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)