home bbs files messages ]

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

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

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

   Message 241,493 of 243,242   
   Keith Thompson to Chris M. Thomasson   
   Re: New and improved version of cdecl   
   26 Oct 25 15:38:18   
   
   XPost: comp.lang.c++   
   From: Keith.S.Thompson+u@gmail.com   
      
   "Chris M. Thomasson"  writes:   
   > On 10/22/2025 2:39 PM, Keith Thompson wrote:   
   >> This is cross-posted to comp.lang.c and comp.lang.c++.   
   >> Consider redirecting followups as appropriate.   
   >> cdecl, along with c++decl, is a tool that translates C or C++   
   >> declaration syntax into English, and vice versa.  For example :   
   >>      $ cdecl   
   >>      Type `help' or `?' for help   
   >>      cdecl> explain const char *foo[42]   
   >>      declare foo as array 42 of pointer to const char   
   >>      cdecl> declare bar as pointer to function (void) returning int   
   >>      int (*bar)(void )   
   >> It's also available via the web site .   
   > I must be doing something wrong:   
      
   Yes.   
      
   > int (*fp_read) (void* const, void*, size_t)   
   >   
   > is syntax error. It from one of my older experiments:   
      
   You're using the old 2.5 version.  The newer forked version handles that   
   declaration correctly, but you have to build it from source.  cdecl.org   
   uses the old version.   
      
   --   
   Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com   
   void Void(void) { Void(); } /* The recursive call of the void */   
      
   --- 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