Jump to content
Fi8sVrs

cdecl - Turn English to C or C++ and Vise Versa

Recommended Posts

  • Active Members
Posted

cdecl - C gibberish ? English

cdecl is a program for encoding and decoding C or C++ type declarations. It can convert your c programming code sentence to English and vice versa.

Example:

If we type "declare arr as array 20 of int" it will convert into C declarations such as "int arr[20]"

cdecl.PNG

It can also translate the C into the pseudo English. And it handles typecasts too. And in this version it has command line editing and history with the GNU read line library.

It is a gem for any C programmer who has ever scratched their head wondering what a complex statement like "int (*(*foo)(void ))[3]" or "declare bar as volatile pointer to array 64 of const int".

Cdecl

Documentation

Source Code

Author: ridiculous_fish

Source

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...