Breaking News
Loading...
Monday, July 15, 2013

Hàm đổi những kí tự đầu tiên của mỗi từ thành chữ in hoa

7/15/2013 08:51:00 AM
void chuhoadau(char *s)
{
s[0]=toupper(s[0]);
while(strstr(s," ")!=NULL)
{
s=strstr(s," ")+1;
s[0]=toupper(s[0]);
}

}

0 comments:

Post a Comment

 
Toggle Footer