> What are you having trouble with for the string concatenation? Use > strcat() for C-style strings and use +-operator for C++ std::string. I mean the example link you had given didn't work. It may be because I am doing it inside a function and not the main. > There are no ltrim or rtrim functions in C or C++, you will have to > roll your own or find a 3rd party library like Boost to get the > algorithm. A quick Google search should yield examples on how to write > your own ltrim or rtrim function. I thought I didn't have to re-invent the wheel. This right trim is a basic functionality it should be there already. > > How are you converting the string to integer? I am using something like atoi > > -- Brett > ------------------------------------------------------------ > "In the rhythm of music a secret is hidden; > If I were to divulge it, it would overturn the world." > -- Jelaleddin Rumi >
[Non-text portions of this message have been removed]
