Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to disable the help in VC6 Pin
JWood28-Jul-05 4:57
JWood28-Jul-05 4:57 
AnswerRe: How to disable the help in VC6 Pin
Blake Miller27-Jul-05 12:08
Blake Miller27-Jul-05 12:08 
Generalproblem with multiple defined symbols Pin
Qvicksilver27-Jul-05 9:07
Qvicksilver27-Jul-05 9:07 
GeneralRe: problem with multiple defined symbols Pin
David Crow27-Jul-05 9:43
David Crow27-Jul-05 9:43 
GeneralRe: problem with multiple defined symbols Pin
Qvicksilver27-Jul-05 10:12
Qvicksilver27-Jul-05 10:12 
GeneralRe: problem with multiple defined symbols Pin
John R. Shaw27-Jul-05 11:32
John R. Shaw27-Jul-05 11:32 
GeneralRe: problem with multiple defined symbols Pin
Qvicksilver28-Jul-05 6:42
Qvicksilver28-Jul-05 6:42 
GeneralRe: problem with multiple defined symbols Pin
John R. Shaw28-Jul-05 8:39
John R. Shaw28-Jul-05 8:39 
I see by your reply to sunit5 that you probably found the problem (declared but undefine variables).

As for specifing inline:
inline int func(int n) {...}

If the inline function is needed by several files, then you would place it in a header file.

If the inline function is only needed by one file, then place it in that file.

Given a choise between macros and small inline functions, prefer inline functions (when ever possible). This does not only make reading the code easier, it also lets the compilire validate the arguments (which prevents hard to find bugs).


INTP
"The more help VB provides VB programmers, the more miserable your life as a C++ programmer becomes."
Andrew W. Troelsen
GeneralRe: problem with multiple defined symbols Pin
sunit527-Jul-05 21:01
sunit527-Jul-05 21:01 
GeneralRe: problem with multiple defined symbols Pin
Qvicksilver28-Jul-05 6:46
Qvicksilver28-Jul-05 6:46 
GeneralSearch for a word in a file from code Pin
bugDanny27-Jul-05 7:45
bugDanny27-Jul-05 7:45 
GeneralRe: Search for a word in a file from code Pin
David Crow27-Jul-05 8:01
David Crow27-Jul-05 8:01 
GeneralRe: Search for a word in a file from code Pin
bugDanny27-Jul-05 8:34
bugDanny27-Jul-05 8:34 
GeneralRe: Search for a word in a file from code Pin
David Crow27-Jul-05 8:36
David Crow27-Jul-05 8:36 
GeneralRich Edit please check this code... Pin
Aqueel27-Jul-05 6:51
Aqueel27-Jul-05 6:51 
GeneralRe: Rich Edit please check this code... Pin
David Crow27-Jul-05 7:13
David Crow27-Jul-05 7:13 
GeneralRe: Rich Edit please check this code... Pin
Aqueel27-Jul-05 7:24
Aqueel27-Jul-05 7:24 
Generalfind out which windows-design is selected Pin
gabriel.fischer27-Jul-05 5:58
gabriel.fischer27-Jul-05 5:58 
GeneralRe: find out which windows-design is selected Pin
David Crow27-Jul-05 7:10
David Crow27-Jul-05 7:10 
Generalicon to bitmap conversion Pin
rgchezhian27-Jul-05 5:45
rgchezhian27-Jul-05 5:45 
GeneralRe: icon to bitmap conversion Pin
David Crow27-Jul-05 5:48
David Crow27-Jul-05 5:48 
GeneralRe: icon to bitmap conversion Pin
rgchezhian27-Jul-05 7:53
rgchezhian27-Jul-05 7:53 
GeneralRe: icon to bitmap conversion Pin
David Crow27-Jul-05 7:58
David Crow27-Jul-05 7:58 
Generalre: interface of TSP using GA Pin
partas27-Jul-05 5:03
partas27-Jul-05 5:03 
GeneralRe: re: interface of TSP using GA Pin
Blake Miller27-Jul-05 9:13
Blake Miller27-Jul-05 9:13 

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.