diff --git a/pages/common/cdecl.md b/pages/common/cdecl.md new file mode 100644 index 0000000000..7d58891f3c --- /dev/null +++ b/pages/common/cdecl.md @@ -0,0 +1,20 @@ +# cdecl + +> Compose and decode C and C++ type declarations. +> More information: . + +- Compose English phrase into C declaration, and create [c]ompilable output (include `;` and `{}`): + +`cdecl -c {{phrase}}` + +- Explain C declaration in English: + +`cdecl explain {{C_declaration}}` + +- Cast a variable to another type: + +`cdecl cast {{variable_name}} to {{type}}` + +- Run in [i]nteractive mode: + +`cdecl -i`