/~starkville
http://www.geocities.com/Eureka/Park/8297

Welcome to my Home in StarkVille

VanCBJ: Code Beautifier Java Applet

Version 4.2 May 13, 1998
This is free software, and you are welcome to redistribute it
under the terms of the GNU General Public License

NEW: Howto use Vietnamese VISCII fonts in Java
http://www.geocities.com/~starkville/SS/SearchVISCII.htm



  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)

cbVan: Code Beautifier by Van

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 functionality

GNU'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

Feedback.txt: Suggestions and bug reports are welcome


Home Business Computing
Training Consulting Publishing / Information Processing
Email to: Van Di-Han Ho (starkville@geocities.com)


Java is a trademark of Sun Microsystems, Inc.
Netscape is a trademark of Netscape Communications Corporation.
Borland is Trademark & Copyright ? 1998 INPRISE Corporation
Microsoft, MS, and MS-DOS are registered trademarks, and Windows,
Windows 95 and Windows NT are trademarks, of Microsoft, Inc.

This page hosted by Get your own Free Home Page

GeoMembers Tools

Online Training in Programming at: ZD University