Converter Program Snippets


A Pascal version of mattloto's C++ program. just to prove that pascal is cool.

19 November, 2013   

General purpose converter program for conversion between any two number systems. As long as there is more than one number system in use, conversion of numbers from one system to another is important. By this program you can convert number systems with radix more than 16 also.

General purpose converter program for conversion between any two number systems. As long as there is more than one number system in use, conversion of numbers from one system to another is important. By this program you can convert number systems with radix more than 16 also.

This program checks whether an year (integer) entered by the user is a leap year or not.

C++ Source code for Three Dimension Coordinate Systems Converter

C++ code snippet for three dimension coordinate systems converter

C++ example code for three dimension coordinate systems converter

C++ code example for three dimension coordinate systems converter

15 November, 2012   

If one of the input values is zero, then the program will end with an error code of "1" in the job control card listing following the execution of the program. Normal output will be one line printed with A, B, C, and AREA. No specific units are stated.

26 August, 2015   

A program which gives a lexigraphic permutation generator.

Function of an integer raised in a power * and the calculation of the sum of a series of integers

25 October, 2011   

A quick way to hide your program's title bar.

Function of an integer raised in a power * and the calculation of the sum of a series of integers (1^e+2^e....+n^e) raised in a power.

04 May, 2011   

Take a JPG image, and convert it to ASCII code!

This function is used to reverse an integer array. For example, if the array is {1,2,3,4,5}, these functions will return an array like {5,4,3,2,1}. The user needs to pass in a pointer to the array and the size of the array, and the function will return a pointer to an array in the reverse order.

10 January, 2012   

The primary looping construct in Fortran is the iterative DO loop. Here's an example:

22 March, 2015   

Program shows copying one text file from source location to any other location (destination), plus possibility of changing its name, and also shows many language features in exception handling. This program should be run from the command prompt

This simple program shows the size and ability of primitive data types to handle minimum and maximum values, to take care about it, while you write a program.

This simple program shows the size and ability of primitive data types to handle minimum and maximum values, to take care about it, while you write a program.

31 May, 2011   

This is how Turbo Pascal works.