Click here to Skip to main content
15,885,007 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: problem in Beep function. Pin
David Crow14-May-09 2:45
David Crow14-May-09 2:45 
AnswerRe: problem in Beep function. Pin
Le@rner14-May-09 2:46
Le@rner14-May-09 2:46 
AnswerRe: problem in Beep function. Pin
bulg14-May-09 7:20
bulg14-May-09 7:20 
AnswerRe: problem in Beep function. Pin
Madhu Nair14-May-09 8:12
Madhu Nair14-May-09 8:12 
GeneralRe: problem in Beep function. Pin
Le@rner14-May-09 18:40
Le@rner14-May-09 18:40 
Questionusing CList Pin
12Code14-May-09 0:19
12Code14-May-09 0:19 
AnswerRe: using CList Pin
Stuart Dootson14-May-09 1:14
professionalStuart Dootson14-May-09 1:14 
AnswerRe: using CList Pin
toxcct14-May-09 1:51
toxcct14-May-09 1:51 
you see no difference because the differences are underground.

the second parameter is meant to tell to CList how it's gonna handle your list elements like.

a CTime template parameter tells to use so as methods parameter, that means each time you pass an element to a CList method (such as Add()), it will pass a CTime. that means the parameter will be passed by copy.

a CTime& (or even better a const CTime&) template parameter will have you make no changes in your code, but it will handle references, so no copies anymore.

the difference between the 2 is in the memory consumption and in the performances of the program.


AnswerRe: using CList Pin
CPallini14-May-09 2:26
mveCPallini14-May-09 2:26 
Questionconverting pdf to any image format [modified] Pin
Ash_VCPP13-May-09 23:56
Ash_VCPP13-May-09 23:56 
AnswerRe: converting pdf to any image format Pin
Imran Khan Pathan14-May-09 0:20
Imran Khan Pathan14-May-09 0:20 
GeneralRe: converting pdf to any image format Pin
Ash_VCPP14-May-09 0:32
Ash_VCPP14-May-09 0:32 
QuestionFile Encryption and Encrypted text embedding in an image question.........?? Pin
young woo hur13-May-09 23:54
young woo hur13-May-09 23:54 
AnswerRe: File Encryption and Encrypted text embedding in an image question.........?? Pin
enhzflep14-May-09 0:19
enhzflep14-May-09 0:19 
QuestionReading from a txt file Pin
V K 213-May-09 23:35
V K 213-May-09 23:35 
AnswerRe: Reading from a txt file Pin
kapardhi13-May-09 23:39
kapardhi13-May-09 23:39 
AnswerRe: Reading from a txt file Pin
Fatbuddha 113-May-09 23:41
Fatbuddha 113-May-09 23:41 
AnswerRe: Reading from a txt file Pin
Chandrasekharan P13-May-09 23:45
Chandrasekharan P13-May-09 23:45 
AnswerRe: Reading from a txt file Pin
Madhu Nair14-May-09 0:54
Madhu Nair14-May-09 0:54 
GeneralRe: Reading from a txt file Pin
V K 214-May-09 1:09
V K 214-May-09 1:09 
GeneralRe: Reading from a txt file Pin
toxcct14-May-09 2:03
toxcct14-May-09 2:03 
QuestionRe: Reading from a txt file Pin
David Crow14-May-09 2:48
David Crow14-May-09 2:48 
AnswerRe: Reading from a txt file Pin
toxcct14-May-09 2:49
toxcct14-May-09 2:49 
AnswerRe: Reading from a txt file Pin
Madhu Nair14-May-09 8:21
Madhu Nair14-May-09 8:21 
QuestionHow to get a JPG image from an .jp2 image ? [modified] Pin
kapardhi13-May-09 23:17
kapardhi13-May-09 23:17 

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.