Click here to Skip to main content
15,896,269 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: file manipulation with fopen(), fscanf() Pin
kitty529-Jun-06 10:55
kitty529-Jun-06 10:55 
GeneralRe: file manipulation with fopen(), fscanf() Pin
Zac Howland29-Jun-06 11:06
Zac Howland29-Jun-06 11:06 
GeneralRe: file manipulation with fopen(), fscanf() Pin
kitty529-Jun-06 11:19
kitty529-Jun-06 11:19 
GeneralRe: file manipulation with fopen(), fscanf() Pin
Zac Howland29-Jun-06 15:57
Zac Howland29-Jun-06 15:57 
QuestionRe: file manipulation with fopen(), fscanf() [modified] Pin
kitty529-Jun-06 11:55
kitty529-Jun-06 11:55 
AnswerRe: file manipulation with fopen(), fscanf() Pin
Zac Howland29-Jun-06 15:59
Zac Howland29-Jun-06 15:59 
AnswerRe: file manipulation with fopen(), fscanf() Pin
Stephen Hewitt29-Jun-06 18:01
Stephen Hewitt29-Jun-06 18:01 
QuestionStatic Variables [modified] Pin
Jay0329-Jun-06 8:41
Jay0329-Jun-06 8:41 
A static variable is local to particular function. However, it is only initialised once (on the first call to function).

Also the value of the variable on leaving the function remains intact. On the next call to the function the the static variable has the same value as on leaving.



This is the definition I got on one of the websites
Static sounds like a CONSTANT. Replacing static with a constant sounds like the same thing.
Does that make sense to you guys????


-- modified at 14:41 Thursday 29th June, 2006
AnswerRe: Static Variables Pin
toxcct29-Jun-06 8:58
toxcct29-Jun-06 8:58 
AnswerRe: Static Variables Pin
Jun Du29-Jun-06 8:58
Jun Du29-Jun-06 8:58 
AnswerRe: Static Variables Pin
David Crow29-Jun-06 8:58
David Crow29-Jun-06 8:58 
QuestionPrinting format of numbers Pin
mikobi29-Jun-06 7:41
mikobi29-Jun-06 7:41 
AnswerRe: Printing format of numbers Pin
David Crow29-Jun-06 8:10
David Crow29-Jun-06 8:10 
AnswerRe: Printing format of numbers Pin
Eric Dahlvang29-Jun-06 10:33
Eric Dahlvang29-Jun-06 10:33 
Questioninstallatio package creation Pin
Desmo1629-Jun-06 7:02
Desmo1629-Jun-06 7:02 
JokeRe: installatio package creation Pin
James R. Twine29-Jun-06 8:42
James R. Twine29-Jun-06 8:42 
Questionsuggestion..pls Pin
RockyJames29-Jun-06 7:01
RockyJames29-Jun-06 7:01 
AnswerRe: suggestion..pls Pin
David Crow29-Jun-06 7:02
David Crow29-Jun-06 7:02 
GeneralRe: suggestion..pls Pin
RockyJames29-Jun-06 7:53
RockyJames29-Jun-06 7:53 
GeneralRe: suggestion..pls Pin
David Crow29-Jun-06 8:09
David Crow29-Jun-06 8:09 
GeneralRe: suggestion..pls Pin
RockyJames29-Jun-06 8:20
RockyJames29-Jun-06 8:20 
AnswerRe: suggestion..pls Pin
Zac Howland29-Jun-06 7:38
Zac Howland29-Jun-06 7:38 
GeneralRe: suggestion..pls Pin
RockyJames29-Jun-06 8:36
RockyJames29-Jun-06 8:36 
GeneralRe: suggestion..pls Pin
Zac Howland29-Jun-06 9:47
Zac Howland29-Jun-06 9:47 
GeneralRe: suggestion..pls Pin
RockyJames29-Jun-06 13:21
RockyJames29-Jun-06 13:21 

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.