This function remov punctuations but i am confused whypunct.find(a_char,0) have 0 in it?? And secondly in the ifstatement shouldn’t the parameter only be less than 0? Since iteither location =true or location =-1? So why use second paramater[location >=punct_length]
string no_punct; //initialized to empty string int s_length s.length(); int punct_length punct.length(); 75 76 78 79 80 81 82 83 for (int i-o; i < s-length; İH) string a-char s.substr(1, 1); //А one-character string int location punct.find(a_char, e); //Find location of
PayPal Gateway not configured
PayPal Gateway not configured