Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
0 Endorsements
Ranked #107.55K
~901 People Reached
Favorite Forums
Favorite Tags
c++ x 1

1 Posted Topic

Member Avatar for darkAngel

[code=c] inline unsigned short int toLow(char const c) { return (static_cast<unsigned short int>((c >= 'A' && c <= 'Z')?(c|0x20):c)); } string strToLower(const string& str) { string str2; for (string::const_iterator itr = str.begin();itr!=str.end();itr++) str2+=toLow(*itr); return str2; } [/code]

Member Avatar for bbman
0
901

The End.