Re: [off-topic] formatting C-code

From: Jeremy Elson (jelson@jhu.edu)
Date: 10/11/96


> Do anyone know any filter/prog that will format C-code ?
> 
> At my old school we had cb and some other prog to do it but I can't find
> anything at the big linux ftp sites..

The Circle code was mostly formatted with 'indent', which is on most 
boxes (including Linux), using the following .indent.pro file:

-kr -i2 -di0 -npsl -nfc1

Of course, that will format your code to my personal preference of 1TBS.  
You may like something different.

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST