+ 5
I finally managed to open a .doc file, but...
https://www.sololearn.com/discuss/382102/?ref=app Now, I managed to open a .doc file using fstream... But, though I am able to write all printable objects,tabs and newlines, I am unable to write spaces to it... Thus, I am unable to align the data in the file correctly, as I wish to store a ticket with proper spaces... How can I write spaces to this .doc file as well? Why is it not writing the spaces? Please Note that after a non-space character, I am able to write the spaces... Help Me Please!
6 Antworten
+ 6
? following this thread. very interesting problem
+ 4
I felt the same jay
+ 3
Great one bro..
We can do it...
+ 3
@Vishnu ks
But tell me why is it not reading the spaces?
+ 3
At last, found a similar way for excel, using .csv ...
But it also has the same problem of spaces...
+ 1
@Kinshuk Vasisht
Can you please show the code fragment on working with the .doc file?