Click here to Skip to main content
15,910,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: global variabls. please help me! URGENT !!! Pin
Rick York19-May-01 21:13
mveRick York19-May-01 21:13 
GeneralRe: global variabls. please help me! URGENT !!! Pin
19-May-01 21:46
suss19-May-01 21:46 
GeneralRe: Why do you want to use global variable? Pin
Masaaki Onishi20-May-01 5:15
Masaaki Onishi20-May-01 5:15 
GeneralRe: Why do you want to use global variable? Pin
#realJSOP20-May-01 7:31
professional#realJSOP20-May-01 7:31 
Generalthe all very nice, but my code DON'T WORKING !!! Pin
20-May-01 8:53
suss20-May-01 8:53 
GeneralRe: the all very nice, but my code DON'T WORKING !!! Pin
Christian Graus20-May-01 10:06
protectorChristian Graus20-May-01 10:06 
GeneralRe: the all very nice, but my code DON'T WORKING !!! Pin
Rick York20-May-01 21:37
mveRick York20-May-01 21:37 
GeneralRe: Why do you want to use global variable? Pin
Masaaki Onishi20-May-01 12:09
Masaaki Onishi20-May-01 12:09 
Hello, the codegurus around the world.;)

I agreed with you partly because I admitted that the global variable isn't bad
in C++ project.

However, in Java and C#, we can't use the global variable at all. Mad | :mad:

Global variable is always called even though we don't need this.
However, the member vairable of class is alive as long as the class object is alive.

If someone overwrites the value of the global vairable, we sometimes don't notice this.
However, the member variable of class only overwrites the value by its class object.
(If we declare the member variable by private.)

I guess that the global varibales exists in MFC library, so we can't neglect the global at all.

Have a nice day!
-Masaaki Onishi-
GeneralIt's me again. Looking for suggestions... Pin
Stephen Caldwell19-May-01 19:46
Stephen Caldwell19-May-01 19:46 
GeneralRe: It's me again. Looking for suggestions... Pin
l a u r e n20-May-01 2:33
l a u r e n20-May-01 2:33 
GeneralRe: Hum, sound like IM Messenger. Pin
Masaaki Onishi20-May-01 5:00
Masaaki Onishi20-May-01 5:00 
GeneralRe: Hum, sound like IM Messenger. Pin
l a u r e n20-May-01 10:54
l a u r e n20-May-01 10:54 
GeneralMySql++ Pin
Stephen Caldwell19-May-01 18:53
Stephen Caldwell19-May-01 18:53 
GeneralRe: MySql++ Pin
l a u r e n20-May-01 2:35
l a u r e n20-May-01 2:35 
GeneralRe: MSDE? Pin
Masaaki Onishi20-May-01 7:34
Masaaki Onishi20-May-01 7:34 
GeneralRe: MSDE? Pin
Anders Molin20-May-01 8:54
professionalAnders Molin20-May-01 8:54 
GeneralRe: Humm. Pin
Masaaki Onishi20-May-01 11:56
Masaaki Onishi20-May-01 11:56 
GeneralRe: Humm. Pin
Anders Molin20-May-01 12:07
professionalAnders Molin20-May-01 12:07 
GeneralRe: Humm. Pin
l a u r e n20-May-01 21:26
l a u r e n20-May-01 21:26 
GeneralRe: Humm. Pin
Anders Molin20-May-01 21:35
professionalAnders Molin20-May-01 21:35 
GeneralGetting URL from File Download Launched by CHtmlView Pin
User 1278219-May-01 17:17
User 1278219-May-01 17:17 
QuestionWhat are these messages pointing too?? Pin
19-May-01 15:08
suss19-May-01 15:08 
AnswerRe: What are these messages pointing too?? Pin
Michael Dunn19-May-01 15:49
sitebuilderMichael Dunn19-May-01 15:49 
GeneralExitWindowsEx Pin
19-May-01 12:02
suss19-May-01 12:02 
GeneralWinsock Woes Pin
Stephen Caldwell19-May-01 8:44
Stephen Caldwell19-May-01 8:44 

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.