Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Suggestions on Using Grids? Pin
dazinith19-Mar-02 10:31
dazinith19-Mar-02 10:31 
QuestionDynamic array??? Possible??? Pin
19-Mar-02 8:25
suss19-Mar-02 8:25 
AnswerRe: Dynamic array??? Possible??? Pin
Paul M Watt19-Mar-02 8:42
mentorPaul M Watt19-Mar-02 8:42 
AnswerRe: Dynamic array??? Possible??? Pin
Tomasz Sowinski19-Mar-02 8:49
Tomasz Sowinski19-Mar-02 8:49 
AnswerRe: Dynamic array??? Possible??? Pin
Nemanja Trifunovic19-Mar-02 8:49
Nemanja Trifunovic19-Mar-02 8:49 
AnswerRe: Dynamic array??? Possible??? Pin
dazinith19-Mar-02 9:00
dazinith19-Mar-02 9:00 
GeneralRe: Dynamic array??? Possible??? Pin
Christian Graus19-Mar-02 10:22
protectorChristian Graus19-Mar-02 10:22 
QuestionHow to create global variable? Pin
19-Mar-02 7:49
suss19-Mar-02 7:49 
Hi,

Does anyone know how to create a global variable so that all classes in the project can share.

For example, i need this global variable:

int temp;

No matter which class I'm currently, i just use it as normal:

temp = temp + 1; (nothing liked.......... XXXX.temp = XXXX.temp + 1


I know I need to create a file to store all those global variable...but i forgot how to do it.

Anyone can help?????
AnswerRe: How to create global variable? Pin
Carlos Antollini19-Mar-02 7:51
Carlos Antollini19-Mar-02 7:51 
AnswerRe: How to create global variable? Pin
Paul M Watt19-Mar-02 8:07
mentorPaul M Watt19-Mar-02 8:07 
GeneralRe: How to create global variable? Pin
Tomasz Sowinski19-Mar-02 8:11
Tomasz Sowinski19-Mar-02 8:11 
GeneralRe: How to create global variable? Pin
Paul M Watt19-Mar-02 8:21
mentorPaul M Watt19-Mar-02 8:21 
GeneralRe: How to create global variable? Pin
Christian Graus19-Mar-02 10:24
protectorChristian Graus19-Mar-02 10:24 
GeneralRe: How to create global variable? Pin
Paul M Watt19-Mar-02 10:34
mentorPaul M Watt19-Mar-02 10:34 
GeneralRe: How to create global variable? Pin
Tomasz Sowinski19-Mar-02 10:43
Tomasz Sowinski19-Mar-02 10:43 
GeneralRe: How to create global variable? Pin
Christian Graus20-Mar-02 0:31
protectorChristian Graus20-Mar-02 0:31 
GeneralRe: How to create global variable? Pin
Bill Wilson19-Mar-02 14:03
Bill Wilson19-Mar-02 14:03 
GeneralRe: How to create global variable? Pin
Bill Wilson19-Mar-02 14:03
Bill Wilson19-Mar-02 14:03 
AnswerRe: How to create global variable? Pin
Tomasz Sowinski19-Mar-02 8:10
Tomasz Sowinski19-Mar-02 8:10 
GeneralSame caption problem as before, what am I doing wrong? (half reposted) Pin
generic_user_id19-Mar-02 7:48
generic_user_id19-Mar-02 7:48 
General_beginthreadex questions Pin
Le centriste19-Mar-02 7:39
Le centriste19-Mar-02 7:39 
GeneralRe: _beginthreadex questions Pin
Nemanja Trifunovic19-Mar-02 7:39
Nemanja Trifunovic19-Mar-02 7:39 
GeneralMore FlexGrid issues with .NET Pin
dazinith19-Mar-02 7:33
dazinith19-Mar-02 7:33 
GeneralCreating GDI Controls From Scratch Pin
alpha+19-Mar-02 6:51
alpha+19-Mar-02 6:51 
GeneralRe: Creating GDI Controls From Scratch Pin
Tomasz Sowinski19-Mar-02 6:56
Tomasz Sowinski19-Mar-02 6:56 

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.