Bades,I want to parse through the string .The below code is compliing but i am not getting the desired output.
[code
main()
{
string str;
cin>>str;
int size=str.size();
for (int i=0; i<=size ;i++ )
{
cout<<str[i];
}
}]
can u please tell what is worng here..