3.2K
Downloads
5.0
1 Ratings
All Versions
3.2K
Total Downloads
11
Downloads Last Week
Current Version
3.2K
Total Downloads
11
Downloads Last Week
Downloads Last 10 Weeks
All Versions
5.0
1 Ratings
5
4
3
2
1
Current Version
5.0
1 Ratings
5
4
3
2
1

ANSI/Turbo Pascal to C/C++(win)Overview

Editor: This is yet another Pascal to C/C++ converter. The primary idea of this converter is to produce readable and supportable code which preserves style of original code as far as possible.
Converter recognizes Pascal dialects which are compatible with Turbo Pascal 4.0/5.0 and ISO Pascal standard - IEC 7185:1990(E) (including conformant arrays). At this moment it was tested with Turbo Pascal, Oregon Pascal, Sun Pascal and HP Pascal.
Converter can produce both C++ and C output. Using of C++ language allows to encapsulate some Pascal types and constructions into C++ classes. So mapping Between Pascal and C++ becomes more direct then between Pascal and C. I use C++ templates to implement Pascal arrays and files. Special template classes are used for conformant arrays. C++ like streams are used to implement Pascal IO routines. The same runtime library is used both for C and C++.
Now PtoC recognizes Turbo Pascal's extensions, such as units, strings, some special types and operations. Turbo Pascal extensions are supported only for C++ language.
At this moment PtoC successfully converts more than 400,000 lines of Oregon Pascal to C (from RSX to OpenVMS). To test C++ translation and conversion of Turbo Pascal extensions I convert BGIDEMO.PAS and LISTER.PAS files from Turbo Pascal distribution and also convert some numeric programs written on Turbo Pascal by My Friends. To check quality of conversion please look in file bgidemo.cxx which was produces from original Borland bgidemo.pas without any manual changes. Moreover it is possible to compile it, link with WinBGI library and run it under Windows or X-Windows.

New

Fixed some bugs.

ANSI/Turbo Pascal to C/C++(win)Tech Specs

Version
3.58
Date
11.25.08
License
Free
Language
English
File Size
780KB
Developer
Category
SubCategory
Operating Systems
Windows XP, 2000, 98
System Requirements
No additional system requirements.

SelectedFor You

Turbo C Icon
vaibhavweb.tripod.com
This is a free C++ compiler from Borland. It comes with an IDE and debugger.
ANSI/Turbo Pascal to C/C++(win) Icon
garret.ru
Pascal to C/C++ converter
BGI for Windows Icon
garret.ru
Emulation of Borland Graphic Interface library for MS-Windows (C language)
C 2 Delphi or C 2 Pascal Converter Icon
CAD-KAS GbR
Convert C source code into Delphi/Pascal source code.
QRCode 2D Barcode Win32 DLL Icon
MW6 Technologies, Inc.
QRCode 2D Barcode Win32 DLL
VectorC Icon
Codeplay Software Ltd.
A high performance C/C++ compiler which offers the fastest possible gains.