Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Loading an array inside a class.. Pin
David Crow30-Jan-06 3:20
David Crow30-Jan-06 3:20 
GeneralRe: Loading an array inside a class.. Pin
Eytukan30-Jan-06 3:22
Eytukan30-Jan-06 3:22 
GeneralRe: Loading an array inside a class.. Pin
Eytukan30-Jan-06 3:25
Eytukan30-Jan-06 3:25 
GeneralRe: Loading an array inside a class.. Pin
David Crow30-Jan-06 3:32
David Crow30-Jan-06 3:32 
General3rd Party Test needed!! Pin
Eytukan30-Jan-06 3:38
Eytukan30-Jan-06 3:38 
GeneralRe: Loading an array inside a class.. Pin
toxcct30-Jan-06 3:42
toxcct30-Jan-06 3:42 
GeneralRe: 3rd Party Test needed!! Pin
David Crow30-Jan-06 3:45
David Crow30-Jan-06 3:45 
GeneralDone!!! Pin
Eytukan30-Jan-06 3:56
Eytukan30-Jan-06 3:56 
GeneralRe: Done!!! Pin
David Crow30-Jan-06 4:05
David Crow30-Jan-06 4:05 
GeneralRe: Done!!! Pin
Eytukan30-Jan-06 4:49
Eytukan30-Jan-06 4:49 
QuestionRe: Done!!! Pin
David Crow30-Jan-06 4:53
David Crow30-Jan-06 4:53 
AnswerRe: Done!!! Pin
Eytukan30-Jan-06 5:07
Eytukan30-Jan-06 5:07 
AnswerRe: Done!!! Pin
Eytukan30-Jan-06 5:09
Eytukan30-Jan-06 5:09 
QuestionRe: Done!!! Pin
David Crow30-Jan-06 5:31
David Crow30-Jan-06 5:31 
AnswerRe: Done!!! Pin
Eytukan30-Jan-06 5:44
Eytukan30-Jan-06 5:44 
GeneralRe: OT Pin
David Crow30-Jan-06 6:12
David Crow30-Jan-06 6:12 
GeneralRe: OT Pin
Eytukan30-Jan-06 7:10
Eytukan30-Jan-06 7:10 
GeneralRe: Loading an array inside a class.. Pin
Rage30-Jan-06 3:45
professionalRage30-Jan-06 3:45 
GeneralRe: Loading an array inside a class.. Pin
David Crow30-Jan-06 3:50
David Crow30-Jan-06 3:50 
GeneralRe: Loading an array inside a class.. Pin
Owner drawn30-Jan-06 16:47
Owner drawn30-Jan-06 16:47 
Rage wrote:
That way you are defining a twice, aren't you ? This is redefinition.



That's how static members are initialized because they don't belong to any particular instance of a class. Hence they must be initialized before any other. Note the class name prefix before the variable name.

Jesus LovesRose | [Rose]
<marquee direction="up" height="40" scrolldelay="1" step="1" scrollamount="1" style="background:#99ccff;border-bottom:thin solid 1px #6699cc">
--Owner DrawnRose | [Rose]
--Defeat is temporary but surrender is permanent
--Jesus is LordRose | [Rose]

QuestionAllocating 2D array Pin
hamidreza_buddy29-Jan-06 22:19
hamidreza_buddy29-Jan-06 22:19 
AnswerRe: Allocating 2D array Pin
Owner drawn29-Jan-06 22:28
Owner drawn29-Jan-06 22:28 
GeneralRe: Allocating 2D array Pin
achainard30-Jan-06 0:54
achainard30-Jan-06 0:54 
GeneralRe: Allocating 2D array Pin
Owner drawn30-Jan-06 1:03
Owner drawn30-Jan-06 1:03 
GeneralRe: Allocating 2D array Pin
achainard30-Jan-06 7:16
achainard30-Jan-06 7:16 

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.