umeshban
March 28th, 2003, 06:31 AM
hello all ,
I am trying to read a file and iam storing the line in a vector string ,the problem is when i try to read the text in the varible I have some empty spaces to read in it , i confirmed it by using a "[" and "]" in my cout statment, the clsoing "]" is found on the next line ,how do i avoid this.
Hope the Q was clear,
regards to all ,
Umesh
I am trying to read a file and iam storing the line in a vector string ,the problem is when i try to read the text in the varible I have some empty spaces to read in it , i confirmed it by using a "[" and "]" in my cout statment, the clsoing "]" is found on the next line ,how do i avoid this.
Hope the Q was clear,
regards to all ,
Umesh