Automated system for Bank Management

This is an automated system for Bank Management. It uses files to handle the daily transactions, account management and user management. Nice graphical layout and mouse functionality. Manager can add, edit and delete the users and manage the user accounts. C...

Finding the Prime number

It prompts the user to enter an integer N. It prints out if it is a prime or not. If not, it prints out all of its proper factors. C /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made...

Reading Text Files

It contains a program that is given as command parameter the name of a text file, say, temp.dat. It will read each line of temp.dat and print out in correspondence the number of characters and words on that line. At the end it will print out the number of lines that...

Adding Numbers

Read a sequence of positive integers and print them out together with their sum. Use a Sentinel value (say 0) to determine when the sequence has terminated. [sourcecode language=’cpp’] /******************************************************* * MYCPLUS...

Fly away to your vacation

The object of the game is to get to your proper plane on time so you can fly away to your vacation. Of course there a few obstacles and problems along the way and they will be brought up at the appropriate time. It will be up to you to solve the puzzles associated...

Pointer to a Function

An example of using a pointer to a function. It must be pointed out that there is nothing new here, the pointer to a function is available in ANSI-C as well as in C++ and works in the manner described here for both languages. It is not regularly used by most C...

Examples and use of Functions

Examples of function declarations, definitions, and use [sourcecode language=’cpp’] /******************************************************* * MYCPLUS Sample Code – https://www.mycplus.com * * * * This code is made available as a service to our * *...

Playing with addresses of variables and their contents

Playing with addresses of variables and their contents: what is done by C with variables, addresses, and values. [sourcecode language=’cpp’] /******************************************************* * MYCPLUS Sample Code – https://www.mycplus.com * *...

Directory Structure

A small script to show all the Directories and Files in a specified Drive or Directory. It shows all the files/folders in a tree with the file size, last modified and other file attributes. It is just like the DIR/P command of the DOS. [sourcecode...

BASE 85 Encoding VB Class

This is a BASE 85 Encoding VB Class that expands the text to be encoded by 4:5. Used in Postscript and PDF documents. Usefull if binary data needs to be persisted in ASCII text. ASP '******************************************************* '* MYCPLUS Sample Code -...

Count the characters in a specified string

This is a visual basic 6.0 source code to count the characters in a specified string. This function can be useful in Text editors or where you want to tell the user that how much characters have been inputted in the text field. You can also define which characters to...

Counts the number of words in a specified string

This is a visual basic 6.0 source code that counts the number of words in a specified string. This function can be useful in Text editors or where you want to tell the user that how much words have been inputted in the text field. ASP...