Click here to Skip to main content
15,312,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionmulity line edit control Pin
ani_ikram27-Aug-08 17:53
Memberani_ikram27-Aug-08 17:53 
AnswerRe: mulity line edit control Pin
Naveen27-Aug-08 18:20
MemberNaveen27-Aug-08 18:20 
GeneralRe: mulity line edit control Pin
ani_ikram27-Aug-08 19:01
Memberani_ikram27-Aug-08 19:01 
QuestionRe: mulity line edit control Pin
David Crow28-Aug-08 3:59
MemberDavid Crow28-Aug-08 3:59 
QuestionCArray::RemoveAt() causes Unhandled exception Pin
rp_suman27-Aug-08 16:13
Memberrp_suman27-Aug-08 16:13 
QuestionRe: CArray::RemoveAt() causes Unhandled exception Pin
Mark Salsbery28-Aug-08 6:16
MemberMark Salsbery28-Aug-08 6:16 
QuestionChanging the filenames in the Common File Dialog Pin
Tony Rowe27-Aug-08 14:51
MemberTony Rowe27-Aug-08 14:51 
Questionstl::list --- Issue using lists.. Pin
FrankMookie27-Aug-08 13:22
MemberFrankMookie27-Aug-08 13:22 
Hi..
I want to display the all content of a list.
I have this function in 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;
}


Now in Main.cpp I want to have an option of all the music in the list.
The only thing that comes to my mind is:
band->show_available_music();

But obviously it doesn't work.. can anyone help with this? Thanks

"Failure is always an option."

QuestionRe: stl::list --- Issue using lists.. Pin
Maximilien27-Aug-08 13:32
MemberMaximilien27-Aug-08 13:32 
AnswerRe: stl::list --- Issue using lists.. Pin
FrankMookie27-Aug-08 13:42
MemberFrankMookie27-Aug-08 13:42 
GeneralRe: stl::list --- Issue using lists.. Pin
David Crow28-Aug-08 4:02
MemberDavid Crow28-Aug-08 4:02 
GeneralRe: stl::list --- Issue using lists.. Pin
FrankMookie28-Aug-08 4:26
MemberFrankMookie28-Aug-08 4:26 
GeneralRe: stl::list --- Issue using lists.. Pin
David Crow28-Aug-08 4:36
MemberDavid Crow28-Aug-08 4:36 
GeneralRe: stl::list --- Issue using lists.. Pin
FrankMookie28-Aug-08 4:40
MemberFrankMookie28-Aug-08 4:40 
GeneralRe: stl::list --- Issue using lists.. Pin
David Crow28-Aug-08 4:46
MemberDavid Crow28-Aug-08 4:46 
GeneralRe: stl::list --- Issue using lists.. Pin
FrankMookie28-Aug-08 5:18
MemberFrankMookie28-Aug-08 5:18 
QuestionRe: stl::list --- Issue using lists.. Pin
David Crow28-Aug-08 5:40
MemberDavid Crow28-Aug-08 5:40 
GeneralRe: stl::list --- Issue using lists.. Pin
FrankMookie28-Aug-08 5:48
MemberFrankMookie28-Aug-08 5:48 
QuestionSplitting Up Numbers Pin
Diagathon27-Aug-08 11:40
MemberDiagathon27-Aug-08 11:40 
AnswerRe: Splitting Up Numbers Pin
Dr. Emmett Brown27-Aug-08 12:08
MemberDr. Emmett Brown27-Aug-08 12:08 
GeneralRe: Splitting Up Numbers Pin
Robert.C.Cartaino27-Aug-08 12:37
MemberRobert.C.Cartaino27-Aug-08 12:37 
GeneralRe: Splitting Up Numbers Pin
David Crow28-Aug-08 4:04
MemberDavid Crow28-Aug-08 4:04 
GeneralRe: Splitting Up Numbers Pin
Diagathon29-Aug-08 8:12
MemberDiagathon29-Aug-08 8:12 
QuestionSmall usability issue with MFC Splitter window/ windows explorer style application Pin
Sternocera27-Aug-08 11:27
MemberSternocera27-Aug-08 11:27 
AnswerRe: Small usability issue with MFC Splitter window/ windows explorer style application Pin
led mike27-Aug-08 11:44
Memberled mike27-Aug-08 11:44 

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.