All pastes #933852 Raw Edit

Untitled

public cpp v1 · immutable
·published 2008-03-08 14:32 UTC
rendered paste body
CharChange(str[]) //by homie xD{	new tmp = -1;	new stri[25];	for(new i = 0; i < strlen(str); i++)	{	    stri[i] = tolower(str[i]);	    if(i == 0) stri[i] = toupper(str[i]);		if(str[i] == 32) tmp = i+1;		if(i == tmp) stri[i] = toupper(str[i]);	}	stri[strlen(str)] = 0;	printf("%s",stri);	return 1;}