Ok I'm working with a program that uses addresses and with all of the Interesting charecters (. / \ and spaces) I need tO get a line of characters. I know how to do this with ifstream but how would I do this with plain old cin?

std::string buffer;
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.