#include<iostream>
using namespace std;
int main()
{
string str="good mornining";
cout<<"string is:"<<str<<endl;
str.erase(6);
cout<<"string after the earrase(): "<<str<<endl;
return 0;
}
Easy programming and better way to learn the programming . if you like the scorce code do like like share and subscribe the chennel.
No comments:
Post a Comment