Click here to Skip to main content
15,924,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Does this bit of code work? Pin
Michael Dunn28-Sep-02 14:34
sitebuilderMichael Dunn28-Sep-02 14:34 
GeneralDelete *.ini sections Pin
Selevercin28-Sep-02 11:55
Selevercin28-Sep-02 11:55 
GeneralRe: Delete *.ini sections Pin
DarrollWalsh28-Sep-02 12:18
DarrollWalsh28-Sep-02 12:18 
GeneralRe: Delete *.ini sections Pin
Selevercin28-Sep-02 12:52
Selevercin28-Sep-02 12:52 
GeneralRe: Delete *.ini sections Pin
Abin28-Sep-02 22:00
Abin28-Sep-02 22:00 
GeneralRe: Delete *.ini sections Pin
Mike Nordell29-Sep-02 4:23
Mike Nordell29-Sep-02 4:23 
GeneralRe: Delete *.ini sections Pin
JT Anderson1-Oct-02 6:41
JT Anderson1-Oct-02 6:41 
QuestionAny suggestion on how this could be done? Pin
WREY28-Sep-02 11:15
WREY28-Sep-02 11:15 
Before every function definitions, I have gotten into the habit of prefacing each with COMMENTS on what's being accomplished in that function (such as which parameters are input, output, and what changes were made to that function, when, and for what reason, etc.).

However (useful as it is), it has become something of a labor for which I would like to formulate a way in which I could do something that would automate the process of inserting a "template like" generic header, which I could then modify with only the specifics for that particular function.

IOW, my rough idea is to insert a macro (or something like that) before each function definition, and when the program is compiled, to have the macro expand into this generic template layout which I would then simply fill in with the relevant information (etc.).

Any idea on the best approach?

Thanks!! Cool | :cool:

William
AnswerRe: Any suggestion on how this could be done? Pin
DarrollWalsh28-Sep-02 11:22
DarrollWalsh28-Sep-02 11:22 
GeneralRe: Any suggestion on how this could be done? Pin
Jim A. Johnson28-Sep-02 11:49
Jim A. Johnson28-Sep-02 11:49 
GeneralRe: Any suggestion on how this could be done? Pin
Maximilien28-Sep-02 11:57
Maximilien28-Sep-02 11:57 
GeneralRe: Any suggestion on how this could be done? Pin
WREY28-Sep-02 12:44
WREY28-Sep-02 12:44 
GeneralSearch directory Pin
DarrollWalsh28-Sep-02 10:29
DarrollWalsh28-Sep-02 10:29 
GeneralRe: Search directory Pin
Mazdak28-Sep-02 10:35
Mazdak28-Sep-02 10:35 
GeneralRe: Search directory (code) Pin
DarrollWalsh28-Sep-02 11:13
DarrollWalsh28-Sep-02 11:13 
GeneralGetting subitem rect in report-style CListCtrl Pin
IGx8928-Sep-02 7:54
IGx8928-Sep-02 7:54 
GeneralRe: Getting subitem rect in report-style CListCtrl Pin
Michael Dunn28-Sep-02 8:50
sitebuilderMichael Dunn28-Sep-02 8:50 
GeneralRe: Getting subitem rect in report-style CListCtrl Pin
IGx8928-Sep-02 10:33
IGx8928-Sep-02 10:33 
Generalglobal variable access Qs Pin
merc28-Sep-02 7:11
merc28-Sep-02 7:11 
GeneralRe: global variable access Qs Pin
Daniel Ferguson28-Sep-02 7:55
Daniel Ferguson28-Sep-02 7:55 
GeneralRe: global variable access Qs Pin
Nerc28-Sep-02 8:59
Nerc28-Sep-02 8:59 
GeneralRe: global variable access Qs Pin
Daniel Ferguson28-Sep-02 10:42
Daniel Ferguson28-Sep-02 10:42 
GeneralRe: global variable access Qs Pin
merc29-Sep-02 8:06
merc29-Sep-02 8:06 
GeneralmIRC channel textoutput ....... Pin
Mandalay28-Sep-02 6:20
Mandalay28-Sep-02 6:20 
GeneralRe: mIRC channel textoutput ....... Pin
Daniel Ferguson28-Sep-02 10:48
Daniel Ferguson28-Sep-02 10:48 

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.