Click here to Skip to main content
15,920,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralIt's really a complicated problem-Help me to get solution Pin
Billar30-Sep-04 3:21
Billar30-Sep-04 3:21 
GeneralRe: It's really a complicated problem-Help me to get solution Pin
Michael P Butler30-Sep-04 3:40
Michael P Butler30-Sep-04 3:40 
Generalneed some advice... Pin
godbert30-Sep-04 3:07
godbert30-Sep-04 3:07 
GeneralRe: need some advice... Pin
Iain Clarke, Warrior Programmer30-Sep-04 4:30
Iain Clarke, Warrior Programmer30-Sep-04 4:30 
Generalcopying vectors/lists Pin
mcsherry30-Sep-04 3:05
mcsherry30-Sep-04 3:05 
GeneralRe: copying vectors/lists Pin
Joaquín M López Muñoz30-Sep-04 9:06
Joaquín M López Muñoz30-Sep-04 9:06 
GeneralRe: copying vectors/lists Pin
mcsherry30-Sep-04 9:39
mcsherry30-Sep-04 9:39 
GeneralRe: copying vectors/lists Pin
Joaquín M López Muñoz30-Sep-04 10:21
Joaquín M López Muñoz30-Sep-04 10:21 
Just so I've understood correctly all I need to do is

list1 = list2

and then list1 will have copies of all of the elements in list2 and then any changes I do in either list will not be reflected in the other list?


Correct.

If so this is a lot easier than the method I implemented!!! (I went through the list in a while loop and then copied each element, not very efficient)

I don't want to dissapoint you, but basically the internals of list1 = list2 do the same kind of loop that you were using, so don't expect any performance improvement Frown | :(


Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
Generaledt1 problem in vc .net Pin
Michael Liu30-Sep-04 2:45
Michael Liu30-Sep-04 2:45 
GeneralRe: edt1 problem in vc .net Pin
Iain Clarke, Warrior Programmer30-Sep-04 5:10
Iain Clarke, Warrior Programmer30-Sep-04 5:10 
GeneralData transfer from one dialog to a property page. Pin
Rajesh_K_Sharma30-Sep-04 2:23
Rajesh_K_Sharma30-Sep-04 2:23 
GeneralRe: Data transfer from one dialog to a property page. Pin
David Crow30-Sep-04 5:08
David Crow30-Sep-04 5:08 
GeneralMaterializing derived classes Pin
Jerome Conus30-Sep-04 2:00
Jerome Conus30-Sep-04 2:00 
GeneralRe: Materializing derived classes Pin
Iain Clarke, Warrior Programmer30-Sep-04 4:48
Iain Clarke, Warrior Programmer30-Sep-04 4:48 
GeneralTo track an errors-messages Pin
Billar30-Sep-04 1:32
Billar30-Sep-04 1:32 
Generalstl iterators Pin
RChin30-Sep-04 1:21
RChin30-Sep-04 1:21 
GeneralRe: stl iterators Pin
RChin30-Sep-04 1:48
RChin30-Sep-04 1:48 
GeneralRe: stl iterators Pin
Iain Clarke, Warrior Programmer30-Sep-04 4:54
Iain Clarke, Warrior Programmer30-Sep-04 4:54 
GeneralRe: stl iterators Pin
Joaquín M López Muñoz30-Sep-04 9:10
Joaquín M López Muñoz30-Sep-04 9:10 
GeneralRe: stl iterators Pin
RChin30-Sep-04 23:20
RChin30-Sep-04 23:20 
GeneralAsserion failed Pin
30-Sep-04 0:22
suss30-Sep-04 0:22 
GeneralRe: Asserion failed Pin
22491730-Sep-04 1:08
22491730-Sep-04 1:08 
GeneralRe: Asserion failed Pin
David Crow30-Sep-04 5:48
David Crow30-Sep-04 5:48 
GeneralProvide an Interface to my Program Pin
sweep12329-Sep-04 22:55
sweep12329-Sep-04 22:55 
GeneralRe: Provide an Interface to my Program Pin
22491730-Sep-04 1:25
22491730-Sep-04 1:25 

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.