I have started a code to declare what I need...now I need to input the information from a file each line is a song with a space inbetween...
Then after I get the data I have to be able to seach by artist or title...and output matches
PLEASE help...
this is what i have so far...
#include <iostream>
#include <fstream>
using namespace std;
const int totalSongs=50;
int main ()
{
struct SongInfo //Declares Struct
{
string ArtistName;
string Title;
string Style;
int LengthinSeconds;
string notes;
float Price;
};
SongInfo Songs[totalSongs]; //Declares Array
return 0;
}