home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
prgramer
/
cdecl
/
cdecl.txt
< prev
Wrap
Text File
|
1990-07-21
|
892b
|
21 lines
CDECL.EXE
CDECL converts C declarations to English, and back. It is very useful
in analyzing and producing complex declarations. It runs interactively,
or will convert declarations in files. CDECL is most useful for beginning
C programmers, but even experienced C'ers can find it effective. After all,
let the machine do the hard work!
This program has been around for years in one form or another. It was
released into PD, and I picked it up and converted it to run under DOS
and OS/2 (it is a "bound" dual-mode program). If source is desired, it
is available, but requires YACC.
A convenient use for CDECL is to use it with the Microsoft PWB "pipe"
extension, or the "pipe" feature of VI. You can key in the declarations
in the editor like "declare x as pointer to array of pointer to int" and
have the declaration replaced by proper C code!
Have fun!
Fred Weigel.