IP Address Validator Program C++

#include <iostream>
#include <vector>
#include <string>
#include <sstream>
#include <cstdlib>
//IP Address Validation program
using namespace std;

vector<string> tokens(string str, char delim);
bool isIPValid(string ip);
int stringToInteger(string str);
void error(string em);

int main() {
}

bool isIPValid(string ip) {
}

vector<string> tokens(string stri, char delim) {
}


//using string stream for converting string to integer
/* the >> operator takes values from a stream as string and then converts to whatever value it is suitable like here int and then assigns teh value for that integer*/
int stringToInteger(string str) {
}

Comments