Click here to Skip to main content
15,912,082 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: function needs pointer not vector Pin
Ryan Binns22-Jun-06 1:22
Ryan Binns22-Jun-06 1:22 
GeneralRe: function needs pointer not vector Pin
Stephen Hewitt22-Jun-06 1:41
Stephen Hewitt22-Jun-06 1:41 
GeneralRe: function needs pointer not vector Pin
Ryan Binns22-Jun-06 2:03
Ryan Binns22-Jun-06 2:03 
AnswerRe: function needs pointer not vector Pin
Viorel.22-Jun-06 1:23
Viorel.22-Jun-06 1:23 
AnswerRe: function needs pointer not vector Pin
FarPointer22-Jun-06 1:24
FarPointer22-Jun-06 1:24 
GeneralRe: function needs pointer not vector Pin
Chris Losinger22-Jun-06 1:26
professionalChris Losinger22-Jun-06 1:26 
GeneralRe: function needs pointer not vector [modified] Pin
PhilRosenberg22-Jun-06 1:34
PhilRosenberg22-Jun-06 1:34 
GeneralRe: function needs pointer not vector Pin
Stephen Hewitt22-Jun-06 1:50
Stephen Hewitt22-Jun-06 1:50 
This technique is used by many. It's fine for vector. The capacity and reserve functions are even provided so the programmer can have some control over when reallocation occurs. Note however that it's can't be done with any of the other standard containers or the vector<bool> specialization.

Steve
GeneralRe: function needs pointer not vector Pin
FarPointer22-Jun-06 3:12
FarPointer22-Jun-06 3:12 
GeneralRe: function needs pointer not vector Pin
Zac Howland22-Jun-06 3:26
Zac Howland22-Jun-06 3:26 
GeneralRe: function needs pointer not vector Pin
FarPointer22-Jun-06 2:23
FarPointer22-Jun-06 2:23 
QuestionHow to access a VB.NET dll from C++ Pin
Manfred Staiger22-Jun-06 1:08
Manfred Staiger22-Jun-06 1:08 
AnswerRe: How to access a VB.NET dll from C++ Pin
led mike22-Jun-06 5:46
led mike22-Jun-06 5:46 
QuestionToolbar: mutually exclusive buttons Pin
Giulio200022-Jun-06 1:03
Giulio200022-Jun-06 1:03 
AnswerRe: Toolbar: mutually exclusive buttons Pin
Viorel.22-Jun-06 2:06
Viorel.22-Jun-06 2:06 
Questionstring (replace)-newbie Pin
antonaras22-Jun-06 1:03
antonaras22-Jun-06 1:03 
AnswerRe: string (replace)-newbie Pin
Chris Losinger22-Jun-06 1:22
professionalChris Losinger22-Jun-06 1:22 
GeneralRe: string (replace)-newbie Pin
antonaras22-Jun-06 1:31
antonaras22-Jun-06 1:31 
QuestionRe: string (replace)-newbie Pin
David Crow22-Jun-06 3:24
David Crow22-Jun-06 3:24 
Questionmemory leak Pin
Tara1422-Jun-06 0:37
Tara1422-Jun-06 0:37 
AnswerRe: memory leak Pin
_AnsHUMAN_ 22-Jun-06 0:45
_AnsHUMAN_ 22-Jun-06 0:45 
AnswerRe: memory leak Pin
capricious_00122-Jun-06 0:46
capricious_00122-Jun-06 0:46 
GeneralRe: memory leak Pin
Tara1422-Jun-06 1:22
Tara1422-Jun-06 1:22 
GeneralRe: memory leak Pin
_AnsHUMAN_ 22-Jun-06 1:27
_AnsHUMAN_ 22-Jun-06 1:27 
GeneralRe: memory leak Pin
Tara1422-Jun-06 1:59
Tara1422-Jun-06 1:59 

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.