Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualParadigm Shifter

Posted 29 April 2013 - 02:44 PM

It's just a definition. Until you define a member variable it won't occupy any space.

 

class MyBigClass

{

    char aBigArray[1000000];

};

 

uses no space until you instantiate one (by decalring a variable of type MyBigClass).


#1Paradigm Shifter

Posted 29 April 2013 - 02:43 PM

It's just a definition. Until you define a member variable it won't occupy any space.

 

class MyBigClass

{

    char aBigArray[1000000];

};

 

uses no space until you define one.


PARTNERS