Click here to Skip to main content
16,007,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Jay03 wrote:
Static sounds like a CONSTANT.


No. They are different. I think you misunderstood "it is only initialised once". Look at this example:
YourFunction()
{
  static int st = 0;   // only when the function is first called
  st++;                // every time when the function is called
}


You sound pretty new to C/C++. Get a book and study it more systematically.

Best,
Jun
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 
GeneralRe: suggestion..pls Pin
Zac Howland29-Jun-06 16:01
Zac Howland29-Jun-06 16:01 
GeneralRe: suggestion..pls Pin
RockyJames29-Jun-06 18:48
RockyJames29-Jun-06 18:48 

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.