Click here to Skip to main content
15,913,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: progress bar in list view Pin
Hamid_RT5-Feb-08 18:04
Hamid_RT5-Feb-08 18:04 
QuestionProblem with char* Pin
gReaen31-Jan-08 22:35
gReaen31-Jan-08 22:35 
GeneralRe: Problem with char* Pin
Cedric Moonen31-Jan-08 22:39
Cedric Moonen31-Jan-08 22:39 
GeneralRe: Problem with char* Pin
CPallini31-Jan-08 23:30
mveCPallini31-Jan-08 23:30 
GeneralRe: Problem with char* Pin
David Crow1-Feb-08 3:26
David Crow1-Feb-08 3:26 
GeneralRe: Problem with char* Pin
Bram van Kampen1-Feb-08 16:22
Bram van Kampen1-Feb-08 16:22 
Questioncan anybody help me out Pin
philiptabraham31-Jan-08 22:20
philiptabraham31-Jan-08 22:20 
AnswerRe: can anybody help me out [modified] Pin
Iain Clarke, Warrior Programmer31-Jan-08 22:37
Iain Clarke, Warrior Programmer31-Jan-08 22:37 
philiptabraham wrote:
can anybody help me out


Not if you don't read the sticky posting called "how to get answers", and the line that says "please use meaningful subjects". I've yet to see someone post a message with a subject of "ignore this - I don't need any assistance".

But I'll be nice anyway..

1/ The numbers are different, so there will be differences.

2/ Less trivially, the first example just calls the constructor. The second example makes two objects, (obj, and a temp one), then copies temp to obj, then destroys the temp object.

If it's CPoint, then it's trivial. If it opens / closes databases, does a network operation etc, then the difference could be HUGE.

Iain,


-------

Update: See CPallini's and my conversation later. Short version: No actual difference between the two bits of code (except the numbers!)

modified on Friday, February 01, 2008 5:13:33 AM

JokeIgnore this - I don't need any assistance Pin
Cedric Moonen31-Jan-08 22:51
Cedric Moonen31-Jan-08 22:51 
GeneralRe: Ignore this - I don't need any assistance Pin
CPallini31-Jan-08 23:15
mveCPallini31-Jan-08 23:15 
GeneralRe: Ignore this - I don't need any assistance Pin
Iain Clarke, Warrior Programmer31-Jan-08 23:42
Iain Clarke, Warrior Programmer31-Jan-08 23:42 
GeneralRe: Ignore this - I don't need any assistance Pin
CPallini31-Jan-08 23:52
mveCPallini31-Jan-08 23:52 
GeneralRe: Ignore this - I don't need any assistance Pin
Cedric Moonen1-Feb-08 0:07
Cedric Moonen1-Feb-08 0:07 
GeneralRe: can anybody help me out Pin
CPallini31-Jan-08 23:01
mveCPallini31-Jan-08 23:01 
GeneralRe: can anybody help me out Pin
Cedric Moonen31-Jan-08 23:08
Cedric Moonen31-Jan-08 23:08 
GeneralRe: can anybody help me out Pin
CPallini31-Jan-08 23:21
mveCPallini31-Jan-08 23:21 
GeneralRe: can anybody help me out Pin
Iain Clarke, Warrior Programmer31-Jan-08 23:13
Iain Clarke, Warrior Programmer31-Jan-08 23:13 
GeneralRe: can anybody help me out Pin
CPallini31-Jan-08 23:45
mveCPallini31-Jan-08 23:45 
QuestionIs there a Windows API or a method which can convert FILE* to HANDLE of a file or convert HANDLE to FILE* ?? Pin
Jude Deng31-Jan-08 22:13
Jude Deng31-Jan-08 22:13 
GeneralRe: Is there a Windows API or a method which can convert FILE* to HANDLE of a file or convert HANDLE to FILE* ?? Pin
Iain Clarke, Warrior Programmer31-Jan-08 22:53
Iain Clarke, Warrior Programmer31-Jan-08 22:53 
GeneralRe: Is there a Windows API or a method which can convert FILE* to HANDLE of a file or convert HANDLE to FILE* ?? Pin
Jude Deng1-Feb-08 19:01
Jude Deng1-Feb-08 19:01 
GeneralRe: Is there a Windows API or a method which can convert FILE* to HANDLE of a file or convert HANDLE to FILE* ?? Pin
Jude Deng1-Feb-08 22:03
Jude Deng1-Feb-08 22:03 
GeneralRe: Is there a Windows API or a method which can convert FILE* to HANDLE of a file or convert HANDLE to FILE* ?? Pin
Iain Clarke, Warrior Programmer2-Feb-08 12:32
Iain Clarke, Warrior Programmer2-Feb-08 12:32 
GeneralRe: Is there a Windows API or a method which can convert FILE* to HANDLE of a file or convert HANDLE to FILE* ?? Pin
Jude Deng2-Feb-08 13:04
Jude Deng2-Feb-08 13:04 
Generaledit box issue Pin
Chandrasekharan P31-Jan-08 19:53
Chandrasekharan P31-Jan-08 19:53 

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.