Skip to content
C

Cdecl

Composing and deciphering C (or C++) declarations or casts, aka ‘‘gibberish.’’

by paul-j-lucasFree

#3853in Developer Tools
0In stores

Description

cdecl is a command-line program for composing and deciphering C and C++ declarations and casts, the hard-to-read type syntax that programmer…

Highlights

  • Decipher and compose C and C++ declarations
  • Interactive terminal mode or command-line input
  • Expands C preprocessor macros step by step
  • Knows language versions from K&R C to C++26
  • Built with GNU Autotools

Ratings & Reviews

No ratings yet

Be the first to rate Cdecl.

People also visit

C

cpp-coding-standards

C++ coding standards based on the C++ Core Guidelines (isocpp.github.io)

AI Skills
Get
C

cpi

Tiny C++ Interpreter

Developer Tools
Launch
C

cpp-pro

Writes, optimizes, and debugs C++ applications

AI Skills
Get
C

clangd

LLVM-based language server for C and C++

AI Skills
Get
P

Predef

Pre-defined Compiler Macros wiki

Utilities
Launch
C

Ccls

C/C++/ObjC language server supporting cross references, hierarchies

Developer Tools
Launch

Cdecl FAQ

What is cdecl for?

It composes and deciphers C or C++ declarations and casts, and it can expand C preprocessor macros step by step.

Who is it for?

Programmers who write or read C and C++ declarations and want a tool to check what they mean.

How do I use it?

Run it interactively in a terminal, or pass the declaration on the command line or through standard input.

Which language versions does it support?

It distinguishes K&R C, C89 through C23, and C++98 through C++26, and includes many standard and Windows types.

How is it built?

The codebase uses GNU Autotools. The source is public on GitHub.

What are the best Cdecl alternatives?

Popular alternatives to Cdecl include cpi, Ccls and Gdbgui. See all Cdecl alternatives

Developer Stuff

Badges