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

C / C++ / MFC

 
GeneralBuilding projects downloaded from this website Pin
Still learning how to code28-Dec-03 7:04
Still learning how to code28-Dec-03 7:04 
GeneralRe: Building projects downloaded from this website Pin
Michael Dunn28-Dec-03 7:09
sitebuilderMichael Dunn28-Dec-03 7:09 
GeneralHeight Pin
Rafael Fernández López28-Dec-03 3:17
Rafael Fernández López28-Dec-03 3:17 
GeneralRe: Height Pin
valikac28-Dec-03 7:38
valikac28-Dec-03 7:38 
GeneralRe: Height Pin
Rafael Fernández López28-Dec-03 13:45
Rafael Fernández López28-Dec-03 13:45 
Generalinstalling OpenCV library Pin
Anonymous28-Dec-03 3:11
Anonymous28-Dec-03 3:11 
Generalgenerating .obj files out of header files Pin
tguzella28-Dec-03 1:12
tguzella28-Dec-03 1:12 
GeneralRe: generating .obj files out of header files Pin
Gary R. Wheeler28-Dec-03 2:44
Gary R. Wheeler28-Dec-03 2:44 
.obj files (called object files) are generated from .cpp files (source files), not .h files (header files). Header files are used to share declarations between two or more .cpp files. Here's an example header file, ClassA.h:
class ClassA {
public:
    ClassA();
    ~ClassA();
    int A;
};
and the corresponding source file, ClassA.cpp
#include "ClassA.h"

ClassA::ClassA()
    : A(0)
{
};

ClassA::~ClassA()
{
};
and the main program, Main.cpp
#include "ClassA.h"

int main(int argc,char *argv[])
{
    ClassA An_A;
    //...
}
From this example, there would be two object files, ClassA.obj and Main.obj. ClassA.h is #include'd by both of them to ensure that they both agree on the declaration of ClassA.


Software Zen: delete this;
QuestionHow to differentiate between 2 Slider Controls ?? Pin
elza28-Dec-03 0:06
elza28-Dec-03 0:06 
AnswerRe: How to differentiate between 2 Slider Controls ?? Pin
LunaticFringe28-Dec-03 0:29
LunaticFringe28-Dec-03 0:29 
GeneralRe: How to differentiate between 2 Slider Controls ?? Pin
elza28-Dec-03 1:11
elza28-Dec-03 1:11 
Generalgetline(cin, s); issues Pin
RanBlade27-Dec-03 23:06
RanBlade27-Dec-03 23:06 
QuestionCan I use multi-dialog in one form view? Pin
Vistac27-Dec-03 22:27
Vistac27-Dec-03 22:27 
AnswerRe: Can I use multi-dialog in one form view? Pin
Monty228-Dec-03 20:52
Monty228-Dec-03 20:52 
GeneralRe: Can I use multi-dialog in one form view? Pin
Vistac28-Dec-03 22:46
Vistac28-Dec-03 22:46 
GeneralRe: Can I use multi-dialog in one form view? Pin
Monty228-Dec-03 22:59
Monty228-Dec-03 22:59 
GeneralRe: Can I use multi-dialog in one form view? Pin
Vistac29-Dec-03 0:17
Vistac29-Dec-03 0:17 
GeneralRe: Can I use multi-dialog in one form view? Pin
Monty229-Dec-03 0:55
Monty229-Dec-03 0:55 
QuestionHow to set richedit background image? Pin
okboy27-Dec-03 19:24
okboy27-Dec-03 19:24 
AnswerRe: How to set richedit background image? Pin
Monty228-Dec-03 20:54
Monty228-Dec-03 20:54 
GeneralPrinter Spooler Pin
auur27-Dec-03 19:15
auur27-Dec-03 19:15 
QuestionTo Unicode or not to Unicode? Pin
Prakash Nadar27-Dec-03 18:50
Prakash Nadar27-Dec-03 18:50 
AnswerRe: To Unicode or not to Unicode? Pin
Gary R. Wheeler28-Dec-03 6:56
Gary R. Wheeler28-Dec-03 6:56 
GeneralRe: To Unicode or not to Unicode? Pin
Prakash Nadar28-Dec-03 16:31
Prakash Nadar28-Dec-03 16:31 
GeneralProblem with my EXE.....(help me if you can) Pin
DarioKun27-Dec-03 16:02
DarioKun27-Dec-03 16:02 

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.