error C2447: missing function header (old-style formal list?)

来源:互联网 发布:漫威和dc哪个厉害 知乎 编辑:程序博客网 时间:2024/05/16 17:24
   An   open   curly   brace   ({)   was   found   at   global   scope   without   a   corresponding   function   header.  
   
  This   error   can   be   caused   by   using   the   old-style   C-language   formal   list.  
   
  Check   that   the   function   being   defined   has   an   appropriate   function   declaration.  
   
  The   following   is   an   example   of   this   error:  
   
  int   c;  
  {}                 
   
原创粉丝点击