Click here to Skip to main content
14,828,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: convertin a string into lowercase Pin
chandu0045-Sep-07 2:07
Memberchandu0045-Sep-07 2:07 
AnswerIs your problem Solved. Pin
chandu0045-Sep-07 1:58
Memberchandu0045-Sep-07 1:58 
QuestionHow to add virtual ip in the windows xp to using c++? songjacky 6hrs 12mins ago Pin
songjacky5-Sep-07 0:53
Membersongjacky5-Sep-07 0:53 
AnswerRe: How to add virtual ip in the windows xp to using c++? songjacky 6hrs 12mins ago Pin
Waldermort5-Sep-07 1:06
MemberWaldermort5-Sep-07 1:06 
AnswerRe: How to add virtual ip in the windows xp to using c++? songjacky 6hrs 12mins ago Pin
Hamid_RT5-Sep-07 1:10
MemberHamid_RT5-Sep-07 1:10 
QuestionGlobal vs local variables Pin
rajeevktripathi5-Sep-07 0:50
Memberrajeevktripathi5-Sep-07 0:50 
AnswerRe: Global vs local variables Pin
Waldermort5-Sep-07 0:52
MemberWaldermort5-Sep-07 0:52 
QuestionRe: Global vs local variables Pin
rajeevktripathi5-Sep-07 0:58
Memberrajeevktripathi5-Sep-07 0:58 
thanks WalderMort

it is fine that we should initialize each var while creating it,
but wondering that why global variables are initialized to zero by compiler whereas local variables are not..

Please help to understand the logic


Thanks & Regards
AnswerRe: Global vs local variables Pin
Waldermort5-Sep-07 1:10
MemberWaldermort5-Sep-07 1:10 
QuestionRe: Global vs local variables Pin
rajeevktripathi5-Sep-07 1:38
Memberrajeevktripathi5-Sep-07 1:38 
AnswerRe: Global vs local variables Pin
jhwurmbach5-Sep-07 2:22
Memberjhwurmbach5-Sep-07 2:22 
AnswerRe: Global vs local variables Pin
Naveen5-Sep-07 2:13
MemberNaveen5-Sep-07 2:13 
AnswerRe: Global vs local variables Pin
David Crow5-Sep-07 4:53
MemberDavid Crow5-Sep-07 4:53 
QuestionReader Writer lock Pin
Waldermort5-Sep-07 0:50
MemberWaldermort5-Sep-07 0:50 
AnswerRe: Reader Writer lock Pin
chandu0045-Sep-07 1:42
Memberchandu0045-Sep-07 1:42 
AnswerRe: Reader Writer lock Pin
Matthew Faithfull5-Sep-07 1:52
MemberMatthew Faithfull5-Sep-07 1:52 
GeneralRe: Reader Writer lock Pin
Waldermort5-Sep-07 2:44
MemberWaldermort5-Sep-07 2:44 
GeneralRe: Reader Writer lock Pin
El Corazon5-Sep-07 5:02
MemberEl Corazon5-Sep-07 5:02 
GeneralRe: Reader Writer lock Pin
El Corazon5-Sep-07 5:34
MemberEl Corazon5-Sep-07 5:34 
GeneralRe: Reader Writer lock Pin
Waldermort5-Sep-07 6:17
MemberWaldermort5-Sep-07 6:17 
GeneralRe: Reader Writer lock Pin
El Corazon5-Sep-07 7:38
MemberEl Corazon5-Sep-07 7:38 
GeneralRe: Reader Writer lock Pin
Matthew Faithfull5-Sep-07 5:49
MemberMatthew Faithfull5-Sep-07 5:49 
GeneralRe: Reader Writer lock Pin
Waldermort5-Sep-07 6:15
MemberWaldermort5-Sep-07 6:15 
AnswerRe: Reader Writer lock Pin
Matthew Faithfull5-Sep-07 6:28
MemberMatthew Faithfull5-Sep-07 6:28 
GeneralRe: Reader Writer lock Pin
El Corazon5-Sep-07 7:42
MemberEl Corazon5-Sep-07 7:42 

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.