Click here to Skip to main content
15,918,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Pipes Pin
Mark Salsbery22-Nov-07 14:59
Mark Salsbery22-Nov-07 14:59 
QuestionGuiToolKit and ADO [modified] Pin
followait22-Nov-07 5:30
followait22-Nov-07 5:30 
QuestionHow to Copy one vector onto the END of another vector Pin
Larry Mills Sr22-Nov-07 5:13
Larry Mills Sr22-Nov-07 5:13 
AnswerRe: How to Copy one vector onto the END of another vector Pin
jhwurmbach22-Nov-07 5:40
jhwurmbach22-Nov-07 5:40 
GeneralRe: How to Copy one vector onto the END of another vector Pin
toxcct22-Nov-07 7:28
toxcct22-Nov-07 7:28 
AnswerRe: How to Copy one vector onto the END of another vector Pin
toxcct22-Nov-07 6:57
toxcct22-Nov-07 6:57 
GeneralRe: How to Copy one vector onto the END of another vector [modified] Pin
Larry Mills Sr22-Nov-07 8:01
Larry Mills Sr22-Nov-07 8:01 
GeneralRe: How to Copy one vector onto the END of another vector Pin
toxcct22-Nov-07 8:08
toxcct22-Nov-07 8:08 
ok, i'm detailing a bit more.

the STL is a set of classes, all in the standard of C++.
some of the classes are containers (vector is one of these).
some other classes are called algorithms. they are designed to do common actions on the containers. copying a part of a container into another is one of those common things we can except of it.

if you have a vector v1, which contains say {4, 7, -1} and a vector v2, which has {2, 9}, then you just copy the line of code just like I did and after that, v2 will contain {2, 9, 4, 7, -1}.
actually, v1 is copied entierely because i told the copy() algorithm to do so. i said to start the copy from the first element of v1 (v1.begin()) and to copy to the end (v1.end()).
also, the elements of v1 are copied at the end of v2 because I use the back_inserter() alorithm, which is designed to insert at the back.



GeneralRe: How to Copy one vector onto the END of another vector Pin
Larry Mills Sr22-Nov-07 8:31
Larry Mills Sr22-Nov-07 8:31 
GeneralRe: How to Copy one vector onto the END of another vector Pin
toxcct22-Nov-07 8:35
toxcct22-Nov-07 8:35 
GeneralRe: How to Copy one vector onto the END of another vector Pin
Larry Mills Sr22-Nov-07 15:05
Larry Mills Sr22-Nov-07 15:05 
GeneralRe: How to Copy one vector onto the END of another vector [modified] Pin
toxcct22-Nov-07 21:07
toxcct22-Nov-07 21:07 
GeneralRe: How to Copy one vector onto the END of another vector Pin
Larry Mills Sr23-Nov-07 8:31
Larry Mills Sr23-Nov-07 8:31 
GeneralRe: How to Copy one vector onto the END of another vector Pin
super_ttd23-Nov-07 23:17
super_ttd23-Nov-07 23:17 
GeneralRe: How to Copy one vector onto the END of another vector Pin
Larry Mills Sr24-Nov-07 6:41
Larry Mills Sr24-Nov-07 6:41 
GeneralRe: How to Copy one vector onto the END of another vector Pin
toxcct25-Nov-07 21:14
toxcct25-Nov-07 21:14 
QuestionVersioning a Win32 DLL Pin
Rajesh_Parameswaran22-Nov-07 4:58
Rajesh_Parameswaran22-Nov-07 4:58 
AnswerRe: Versioning a Win32 DLL Pin
Mark Salsbery22-Nov-07 6:59
Mark Salsbery22-Nov-07 6:59 
QuestionAdding a Toolbar window into a MDI frame window Pin
Tien-Thong22-Nov-07 4:55
Tien-Thong22-Nov-07 4:55 
AnswerRe: Adding a Toolbar window into a MDI frame window Pin
Prasann Mayekar23-Nov-07 18:26
Prasann Mayekar23-Nov-07 18:26 
QuestionAddPrinter() fails with Error Code 126 Pin
dubbele onzin22-Nov-07 2:32
dubbele onzin22-Nov-07 2:32 
GeneralRe: AddPrinter() fails with Error Code 126 Pin
Nelek5-Dec-07 4:02
protectorNelek5-Dec-07 4:02 
QuestionIs that possible to run an EXE file that is placed inside a data file ? Pin
sdancer7522-Nov-07 2:12
sdancer7522-Nov-07 2:12 
AnswerRe: Is that possible to run an EXE file that is placed inside a data file ? Pin
Iain Clarke, Warrior Programmer22-Nov-07 3:44
Iain Clarke, Warrior Programmer22-Nov-07 3:44 
GeneralRe: Is that possible to run an EXE file that is placed inside a data file ? Pin
sdancer7523-Nov-07 3:57
sdancer7523-Nov-07 3:57 

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.