int main()
{
	
	string str("I think you will a c++ programmer");
	string::iterator i=str.begin();

	while(i!=str.end()||!isspace(*i))
	{
		*i=toupper(*i);
		++i;
	}
	
	while(1)
	{
		 
	}
	return 0;
}

Posted on 2010-10-30 08:11  singlefold  阅读(208)  评论(0编辑  收藏  举报