Showing posts from March, 2014

Text analyzer

The following Text analyzer program is implemented in c program. It program analyzes the given text from the user and calculate the number of words and total number of characters in the line of text. It determines the numbers of vowels, consonants, white space characters and other characters for each line. And finally determines average number of vowels, consonants per line. Concepts used: Array concept is used to store the input text which is to be analysed. The input text is entered during run time. The text contains space hence gets function is used to get the input text from the user. Local variables and global variables are used. For loops and while loops are used to calculate the number of characters and words. Function is used to check whether the given character matches with the available character. Source code: #include<stdio.h> #include<conio.h> #include<string.h> int stc(char *,char); void main() { int ch,ln=0,space,vow,con,

Library Management System ( CPP coding ) :

Library Management System has been implemented as a C++ program. Complete program code is given below. Complete project is available on user request. User comments are welcome to notify any Bugs or to improve the further posts. :) Concepts used: Multilevel inheritance is used in this program. The files concepts were also used to store and retrieve the required data's for the login details, membership details and book details. Modules :   1. Login maintenance  2. Library maintenance  3. Book issue maintenance  4. Book return maintenance  LOGIN MAINTENANCE  Separate login for administrator, member and guest should be provided.  Should accept user name and password from the user.  Should compare the user name and password (case sensitive).  If the user name and password matches then the menu for the respective login should be displayed.  If the user name or password is incorrect it should display an error message.  If the user name