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

C / C++ / MFC

 
GeneralRe: Problem with ListBox and ProgressBar Pin
Steen Krogsgaard10-Sep-02 3:42
Steen Krogsgaard10-Sep-02 3:42 
Questionis there ane api ? Pin
imran_rafique9-Sep-02 16:25
imran_rafique9-Sep-02 16:25 
AnswerRe: is there ane api ? Pin
valikac9-Sep-02 16:57
valikac9-Sep-02 16:57 
AnswerRe: is there ane api ? Pin
TyMatthews10-Sep-02 5:16
TyMatthews10-Sep-02 5:16 
QuestionGuess what output, and tell me why? Pin
cadinfo9-Sep-02 16:04
cadinfo9-Sep-02 16:04 
AnswerRe: Guess what output, and tell me why? Pin
Michael Dunn9-Sep-02 16:35
sitebuilderMichael Dunn9-Sep-02 16:35 
GeneralRe: Guess what output, and tell me why? Pin
cadinfo10-Sep-02 2:57
cadinfo10-Sep-02 2:57 
GeneralRe: Guess what output, and tell me why? Pin
jhwurmbach10-Sep-02 3:56
jhwurmbach10-Sep-02 3:56 
cadinfo wrote:
, but both the varibale of 'ca' and 'cb' have same address in memory

After the compiler optimization, 'ca' has NO address in memory any more. It simply is the value '200' known at compile time.
You promised not to change this value by declaring it const, remember?
So the compiler can replace every access to 'ca' by the value '200' at compile time.
In effect, this is a little like a precompiler #define, in that both methods don't make a variable.
GeneralRe: Guess what output, and tell me why? Pin
cadinfo10-Sep-02 16:14
cadinfo10-Sep-02 16:14 
GeneralRe: Guess what output, and tell me why? Pin
jhwurmbach10-Sep-02 20:31
jhwurmbach10-Sep-02 20:31 
Questionhow to copy file from dir1 to dir2 in code Pin
ns9-Sep-02 12:20
ns9-Sep-02 12:20 
AnswerRe: how to copy file from dir1 to dir2 in code Pin
Anders Molin9-Sep-02 12:27
professionalAnders Molin9-Sep-02 12:27 
GeneralRe: how to copy file from dir1 to dir2 in code Pin
Anonymous9-Sep-02 14:07
Anonymous9-Sep-02 14:07 
GeneralLocation of entry in database -help!ADO Pin
ns9-Sep-02 12:05
ns9-Sep-02 12:05 
GeneralRe: Location of entry in database -help!ADO Pin
Pavel Klocek10-Sep-02 3:20
Pavel Klocek10-Sep-02 3:20 
GeneralQuestion About Classes Pin
Nick Parker9-Sep-02 12:02
protectorNick Parker9-Sep-02 12:02 
GeneralRe: Question About Classes Pin
Christian Graus9-Sep-02 12:27
protectorChristian Graus9-Sep-02 12:27 
GeneralRe: Question About Classes Pin
Nick Parker10-Sep-02 2:58
protectorNick Parker10-Sep-02 2:58 
GeneralRe: Question About Classes Pin
jparsons10-Sep-02 3:05
jparsons10-Sep-02 3:05 
GeneralRe: Question About Classes Pin
Pavel Klocek10-Sep-02 3:23
Pavel Klocek10-Sep-02 3:23 
GeneralRe: Question About Classes Pin
Nick Parker10-Sep-02 7:42
protectorNick Parker10-Sep-02 7:42 
QuestionCan I include like this #include "C:/1.prv"? Pin
ooosawaddee39-Sep-02 11:54
ooosawaddee39-Sep-02 11:54 
AnswerRe: Can I include like this #include "C:/1.prv"? Pin
Christian Graus9-Sep-02 12:28
protectorChristian Graus9-Sep-02 12:28 
QuestionGetDocument() for CDialog? Pin
Brad Jennings9-Sep-02 11:12
Brad Jennings9-Sep-02 11:12 
AnswerRe: GetDocument() for CDialog? Pin
Joaquín M López Muñoz9-Sep-02 11:25
Joaquín M López Muñoz9-Sep-02 11:25 

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.