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

C / C++ / MFC

 
QuestionRe: Global vs local variables Pin
rajeevktripathi5-Sep-07 0:58
rajeevktripathi5-Sep-07 0:58 
AnswerRe: Global vs local variables Pin
Waldermort5-Sep-07 1:10
Waldermort5-Sep-07 1:10 
QuestionRe: Global vs local variables Pin
rajeevktripathi5-Sep-07 1:38
rajeevktripathi5-Sep-07 1:38 
AnswerRe: Global vs local variables Pin
jhwurmbach5-Sep-07 2:22
jhwurmbach5-Sep-07 2:22 
rajeevktripathi wrote:
"Run-Time Check Failure #3 - The variable 'pl' is being used without being defined."


At compile time, you have got a "warning C4700: local variable 'pl' used without having been initialized".

As you have enabled "Runtime checks" (probably a Debug-build), the runtime complains that you use this variable without prior assignment to it.



Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal.
George Orwell, "Keep the Aspidistra Flying", Opening words

AnswerRe: Global vs local variables Pin
Naveen5-Sep-07 2:13
Naveen5-Sep-07 2:13 
AnswerRe: Global vs local variables Pin
David Crow5-Sep-07 4:53
David Crow5-Sep-07 4:53 
QuestionReader Writer lock Pin
Waldermort5-Sep-07 0:50
Waldermort5-Sep-07 0:50 
AnswerRe: Reader Writer lock Pin
chandu0045-Sep-07 1:42
chandu0045-Sep-07 1:42 
AnswerRe: Reader Writer lock Pin
Matthew Faithfull5-Sep-07 1:52
Matthew Faithfull5-Sep-07 1:52 
GeneralRe: Reader Writer lock Pin
Waldermort5-Sep-07 2:44
Waldermort5-Sep-07 2:44 
GeneralRe: Reader Writer lock Pin
El Corazon5-Sep-07 5:02
El Corazon5-Sep-07 5:02 
GeneralRe: Reader Writer lock Pin
El Corazon5-Sep-07 5:34
El Corazon5-Sep-07 5:34 
GeneralRe: Reader Writer lock Pin
Waldermort5-Sep-07 6:17
Waldermort5-Sep-07 6:17 
GeneralRe: Reader Writer lock Pin
El Corazon5-Sep-07 7:38
El Corazon5-Sep-07 7:38 
GeneralRe: Reader Writer lock Pin
Matthew Faithfull5-Sep-07 5:49
Matthew Faithfull5-Sep-07 5:49 
GeneralRe: Reader Writer lock Pin
Waldermort5-Sep-07 6:15
Waldermort5-Sep-07 6:15 
AnswerRe: Reader Writer lock Pin
Matthew Faithfull5-Sep-07 6:28
Matthew Faithfull5-Sep-07 6:28 
GeneralRe: Reader Writer lock Pin
El Corazon5-Sep-07 7:42
El Corazon5-Sep-07 7:42 
GeneralRe: Reader Writer lock Pin
Matthew Faithfull5-Sep-07 9:30
Matthew Faithfull5-Sep-07 9:30 
GeneralRe: Reader Writer lock Pin
El Corazon5-Sep-07 9:52
El Corazon5-Sep-07 9:52 
QuestionA very basic question Pin
HakunaMatada5-Sep-07 0:24
HakunaMatada5-Sep-07 0:24 
AnswerRe: A very basic question Pin
Matthew Faithfull5-Sep-07 0:47
Matthew Faithfull5-Sep-07 0:47 
AnswerRe: A very basic question Pin
Waldermort5-Sep-07 0:58
Waldermort5-Sep-07 0:58 
AnswerRe: A very basic question Pin
Hamid_RT5-Sep-07 1:02
Hamid_RT5-Sep-07 1:02 
QuestionIE question Pin
Mohit19825-Sep-07 0:18
Mohit19825-Sep-07 0:18 

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.