One of my C++ books was showing the line cin.getline(arg, arg)
and later showing getline(cin, arg)
. Why is the second one not object.function and yet have the object as one of the arguments? What's the difference?
lewashby 56 Junior 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.