Source Code
Posted on
August 22nd, 2009 0 Comments
Common Text Transformation Library, CTTL for short, is a set of C++ classes and functions to understand and modify text data. The library implementation is based on STL classes and algorithms.
The library provides components for creating lexical analyzers making practical use of EBNF grammars. Template meta-programming and operator overloading offer features...
Read More |
Make a Comment
Posted on
January 17th, 2009 0 Comments
This is a small C language program that can read a text file. The program is given file name as command parameter and it reads the file line by line. The program will print out number of characters and words in each line. The program will also print out the number of lines in the text file. File name should contain complete physical path or only the file name...
Read More |
Make a Comment
Posted on
November 16th, 2008 5 Comments
This is a C programming code by which a librarian can operate his library more fast. Students details can be added, updated and can issue multiple books. Progam shows different information about library including numbers of books and students. Books can also be added and updated. Books can be added along with title, author and quantity and special code for book....
Read More |
Make a Comment
Posted on
October 31st, 2008 0 Comments
This is a very simple demonstration of linked list in java programming language. Very nice and well commented java source code for beginners. User can “get” and “set” the list items as well as traverse through “previous” and “next ” items. This java program can create a linked list using one object or an array of...
Read More |
Make a Comment
Posted on
October 30th, 2008 0 Comments
An object of type IntStack is a stack of real numbers, with the standard stack operations push(int N), pop(), and isEmpty(). A makeEmpty() operation is also provided to remove all items from the stack.
Internally, the stack is implemented as a linked list.
/*******************************************************
* MYCPLUS Sample Code - http://www.mycplus.com...
Read More |
Make a Comment
Posted on
October 29th, 2008 0 Comments
The IsValidEmail function checks for a valid email, IsValidEmail returns True if the email address is a valid email, IsValidEmail returns false if the email address isn’t proper syntax. The code is well commented and should explain what is happening .
This code checks for @ and a . period sign as well as only acceptable characters. i.e. if a user have entered...
Read More |
Make a Comment
Posted on
October 28th, 2008 3 Comments
This program calculates the the factorial of an integer number entered by the user. The function uses for loop to calculate the factorial and returns the number. Program terminates if a non integer number is entered. This C language program uses for loop in just a single statement to calculates the factorial of integer number.
/*******************************************************
*...
Read More |
Make a Comment
Posted on
October 22nd, 2008 0 Comments
This script is particularly useful for those who have their site on a free webspace provider, then use a “come.to” redirecting service. What this script will do is analyze the URL the visitor is at, and if they did not came to your site via the redirecting URL, it can print out a message telling them that is your new URL. Neat!
/*******************************************************
*...
Read More |
Make a Comment