Click here to Skip to main content
15,921,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Updation of Editboxes individually Pin
Ryan Binns27-Jun-03 1:20
Ryan Binns27-Jun-03 1:20 
GeneralShellExecute Pin
Anonymous27-Jun-03 0:18
Anonymous27-Jun-03 0:18 
GeneralRe: ShellExecute Pin
User 665827-Jun-03 1:02
User 665827-Jun-03 1:02 
GeneralRe: ShellExecute Pin
Rage27-Jun-03 1:05
professionalRage27-Jun-03 1:05 
GeneralRe: ShellExecute Pin
Anonymous27-Jun-03 1:20
Anonymous27-Jun-03 1:20 
GeneralRe: ShellExecute Pin
basementman27-Jun-03 3:53
basementman27-Jun-03 3:53 
GeneralRe: ShellExecute Pin
Rage27-Jun-03 4:37
professionalRage27-Jun-03 4:37 
Generalquestion about STL list Pin
zecodela26-Jun-03 23:55
zecodela26-Jun-03 23:55 
hi,
i am newbie to STL.
i want to know if i have a list for storing struct. after i insert a struct in it, it will store the reference or make of in the list?
my worry is memory leakage if i don't remove the struct properly after remove it from the list.

list<control> ctrllist;
void addtolist()
{
control a;
a.id=1; a.value=10;
ctrllist.push_back(a);
}
void removelist()
{
// how to remove from list properly?
//ctrllist.remove(???)???
}

any help?
thanks,
jim
GeneralRe: question about STL list Pin
zecodela27-Jun-03 0:01
zecodela27-Jun-03 0:01 
GeneralRe: question about STL list Pin
Joaquín M López Muñoz27-Jun-03 0:42
Joaquín M López Muñoz27-Jun-03 0:42 
GeneralRe: question about STL list Pin
zecodela27-Jun-03 0:52
zecodela27-Jun-03 0:52 
GeneralRe: question about STL list Pin
Joaquín M López Muñoz27-Jun-03 2:58
Joaquín M López Muñoz27-Jun-03 2:58 
GeneralSerial port question Pin
andyg.10126-Jun-03 23:14
andyg.10126-Jun-03 23:14 
GeneralRe: Serial port question Pin
Anonymous27-Jun-03 0:31
Anonymous27-Jun-03 0:31 
GeneralRe: Serial port question Pin
andyg.10127-Jun-03 0:35
andyg.10127-Jun-03 0:35 
GeneralRe: Serial port question Pin
Anonymous27-Jun-03 1:25
Anonymous27-Jun-03 1:25 
GeneralRe: Serial port question Pin
Trollslayer27-Jun-03 1:37
mentorTrollslayer27-Jun-03 1:37 
GeneralRe: Serial port question Pin
andyg.10127-Jun-03 3:11
andyg.10127-Jun-03 3:11 
GeneralVC++ 6.0 Vs VC++.Net Pin
Shiva Prasad T. S.26-Jun-03 21:00
Shiva Prasad T. S.26-Jun-03 21:00 
GeneralRe: VC++ 6.0 Vs VC++.Net Pin
Toni7826-Jun-03 21:26
Toni7826-Jun-03 21:26 
GeneralRe: VC++ 6.0 Vs VC++.Net Pin
Kannan Kalyanaraman26-Jun-03 23:40
Kannan Kalyanaraman26-Jun-03 23:40 
GeneralRe: VC++ 6.0 Vs VC++.Net Pin
John M. Drescher27-Jun-03 3:42
John M. Drescher27-Jun-03 3:42 
GeneralFILE* into a char* Pin
Jerome Conus26-Jun-03 20:55
Jerome Conus26-Jun-03 20:55 
GeneralRe: FILE* into a char* Pin
Ryan Binns26-Jun-03 21:20
Ryan Binns26-Jun-03 21:20 
GeneralRe: FILE* into a char* Pin
basementman27-Jun-03 4:01
basementman27-Jun-03 4:01 

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.