how to get a string using array?
and how can I get input in this format
string|12.3 12.23 |
example;with no space between the lines and when user enter 0 it will exit
david|12.3 24.2|
Peter|12.4 24.2|
soroushc 0 Newbie Poster
Recommended Answers
Jump to PostYeah... what?
Jump to PostLooks like English isn't your native language. Unforturnately, that means it is difficult for me to understand what you are trying to do.
getline() will accept input from the keyboard (or other source) and store it in a string variable. It has nothing to do with how the value …
All 7 Replies
Comatose 290 Taboo Programmer Team Colleague
soroushc 0 Newbie Poster
Lerner 582 Nearly a Posting Maven
soroushc 0 Newbie Poster
Lerner 582 Nearly a Posting Maven
soroushc 0 Newbie Poster
VernonDozier 2,218 Posting Expert Featured Poster
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.