VanCBJ.java is converted from cbVan.c (just for the fun of doing it). Download VanCBJ: Click here - Readme - Feedback Run sample for JDK 1.1.3: Click here
- And if you're not a Java nerd then use cbVan.c: it's faster. How fast? For 1000 lines of code, cbVan.c will take a blink of an eye: one second. As Java is platform independent, it would take a blink of an eye in Vietnamese, Chinese, Japanese, Korean, French,... and finally Swiss: four minutes, if displayed on Java console!... (less than a minute if saved in a text file: not too bad)
Version 2.1n Aug. 14, 1997
Code Beautifier / Pretty-Printer / Indent / Reformatter
Purpose: pass on a very simple but useful C-program that can do most of the job of indentation. Thus, it can be translated to any other programming languages, such as Java.
Description - Indents C/C++ and Java source code - See below, to indent Oracle Pro-C SQL (compiling option) - Also, helpful to find the misplaced '{' or '}' for debugging purpose - Executables for MS Windows 95/NT, DOS, Unix (Solaris 2.4, Sun OS 4.0) - Download binaries and C source code for free Enhancements from the original 'cb' C-program by William C. Colley, III. - read long file name with case sensitive for Java Class - process C++ comments '//' and 'class::member' - use blank spaces as default (use tabs as an option) - compile also on Unix (tested on Solaris 2.4 C/C++ and Sun OS 4.0) Remarks - reformat Borland/Inprise C++ Builder correctly, without parameterized variables used in DataBase control components (:name) - email me for Borland update. Warning - doesn't like MS Visual C/C++ Java Sample Chart.txt : Original Source Code Chart.java : cbVan output example1.html: Run demo C/C++ Sample helloc.txt : Original Source Code hellob.txt : cbVan output cbVan.c source code indented by itself. (exactly the same source code is included in the zip files for download free) Usage.txt and filesize
Read disclaimer and Download Now! Available, now... - cbpc: Code Beautifier for Oracle Pro-C SQL - Will handle 'host variables': considered as 'labels' by standard cb - filesize - read disclaimer above and download
Software with similar functionalityGNU's Not Unix: try to find 'indent' program (ind191...) Retab32 (MS Windows 95/NT) On Unix, you should have a command: cb (mainly for C-programs)
I Love Hot Java Development.
Borland is now... Inprise .
VNISoft NEEDS YOUR SUPPORT AGAINST MICROSOFT FOR INFRINGEMENT OF VNI's TRADEMARK/TRADENAME AND ITS VIETNAMESE SOFTWARE DESIGN.
Mozilla Vietnamese Enabling http://www.geocities.com/~starkville/mozilla/vn.htm
Online Training in Programming at: ZD University