basically if i ask for an string i.e. i ask someone a question cout<< "is this correct yes or no?"; cin >> a; and then a number is input the program just goes crazy how do i solve this??
afromong 0
Newbie Poster
Recommended Answers
Jump to PostYou need to be a little more clear in what your asking. I can understand very little of what you have said.
Have you included the string library?
All 2 Replies
Reply to this topic
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.