guys iv got urgent question and asking for help:what i need to do write?
"code which takzes words from 1stfile and put those words into 2nd file written other way round.Words remain in the same position"
You need to do 3 things:
read words from file A
turn words around
write words to file B
Document your code a bit or use functions.
At first glance, you don't have a read operation on your ifstream, perhaps you can read the words to an array.
You don't have i declared
The expressions in your for() should be seperated by ; instead of ,
When you have your words in an array, loop the array word per word, turning around every word, perhaps using some string functions or just basic pointer manipulation.