home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c++.moderated      Moderated discussion of C++ superhackery      33,346 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 31,663 of 33,346   
   Seungbeom Kim to Goran   
   Re: Array Size : Error : Why ??   
   11 Nov 11 05:24:34   
   
   4443d8d2   
   From: musiphil@bawi.org   
      
   On 2011-11-10 11:12, Goran wrote:   
   >   
   > In fact, there's no such thing as data type "int[]" in C and C++.   
      
   There is; it's an "incomplete" type, just as a class type   
   forward-declared but not yet (fully) defined.   
      
   And it's totally fine to use an array of unknown size as a data type   
   when declaring an object without defining it, as in "extern int a[];".   
      
   --   
   Seungbeom Kim   
      
      
         [ See http://www.gotw.ca/resources/clcm.htm for info about ]   
         [ comp.lang.c++.moderated.    First time posters: Do this! ]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca