Click here to Skip to main content
15,500,453 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: stl::list --- Issue using lists.. Pin
Maximilien27-Aug-08 14:32
MemberMaximilien27-Aug-08 14:32 
AnswerRe: stl::list --- Issue using lists.. Pin
FrankMookie27-Aug-08 14:42
MemberFrankMookie27-Aug-08 14:42 
GeneralRe: stl::list --- Issue using lists.. Pin
David Crow28-Aug-08 5:02
MemberDavid Crow28-Aug-08 5:02 
GeneralRe: stl::list --- Issue using lists.. Pin
FrankMookie28-Aug-08 5:26
MemberFrankMookie28-Aug-08 5:26 
GeneralRe: stl::list --- Issue using lists.. Pin
David Crow28-Aug-08 5:36
MemberDavid Crow28-Aug-08 5:36 
GeneralRe: stl::list --- Issue using lists.. Pin
FrankMookie28-Aug-08 5:40
MemberFrankMookie28-Aug-08 5:40 
GeneralRe: stl::list --- Issue using lists.. Pin
David Crow28-Aug-08 5:46
MemberDavid Crow28-Aug-08 5:46 
GeneralRe: stl::list --- Issue using lists.. Pin
FrankMookie28-Aug-08 6:18
MemberFrankMookie28-Aug-08 6:18 
I'm not sure i understand that.. Can you give me an example?

This is the code I have to display the music from ONE specific Band:

Main.cpp
cout<<"Whats the name of the band you want to search music from? ";
fflush(stdin); getline(cin,name);
band = myManager.select_band_name(name);
if(band!=0)
{
system("cls");
cout << "List of " << name <<"'s music.\n" << endl;
band->show_available_music();
}


Band.cpp
void Band::show_available_music()
{
     list<Music>::iterator it;
     for ( it=available_music_list.begin() ; it != available_music_list.end(); it++ )
    cout << *it << endl;
}


"Failure is always an option."

QuestionRe: stl::list --- Issue using lists.. Pin
David Crow28-Aug-08 6:40
MemberDavid Crow28-Aug-08 6:40 
GeneralRe: stl::list --- Issue using lists.. Pin
FrankMookie28-Aug-08 6:48
MemberFrankMookie28-Aug-08 6:48 
QuestionSplitting Up Numbers Pin
Diagathon27-Aug-08 12:40
MemberDiagathon27-Aug-08 12:40 
AnswerRe: Splitting Up Numbers Pin
Dr. Emmett Brown27-Aug-08 13:08
MemberDr. Emmett Brown27-Aug-08 13:08 
GeneralRe: Splitting Up Numbers Pin
Robert.C.Cartaino27-Aug-08 13:37
MemberRobert.C.Cartaino27-Aug-08 13:37 
GeneralRe: Splitting Up Numbers Pin
David Crow28-Aug-08 5:04
MemberDavid Crow28-Aug-08 5:04 
GeneralRe: Splitting Up Numbers Pin
Diagathon29-Aug-08 9:12
MemberDiagathon29-Aug-08 9:12 
QuestionSmall usability issue with MFC Splitter window/ windows explorer style application Pin
Sternocera27-Aug-08 12:27
MemberSternocera27-Aug-08 12:27 
AnswerRe: Small usability issue with MFC Splitter window/ windows explorer style application Pin
led mike27-Aug-08 12:44
Memberled mike27-Aug-08 12:44 
GeneralRe: Small usability issue with MFC Splitter window/ windows explorer style application Pin
Sternocera27-Aug-08 12:51
MemberSternocera27-Aug-08 12:51 
QuestionHow do I know the size of the char for ReadFile before reading the actual file. [modified] Pin
luisgrimaldo27-Aug-08 12:17
Memberluisgrimaldo27-Aug-08 12:17 
AnswerRe: How do I know the size of the char for ReadFile before reading the actual file. Pin
led mike27-Aug-08 12:47
Memberled mike27-Aug-08 12:47 
GeneralRe: How do I know the size of the char for ReadFile before reading the actual file. Pin
luisgrimaldo27-Aug-08 13:04
Memberluisgrimaldo27-Aug-08 13:04 
GeneralRe: How do I know the size of the char for ReadFile before reading the actual file. Pin
David Crow28-Aug-08 5:06
MemberDavid Crow28-Aug-08 5:06 
QuestionNeural Network Function Estimation Pin
Ehsan Baghaki27-Aug-08 11:07
MemberEhsan Baghaki27-Aug-08 11:07 
QuestionSetting menu item disabled state problem Pin
nick0122327-Aug-08 9:12
Membernick0122327-Aug-08 9:12 
QuestionRe: Setting menu item disabled state problem Pin
Mark Salsbery27-Aug-08 9:54
MemberMark Salsbery27-Aug-08 9:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.