Hai,im trying to do program using strings.The difficulty is that, i want to remove double spacing in the sentence.I dont know which function to use and the coding for it?please help me?
//to remove double spacing-task 6
int i,k=0;
for(i=0;i<s.length();i++)
{
if (s==' ')
{
????????????
????????????