Cdecl online server

LeMoDa.net offers an online version of the Cdecl utility for understanding declarations of the C programming language. Type a string for Cdecl in the box. Type "help" to get a help message from cdecl.

Your input:
Cdecl output:

Message:

Example inputs

If you want to unravel a C declaration, use the word explain before the declaration.

Input 1:
explain void (* x)(int (*[])());
Input 1 gives output:
declare x as pointer to function (array of pointer to function returning int) returning void

If you want to turn an English description into a C declaration, use the word declare before the English description.

Input 2:
declare x as pointer to function (array of pointer to function returning int) returning void
Input 2 gives output:
void (*x)(int (*[])())

About this server

This Cdecl server is based on Cdecl version 2.5. The "Message" box above provides messages from an input preprocessor which is designed to catch common input mistakes and provide a little more help than Cdecl's "syntax error" message.

LeMoDa.net's Cdecl online server also uses ideone.com © by Sphere Research Labs via the WWW::Ideone Perl module, to provide help with syntax errors the preprocessor cannot find.


Copyright © Ben Bullock 2009-2011. All rights reserved. For comments, questions, and corrections, please email Ben Bullock (ben.bullock@lemoda.net) / Privacy / Disclaimer