lab 5 note eas230

lab 5 note eas230 - Instead of: cin >> newSongName;...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Special note: FOR NOW, YOU’LL EITHER HAVE TO STICK TO ONE-WORD SONGS, ARTISTS, AND ALBUMS (spaces freak the computer out), or use the following as a substitute for the usual cin >>
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Instead of: cin >> newSongName; // which can’t handle strings with spaces use: cin.ignore( ); getline( cin, newSongName ); // will take input including spaces...
View Full Document

This document was uploaded on 12/05/2011.

Ask a homework question - tutors are online