how can i do


How do I work the program the user enters what he wants of the words

Do we need the matrices to do it or what functions or how or what can be done
closed account (zb0S216C)
Wha'?

Apologies if I'm rude here, but a question should be structured and well presented. Well, your post lacks the latter. In as much detail as possible, could you edit your post so that your question is more clear?

Wazzak
closed account (10oTURfi)
I think I know what he wants to do. If we ignore second line... it would be like this

1
2
3
4
5
6
7
8
9
10
11
#include <string>
using namespace std;

int main()
{
string myStr;
cin >> myStr;
cout << myStr << endl;

return 0;
}


???
Last edited on
thank you ((formwork )) & ((krofna)) :

formwork :

i want to make program user write what he want of words ???


and the program write how much the word Repeated

krofna

this True

but how a compiler now when it stoppp

thans for tour replay


??
closed account (zb0S216C)
virus ha3 wrote:
formwork (sic)

Please, at least spell my user name correctly.

I think I understand what you want. You want the user to enter a string. You then take the string then tell the user the the amount of times a word occurred. Correct?

Wazzak

this ture

yes

yes


yes
yesss
closed account (10oTURfi)
??
this ture

yes

yes


yes
yesss



Now this is some weird shit aint it?
Last edited on
yes

i want the user to enter a string. You then take the string then tell the user the the amount of times a word occurred. Correct?
Duplicate thread, I think...
http://www.cplusplus.com/forum/beginner/52483/
I have tried a lot but failed to end

Please write the code full
Please write the code full
Topic archived. No new replies allowed.