Click here to Skip to main content
16,016,192 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwhy view2 can printpreview and view1 can not? Pin
fffly30-May-04 18:11
fffly30-May-04 18:11 
GeneralGUI: Title bar Pin
TrungHuynh30-May-04 17:29
TrungHuynh30-May-04 17:29 
GeneralC++ Function template help Pin
Indrawati30-May-04 17:16
Indrawati30-May-04 17:16 
GeneralRe: C++ Function template help Pin
Andrew Walker30-May-04 20:12
Andrew Walker30-May-04 20:12 
GeneralRe: C++ Function template help Pin
Indrawati30-May-04 20:18
Indrawati30-May-04 20:18 
GeneralRe: C++ Function template help Pin
Paul Ranson31-May-04 13:09
Paul Ranson31-May-04 13:09 
GeneralRe: C++ Function template help Pin
Indrawati31-May-04 16:04
Indrawati31-May-04 16:04 
GeneralRe: C++ Function template help Pin
Paul Ranson1-Jun-04 6:10
Paul Ranson1-Jun-04 6:10 
I think your GPF is a consequence of the compiler rather than the code.

But I don't think you're going to learn anything interesting about vector per se from this type of test. The dominant factor will be allocation and reallocation. Any real usage where you know how big you want the vector would call reserve first. And if you want to get to very large arrays of ordinary types then reverting to new/delete and manual management of length is probably going to be notably more efficient.

Paul
QuestionCWebBrowser OnResizeTo event? Pin
surfordie30-May-04 17:14
surfordie30-May-04 17:14 
AnswerRe: CWebBrowser OnResizeTo event? Pin
Anthony_Yio31-May-04 1:17
Anthony_Yio31-May-04 1:17 
QuestionCFile::Open Timeout's?? Pin
shultas30-May-04 15:23
shultas30-May-04 15:23 
AnswerRe: CFile::Open Timeout's?? Pin
Anthony_Yio31-May-04 0:40
Anthony_Yio31-May-04 0:40 
GeneralAccess key Pin
JR Shih30-May-04 14:47
JR Shih30-May-04 14:47 
GeneralRe: Access key Pin
Anthony_Yio31-May-04 0:51
Anthony_Yio31-May-04 0:51 
GeneralRe: Access key Pin
JR Shih31-May-04 2:25
JR Shih31-May-04 2:25 
Generalsending messages to the main window Pin
kfaday30-May-04 14:32
kfaday30-May-04 14:32 
GeneralRe: sending messages to the main window Pin
Ryan Binns30-May-04 18:07
Ryan Binns30-May-04 18:07 
GeneralRe: sending messages to the main window Pin
kfaday31-May-04 2:49
kfaday31-May-04 2:49 
GeneralRe: sending messages to the main window Pin
Anthony_Yio31-May-04 0:59
Anthony_Yio31-May-04 0:59 
GeneralRe: sending messages to the main window Pin
kfaday31-May-04 2:50
kfaday31-May-04 2:50 
Generalerror C2065: 'cout' : undeclared identifier Pin
Anonymous30-May-04 13:43
Anonymous30-May-04 13:43 
GeneralRe: error C2065: 'cout' : undeclared identifier Pin
kfaday30-May-04 14:37
kfaday30-May-04 14:37 
GeneralRe: error C2065: 'cout' : undeclared identifier Pin
Michael Dunn30-May-04 16:25
sitebuilderMichael Dunn30-May-04 16:25 
Generalform background bitmap Pin
zubeido30-May-04 13:41
zubeido30-May-04 13:41 
GeneralRe: form background bitmap Pin
Michael Dunn30-May-04 16:27
sitebuilderMichael Dunn30-May-04 16:27 

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.