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,488 of 243,242   
   Chris M. Thomasson to Keith Thompson   
   Re: New and improved version of cdecl   
   26 Oct 25 14:44:49   
   
   XPost: comp.lang.c++   
   From: chris.m.thomasson.1@gmail.com   
      
   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:   
      
   int (*fp_read) (void* const, void*, size_t)   
      
   is syntax error. It from one of my older experiments:   
      
   struct device_prv_vtable {   
      int (*fp_read) (void* const, void*, size_t);   
      int (*fp_write) (void* const, void const*, size_t);   
   };   
      
   https://groups.google.com/g/comp.lang.c/c/-BFbjYxcBQg/m/2uRErOV6AgAJ   
      
   https://pastebin.com/raw/f52a443b1   
   (link to raw text...)   
      
   [...]   
      
   --- 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