Output Data Snippets


20 August, 2011   

Source code for C++ program printing various data to the console.

15 November, 2012   

This program has two input checks: one for a blank card to indicate end-of-data, and the other for a zero value within the input data. Either condition causes a message to be printed.

02 June, 2012   

This code removes all special characters from the given URL and make it SEO friendly.

This function returns the duration of the given time period in days, hours, minutes and seconds. For example: echo convertSecToStr('654321'); would return "7 days, 13 hours, 45 minutes, 21 seconds"

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.

05 April, 2015   

A simple PHP script that outputs data into formatted columns.

06 June, 2013   

Example shows here how to create JSON data in Java

Ever wondered how Visual Studio executes a process - such as a compiler - and displays the text it returns in its own window? It's actually really easy - and here's a simple example as to how.

This example code showing how to use PHP Functions to clean User Input

05 December, 2012   

Instead of providing a traditional address to the image, the image file data is base64-encoded and stuffed within the src attribute. Doing so saves a network request for each image, and prevent exposure of directory paths. Please note that IE7 and below are not compatibles with data URIs.

A short and simple code snippet using voice output with Delphi

Two simple functions to read an write tab seperated files (like CSV files, etc).

14 August, 2016   

All of the XOR encryption algorithms

Source code for Binary tree creation, traversal and search

13 March, 2011   

This program make input type for password.

27 July, 2013   

A dynamic output array by C++ Code

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.

An example of simple stack using linked lists, can be used for database management system.

03 June, 2013   

Plots a histogram from an external file with the frequency of each bin shown above each bar. The XTick is also the intervals of the histogram.