Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Plain Text by NULLED ( 13 years ago )
#include "stdafx.h"
#include <iostream>
int _tmain(int argc, _TCHAR* argv[])
{
char str[255];
std :: cout << "Enter Your String : " << std :: endl;
std :: cin >> str;
for( unsigned int i = 0; i < ( unsigned int )strlen( str ); i++ )
if( isdigit( str[ i ] ) ){
for( unsigned int i_1 = i; i_1 <= ( unsigned int )strlen( str ); i_1++ )
str[ i_1 ] = str[ i_1 + 1 ];
i--;
}
std :: cout << "New String : " << str << std :: endl;
system( "PAUSE" );
return 0;
}
Revise this Paste