Click here to Skip to main content
15,903,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to implement variable amount of parameters? Pin
Richard MacCutchan3-Mar-23 21:57
mveRichard MacCutchan3-Mar-23 21:57 
AnswerRe: How to implement variable amount of parameters? Pin
jschell6-Mar-23 6:20
jschell6-Mar-23 6:20 
GeneralRe: How to implement variable amount of parameters? Pin
charlieg19-Mar-23 11:47
charlieg19-Mar-23 11:47 
QuestionC++ non-null pointers Pin
Mircea Neacsu2-Mar-23 7:47
Mircea Neacsu2-Mar-23 7:47 
AnswerRe: C++ non-null pointers Pin
jschell6-Mar-23 6:22
jschell6-Mar-23 6:22 
GeneralRe: C++ non-null pointers Pin
Mircea Neacsu6-Mar-23 7:34
Mircea Neacsu6-Mar-23 7:34 
QuestionMessage Closed Pin
1-Mar-23 7:32
Member 149687711-Mar-23 7:32 
AnswerRe: Compiler academic question - why? Pin
Mircea Neacsu1-Mar-23 7:37
Mircea Neacsu1-Mar-23 7:37 
GeneralRe: Compiler academic question - why? Pin
CPallini2-Mar-23 20:49
mveCPallini2-Mar-23 20:49 
GeneralRe: Compiler academic question - why? Pin
Mircea Neacsu3-Mar-23 0:37
Mircea Neacsu3-Mar-23 0:37 
AnswerRe: Compiler academic question - why? Pin
k50541-Mar-23 7:50
mvek50541-Mar-23 7:50 
QuestionMessage Closed Pin
21-Feb-23 8:09
Member 1496877121-Feb-23 8:09 
AnswerRe: painted myself into a corner - again - need HELP Pin
Richard MacCutchan21-Feb-23 8:26
mveRichard MacCutchan21-Feb-23 8:26 
AnswerRe: painted myself into a corner - again - need HELP Pin
Mircea Neacsu21-Feb-23 8:49
Mircea Neacsu21-Feb-23 8:49 
AnswerRe: painted myself into a corner - again - need HELP Pin
David O'Neil21-Feb-23 15:32
professionalDavid O'Neil21-Feb-23 15:32 
GeneralMessage Closed Pin
19-Feb-23 4:20
Member 1496877119-Feb-23 4:20 
GeneralRe: C code challenge... Pin
Richard MacCutchan19-Feb-23 5:19
mveRichard MacCutchan19-Feb-23 5:19 
GeneralRe: C code challenge... Pin
CPallini19-Feb-23 20:47
mveCPallini19-Feb-23 20:47 
QuestionMessage Closed Pin
14-Feb-23 10:04
Member 1496877114-Feb-23 10:04 
QuestionRe: How to add #include to makefile ? Pin
Mircea Neacsu14-Feb-23 10:44
Mircea Neacsu14-Feb-23 10:44 
I think you'll have to explain in more detail what you want to accomplish.

Makefiles and include files are not directly related. Makefiles are "recipes" used to compile and link a binary. You write something like:
module1.o : module1.cpp inc1.h inc2.h
  gcc $(CFLAGS) -o module1.o module1.cpp
That would tell make that module1.o object file needs to be recompiled every time any of module1.cpp or inc1.h or inc2.h files changes and what is the command to compile it.
Mircea

AnswerRe: How to add #include to makefile ? Pin
Richard MacCutchan14-Feb-23 22:03
mveRichard MacCutchan14-Feb-23 22:03 
GeneralRe: How to add #include to makefile ? Pin
k505415-Feb-23 5:39
mvek505415-Feb-23 5:39 
QuestionMessage Closed Pin
14-Feb-23 4:39
Member 1496877114-Feb-23 4:39 
AnswerRe: How to manage application configuration ? Pin
Mircea Neacsu14-Feb-23 7:57
Mircea Neacsu14-Feb-23 7:57 
AnswerRe: How to manage application configuration ? Pin
jschell15-Feb-23 6:11
jschell15-Feb-23 6:11 

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.