kindly help me n tell me in 2 dimension array wen we r taking words as input then cin would be used or getch..???plz replay.me waiting
anumiqbal
0
Newbie Poster
Recommended Answers
Jump to Postcin would be used or getch
First of all, getch() is not a standard function. Avoid using it.
Secondly, getch() won't echo what user have entered, that is it will not show in screen what user has entered.
Third, use cin when you are taking just a single …
All 4 Replies
Bob
15
using namespace Bob
Team Colleague
MandrewP
60
Junior Poster in Training
np complete
8
Newbie Poster
Neild
commented:
getline() can also be used
+0
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.