Click here to Skip to main content
15,908,264 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: EditBox Unicode Pin
Prakash Nadar18-Mar-04 14:32
Prakash Nadar18-Mar-04 14:32 
Questionhow to represent a dynamic graph layout with c++??? Pin
rockrox8018-Mar-04 6:38
rockrox8018-Mar-04 6:38 
AnswerRe: how to represent a dynamic graph layout with c++??? Pin
Prakash Nadar18-Mar-04 14:26
Prakash Nadar18-Mar-04 14:26 
Questionhow to check a radio box Pin
Deepak Samuel18-Mar-04 6:07
Deepak Samuel18-Mar-04 6:07 
AnswerRe: how to check a radio box Pin
RChin18-Mar-04 6:09
RChin18-Mar-04 6:09 
AnswerRe: how to check a radio box Pin
David Crow18-Mar-04 6:34
David Crow18-Mar-04 6:34 
QuestionHow does a project work? Pin
Anonymous18-Mar-04 6:03
Anonymous18-Mar-04 6:03 
AnswerRe: How does a project work? Pin
David Crow18-Mar-04 6:43
David Crow18-Mar-04 6:43 
Anonymous wrote:
I want to know how does a project work. I mean I want to know the relationships between the files.

I suppose the top-level file in a project is the .dsp file. This text file is similar to the older .mak files, in that it lists what source files belong to the project and how to compile them.

While it's hardly a requirement, most .c and .cpp files have a coresponding .h (or .hpp) file. Any piece of code that wishes to use something located in another .c or .cpp file must #include the coresponding .h (or .hpp) file. At the very least, a forward declaration is required.

Anonymous wrote:
How do the files include each other?

The #include preprocessor directive.

Anonymous wrote:
And what are .obj files?

They are what the compiler creates from the source files. The .obj files are then "fed" to the linker.


"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)


GeneralRe: How does a project work? Pin
toxcct18-Mar-04 8:56
toxcct18-Mar-04 8:56 
GeneralRe: How does a project work? Pin
David Crow18-Mar-04 9:07
David Crow18-Mar-04 9:07 
AnswerRe: How does a project work? Pin
Alexander M.,18-Mar-04 9:45
Alexander M.,18-Mar-04 9:45 
GeneralLocalizing a Windows Installer Package Pin
Yogurt18-Mar-04 5:45
Yogurt18-Mar-04 5:45 
GeneralHelp - can't get Sever/Client to talk over sockets Pin
glweid18-Mar-04 5:24
glweid18-Mar-04 5:24 
QuestionLVITEM Explanation? Pin
monrobot1318-Mar-04 4:48
monrobot1318-Mar-04 4:48 
AnswerRe: LVITEM Explanation? Pin
Prakash Nadar18-Mar-04 4:55
Prakash Nadar18-Mar-04 4:55 
GeneralRe: LVITEM Explanation? Pin
monrobot1318-Mar-04 5:46
monrobot1318-Mar-04 5:46 
GeneralRe: LVITEM Explanation? Pin
RChin18-Mar-04 6:14
RChin18-Mar-04 6:14 
GeneralRe: LVITEM Explanation? Pin
Prakash Nadar18-Mar-04 14:19
Prakash Nadar18-Mar-04 14:19 
GeneralSwitch Statment Pin
Anthony988718-Mar-04 4:41
Anthony988718-Mar-04 4:41 
GeneralRe: Switch Statment Pin
J. Eric Vaughan18-Mar-04 4:56
J. Eric Vaughan18-Mar-04 4:56 
GeneralRe: Switch Statment Pin
Prakash Nadar18-Mar-04 5:01
Prakash Nadar18-Mar-04 5:01 
GeneralRe: Switch Statment Pin
Ravi Bhavnani18-Mar-04 6:27
professionalRavi Bhavnani18-Mar-04 6:27 
GeneralRe: Switch Statment Pin
Roger Wright18-Mar-04 7:20
professionalRoger Wright18-Mar-04 7:20 
GeneralRe: Switch Statment Pin
Joel Lucsy18-Mar-04 8:35
Joel Lucsy18-Mar-04 8:35 
GeneralRe: Switch Statment Pin
toxcct18-Mar-04 9:07
toxcct18-Mar-04 9:07 

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.