Here is a sample program I am using.
while(split.good()){
            split >>first;
            split >>second;
            word=first + second;
            //cout<< static_cast<char> (word)<<endl;
            vec.push_back(static_cast<char> (word));
        }
first and second are int values. So I want to combine the elements of the vector to make a complete word.
Thanks,
 
     
     
    