Click here to Skip to main content
15,887,267 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Looking for Freelance ATL Programmers Pin
toxcct7-Mar-06 22:11
toxcct7-Mar-06 22:11 
QuestionUsing VC7.1 compiler under VC6 IDE.... woes.... :S Pin
kevingpo6-Mar-06 23:52
kevingpo6-Mar-06 23:52 
AnswerRe: Using VC7.1 compiler under VC6 IDE.... woes.... :S Pin
Stuart Dootson7-Mar-06 20:38
professionalStuart Dootson7-Mar-06 20:38 
QuestionAdding vectors Pin
Anil_vvs5-Mar-06 18:21
Anil_vvs5-Mar-06 18:21 
AnswerRe: Adding vectors Pin
toxcct5-Mar-06 22:07
toxcct5-Mar-06 22:07 
GeneralRe: Adding vectors Pin
Anil_vvs5-Mar-06 22:13
Anil_vvs5-Mar-06 22:13 
GeneralRe: Adding vectors Pin
Stephen Hewitt5-Mar-06 23:29
Stephen Hewitt5-Mar-06 23:29 
AnswerRe: Adding vectors Pin
Stephen Hewitt5-Mar-06 22:40
Stephen Hewitt5-Mar-06 22:40 
If you mean make a third vector by summing two other vectors? If yes this code will do it:
vector<int> v1, v2, vout;
// Other code here...
ASSERT(v2.size()>=v1.size());
transform(v1.begin(), v1.end(), v2.begin(), back_inserter(vout), plus());


This code assums the following:
#include <vector>
#include <algorithm>
#include <iterator>
#include <functional>
using namespace std;




Steve
QuestionRGBQUAD Pin
davidhart1-Mar-06 5:38
davidhart1-Mar-06 5:38 
AnswerRe: RGBQUAD Pin
John R. Shaw4-Mar-06 16:09
John R. Shaw4-Mar-06 16:09 
AnswerRe: RGBQUAD Pin
Chris Losinger7-Mar-06 10:00
professionalChris Losinger7-Mar-06 10:00 
QuestionStrange ActiveX behaviour Pin
Monty21-Mar-06 2:58
Monty21-Mar-06 2:58 
QuestionHWND of an ActiveX control Pin
Monty228-Feb-06 23:39
Monty228-Feb-06 23:39 
AnswerRe: HWND of an ActiveX control Pin
Stephen Hewitt1-Mar-06 11:53
Stephen Hewitt1-Mar-06 11:53 
GeneralRe: HWND of an ActiveX control [Edited] Pin
Monty21-Mar-06 20:47
Monty21-Mar-06 20:47 
GeneralRe: HWND of an ActiveX control [Edited] Pin
Stephen Hewitt1-Mar-06 21:43
Stephen Hewitt1-Mar-06 21:43 
Questionundefined class 'ATL_NO_VTABLE Pin
saravana pandy28-Feb-06 21:57
saravana pandy28-Feb-06 21:57 
AnswerRe: undefined class 'ATL_NO_VTABLE Pin
User 2155972-Mar-06 19:38
User 2155972-Mar-06 19:38 
Questionabout WTL Attach some window. Pin
FlyWithYou28-Feb-06 17:03
FlyWithYou28-Feb-06 17:03 
AnswerRe: about WTL Attach some window. Pin
Steve Echols28-Feb-06 19:29
Steve Echols28-Feb-06 19:29 
GeneralRe: about WTL Attach some window. Pin
FlyWithYou28-Feb-06 20:25
FlyWithYou28-Feb-06 20:25 
GeneralRe: about WTL Attach some window. Pin
Steve Echols28-Feb-06 20:53
Steve Echols28-Feb-06 20:53 
GeneralRe: about WTL Attach some window. Pin
Jörgen Sigvardsson28-Feb-06 21:36
Jörgen Sigvardsson28-Feb-06 21:36 
Questionhow hook the one proces(or thread) all the windows? Pin
HOW WHAT26-Feb-06 20:31
HOW WHAT26-Feb-06 20:31 
Questionhow to notify COM class in another class Pin
brygid26-Feb-06 19:03
brygid26-Feb-06 19:03 

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.