![]() |
i need assistance in completing the code
Hello,i need assistance in completing the code, I do not have enough experience, anyone can complete it?
it is at one point change 1 word in new and need to able to change more than words .. Thank you very much for the former. Code:
#include <iostream> |
Re: i need assistance in completing the code
(1) What do you mean by "complete my code" ?? Tell us how it is incomplete and what you would like to add, how you would like it to be added etc.. etc.. Please be clear.\
(2) The texts are not in English. For example, cout << "Ce cuvint doritzi sa modificatzi? : "; So, it's hard to find what your program wants to do. (although I can make something out of the code) |
Re: i need assistance in completing the code
Quote:
it change only one word :( example.txt = George is good boy. example2.txt = * free * Console: What word u want to change? Me: George Constole: Write new word for change. Me: Djon example2.txt = Djon is good boy. i need to can change more 2 words. like this: example.txt = George is good boy. example2.txt = *free* Console: What word u want to change? Me: George good Constole: Write new word for change. Me: Djon bad example2.txt = Djon is bad boy. 2. 1 question: What word u want to change? 2 question: Write new word for change. 3 text: error |
Re: i need assistance in completing the code
That's a better description of the problem.
How far have you got and where are you stuck? Has it occurred to you simply to loop over the input words one at a time and use the existing code to replace that word? Then just repeat until you have no words left to replace. |
| All times are GMT +5.5. The time now is 19:00. |