I have an IP address in char type Like char ip = "192.123.34.134" I want increment the last value (134). Does anyone how should i do it? I think, i should convert it to an integer, and then back, but unfortunately i don't know how? :( I'm using C++.
Please help me!
Thanks, kampi
This site ate my tabs, so I'll try again. I'm sure there is a library to do something like this, but this should work (assuming my syntax isn't messed up) enough to get the idea across.
Pseudo Code: