that's the code he gave me but i don't know how to apply it to my code. (will post below)
So what's that code do? That the first thing to understand if you want to use it.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
That's what the code does that your teacher gave you? It doesn't look big enough.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
excuse me i didn't understand what you had said. no what my teacher gave me he said its supposed to help with my cin statement.
OK, continue with the pulling of teeth:So what's that code do? That's the first thing to understand if you want to use it.
Look at the code. Look up the parts you don't already know. You need to understand the code he gave you. Use your book and GOOGLE.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
i do know it's supposed to print each line of my array...
No it doesn't.i understand what he gave me...
No you don't.
Look at it again.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
Code cannot do 2 things at once. I can only do one thing then the other. If you would stop being cryptic and give us the necessary details to understand your specific question, we would probably be able to help.
But this "I know what I'm doing but it doesn't work" gives us nothing to go on.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
Now you're making sense. This is only possible with certain compilers because asynchronous input is not part of the C++ Standard. What'cha usin'?
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944