Download   Online Shop   Red Hat Network
Home  |  Products & Services  |  Support  |  Training  |  Partners  |  Documentation   
Red Hat Documentation

Overview | HOWTOs | mini-HOWTOs | FAQs | Linux Man-Pages

C-C++ Beautifier HOW-TO: Introduction Next Previous Contents

1. Introduction

Coding standards for C/C++ or any language is required in order to make the programs more readable/understandable by programmers. There are C/C++ beautifiers (formating tools) to accomplish this goal. Formatted (beautified) code improves the productivity of programmers by 2 times!!

On Linux/Unixes there is a command called "indent" and "cb" . Refer to 'man indent' and 'man cb'. Note that indent and cb work for only "C" programs. For "C++" programs use "bcpp". Download the beautifier program from one of the following

  • C++ : BCPP site is at http://dickey.his.com/bcpp/bcpp.html or at http://www.clark.net/pub/dickey
  • C++ : BCPP ftp site is at ftp://dickey.his.com/bcpp/bcpp.tar.gz
  • C++ : http://www.consultix-inc.com/c++b.html
  • C : http://www.chips.navy.mil/oasys/c/
  • C++ : http://www.semdesigns.com/Products/DMS/DMSToolkit.html
  • C++, C, Java and Oracle Pro-C Beautifier http://www.geocities.com/~starkville/main.html
  • C++, C beautifier http://users.erols.com/astronaut/vim/ccb-1.07.tar.gz and site at http://users.erols.com/astronaut/vim/#vimlinks_src
  • C++, C, Java, Perl beautifier CBP http://www.prismtk.de/docs/cbp
  • GC! GreatCode! is a powerful C/C++ source code beautifier Windows 95/98/NT/2000 http://perso.club-internet.fr/cbeaudet
I used BCPP to format the C++ programs and it worked fine for me. You may want to check other tools and use the one which you may like the most.

BCPP was written by Steven De Toni at steve@alpha.ocbbs.gen.nz


Next Previous Contents

 

 
 
Search for:  on    Powered by Google
Products & Services   :   Download   :   Support   :   Training   :   Partners & Programs
© 2001 Red Hat, Inc. All right reserved.       About Red Hat   :   Legal statement   :   Privacy statement   :   Y2K statement   :   Contact Red Hat