IMHO
In my humble opinion ....
Tuesday, December 21, 2010
Removing leading and trailing whitespace in C++
If you have the boost library installed, its simply a one liner
std::string line = " hello world ";
boost::algorithm::trim(line);
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
About Me
Syed Sibte Shah
View my complete profile
Brainbench Transcript
Favorite Articles
Function overloading in C
Blog Archive
►
2014
(2)
►
October
(1)
►
September
(1)
►
2013
(1)
►
March
(1)
►
2012
(1)
►
January
(1)
►
2011
(4)
►
August
(3)
►
January
(1)
▼
2010
(7)
▼
December
(1)
Removing leading and trailing whitespace in C++
►
September
(1)
►
June
(1)
►
May
(2)
►
April
(1)
►
March
(1)
►
2009
(4)
►
November
(1)
►
March
(1)
►
February
(1)
►
January
(1)
►
2008
(5)
►
October
(1)
►
May
(4)
My Blog List
Android Developers Blog
Celebrating Another Year of #WeArePlay
4 weeks ago
Styling Android
Hiatus
3 years ago
The Radioactive Yak
Getting Started with Android using Android Studio in Preparation for a Zombie Apocalypse
9 years ago
Excerpts World
How to do JUnit testing with servlet filters
12 years ago
Ghulam m. Babar's Blog
How to set CPU Affinities on linux box:
12 years ago