Click here to Skip to main content
15,899,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: NON-SCALAR TYPE CONVERSION!? Pin
enhzflep9-Sep-12 12:33
enhzflep9-Sep-12 12:33 
AnswerRe: NON-SCALAR TYPE CONVERSION!? Pin
Chuck O'Toole9-Sep-12 12:39
Chuck O'Toole9-Sep-12 12:39 
GeneralRe: NON-SCALAR TYPE CONVERSION!? Pin
pasztorpisti9-Sep-12 14:07
pasztorpisti9-Sep-12 14:07 
GeneralRe: NON-SCALAR TYPE CONVERSION!? Pin
pasztorpisti9-Sep-12 14:09
pasztorpisti9-Sep-12 14:09 
AnswerRe: NON-SCALAR TYPE CONVERSION!? Pin
«_Superman_»9-Sep-12 18:51
professional«_Superman_»9-Sep-12 18:51 
QuestionDocking Pane with CHtmlView repaint problem. Pin
sdancer759-Sep-12 0:03
sdancer759-Sep-12 0:03 
AnswerRe: Docking Pane with CHtmlView repaint problem. Pin
_Flaviu10-Sep-12 19:45
_Flaviu10-Sep-12 19:45 
GeneralRe: Docking Pane with CHtmlView repaint problem. Pin
sdancer7510-Sep-12 20:10
sdancer7510-Sep-12 20:10 
QuestionPaint text on Microsoft Windows desktop Pin
Brandon-X120008-Sep-12 4:46
Brandon-X120008-Sep-12 4:46 
QuestionRe: Paint text on Microsoft Windows desktop Pin
David Crow8-Sep-12 17:37
David Crow8-Sep-12 17:37 
AnswerRe: Paint text on Microsoft Windows desktop Pin
Brandon-X120009-Sep-12 12:58
Brandon-X120009-Sep-12 12:58 
GeneralRe: Paint text on Microsoft Windows desktop Pin
Richard Andrew x6410-Sep-12 5:09
professionalRichard Andrew x6410-Sep-12 5:09 
QuestionDifference between Variable Definition and Declaration Pin
Rahul Allen7-Sep-12 10:47
Rahul Allen7-Sep-12 10:47 
AnswerRe: Difference between Variable Definition and Declaration Pin
Richard Andrew x647-Sep-12 12:13
professionalRichard Andrew x647-Sep-12 12:13 
GeneralRe: Difference between Variable Definition and Declaration Pin
pasztorpisti7-Sep-12 12:26
pasztorpisti7-Sep-12 12:26 
GeneralRe: Difference between Variable Definition and Declaration Pin
Richard Andrew x647-Sep-12 12:27
professionalRichard Andrew x647-Sep-12 12:27 
AnswerRe: Difference between Variable Definition and Declaration Pin
pasztorpisti7-Sep-12 12:18
pasztorpisti7-Sep-12 12:18 
The variable declaration specifies the type and the link-name of the data. You usually put declarations to header files. When a .cpp file compiles and includes a header that declares a variable then that .c/.cpp file can use the variable despite the fact that the location of the variable isn't known because it can generate code that uses the specified type as needed and the link-name of the variable is known so later you can link the generated object file of your .c/.cpp to the object file of another .cpp that actually contains the data. A variable definition specifies the type and the link-name of the data like the declaration, but it also specifies the actual location of the data. The variable is located where you put the definition. For a variable you can use only one definition in one of your .c/.cpp files, your variable will be located in the generated object file of this .c/.cpp file, but you can have many declarations in other .c/.cpp files by including in a header with the declaration to many .c/.cpp files. This way the generated object file of the other .c/.cpp files will just have a reference by name to the defined variable if you actually used the declaration where you included it.
AnswerRe: Difference between Variable Definition and Declaration Pin
David Crow8-Sep-12 17:41
David Crow8-Sep-12 17:41 
GeneralRe: Difference between Variable Definition and Declaration Pin
pasztorpisti10-Sep-12 22:29
pasztorpisti10-Sep-12 22:29 
QuestionMFC Dialog with Progressbar cannot be launch in Window 7 Pin
Andraw1116-Sep-12 11:27
Andraw1116-Sep-12 11:27 
AnswerRe: MFC Dialog with Progressbar cannot be launch in Window 7 Pin
Albert Holguin6-Sep-12 12:06
professionalAlbert Holguin6-Sep-12 12:06 
GeneralRe: MFC Dialog with Progressbar cannot be launch in Window 7 Pin
Andraw1116-Sep-12 12:15
Andraw1116-Sep-12 12:15 
AnswerRe: MFC Dialog with Progressbar cannot be launch in Window 7 Pin
Chuck O'Toole6-Sep-12 15:38
Chuck O'Toole6-Sep-12 15:38 
GeneralRe: MFC Dialog with Progressbar cannot be launch in Window 7 Pin
Andraw11110-Sep-12 9:19
Andraw11110-Sep-12 9:19 
AnswerRe: MFC Dialog with Progressbar cannot be launch in Window 7 Pin
Albert Holguin7-Sep-12 9:58
professionalAlbert Holguin7-Sep-12 9:58 

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.