Click here to Skip to main content
16,012,223 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: access variable from another file Pin
CPallini28-Mar-08 5:45
mveCPallini28-Mar-08 5:45 
GeneralRe: access variable from another file Pin
ptr_Electron28-Mar-08 6:12
ptr_Electron28-Mar-08 6:12 
GeneralRe: access variable from another file Pin
CPallini28-Mar-08 6:22
mveCPallini28-Mar-08 6:22 
GeneralRe: access variable from another file Pin
ptr_Electron1-Apr-08 22:42
ptr_Electron1-Apr-08 22:42 
GeneralRe: access variable from another file Pin
CPallini1-Apr-08 23:04
mveCPallini1-Apr-08 23:04 
GeneralRe: access variable from another file Pin
Nemanja Trifunovic28-Mar-08 4:15
Nemanja Trifunovic28-Mar-08 4:15 
GeneralRe: access variable from another file Pin
CPallini28-Mar-08 4:23
mveCPallini28-Mar-08 4:23 
GeneralRe: access variable from another file Pin
Matthew Faithfull28-Mar-08 4:50
Matthew Faithfull28-Mar-08 4:50 
IMHO it has little to do with const-ness, much more to do with the question.
Is what is it represents really and justifiably process global?
Because you can only very seldom honestly answer yes to that question, e.g. definition of stdout or value of WIN_VER then you shouldn't have many globals. Most of them will probably end up being constants but that's just down to the relatively stable nature of the universe in relation to software lifecycles Big Grin | :-D

Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: access variable from another file Pin
Nemanja Trifunovic28-Mar-08 5:03
Nemanja Trifunovic28-Mar-08 5:03 
GeneralRe: access variable from another file Pin
Matthew Faithfull28-Mar-08 5:20
Matthew Faithfull28-Mar-08 5:20 
GeneralRe: access variable from another file Pin
Nemanja Trifunovic28-Mar-08 7:18
Nemanja Trifunovic28-Mar-08 7:18 
GeneralRe: access variable from another file Pin
CPallini28-Mar-08 5:21
mveCPallini28-Mar-08 5:21 
GeneralRe: access variable from another file Pin
Nemanja Trifunovic28-Mar-08 7:19
Nemanja Trifunovic28-Mar-08 7:19 
GeneralRe: access variable from another file Pin
CPallini28-Mar-08 5:03
mveCPallini28-Mar-08 5:03 
JokeRe: access variable from another file Pin
Matthew Faithfull28-Mar-08 5:21
Matthew Faithfull28-Mar-08 5:21 
GeneralRe: access variable from another file Pin
CPallini28-Mar-08 5:42
mveCPallini28-Mar-08 5:42 
GeneralRe: access variable from another file Pin
toxcct28-Mar-08 5:43
toxcct28-Mar-08 5:43 
GeneralRe: access variable from another file Pin
CPallini28-Mar-08 5:48
mveCPallini28-Mar-08 5:48 
GeneralRe: access variable from another file Pin
toxcct28-Mar-08 5:54
toxcct28-Mar-08 5:54 
GeneralRe: access variable from another file Pin
CPallini28-Mar-08 5:59
mveCPallini28-Mar-08 5:59 
Generalstrange questions about an array Pin
kcynic28-Mar-08 2:18
kcynic28-Mar-08 2:18 
GeneralRe: strange questions about an array Pin
Iain Clarke, Warrior Programmer28-Mar-08 2:34
Iain Clarke, Warrior Programmer28-Mar-08 2:34 
GeneralRe: strange questions about an array Pin
kcynic28-Mar-08 4:22
kcynic28-Mar-08 4:22 
GeneralRe: strange questions about an array Pin
CPallini28-Mar-08 2:56
mveCPallini28-Mar-08 2:56 
GeneralRe: strange questions about an array Pin
kcynic28-Mar-08 13:02
kcynic28-Mar-08 13: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.