C++ Home
Compilers
Links
Books
Forums
SiteMap
Contact Us


Site Search


 

C++ Source Codes (Beginners)


File
Date
Size
Author
24/06/2002
62 KB

This is a telephone book simulation program that uses a DOS based menu system. A linked list has been implemented. You will have to save the provided text file on a floppy in order to use the program. Or, you could modify the code accordingly.
The author has asked for comments on how to improve the menu system, so if you have any opinions please do not hesitate to contact him using the email address provided with his name. Thank you.

 

File
Date
Size
Author
24/06/2002
62 KB

This is a telephone book simulation program that uses a DOS based menu system. A linked list has been implemented. You will have to save the provided text file on a floppy in order to use the program. Or, you could modify the code accordingly.
The author has asked for comments on how to improve the menu system, so if you have any opinions please do not hesitate to contact him using the email address provided with his name. Thank you.

 

24/06/2002
49 KB

A typical kiddie puzzle game involving scores. The aim of the game is to arrange all squares in order or to make a picture out of them. Once you finish a puzzle you get 100 points. Every move you make costs you 10 points. Once you go zero the game is over. So the less moves you make, the more you score.

 

24/03/2002
66KB
Apurva Mehta

This program demonstrates a function IsSub(char*, char*) that determines whether the string pointed to by the second argument is a sub-string of the string pointed to by the first argument. If it is then the function returns the position of the second string in the first else it will return the value -1.

 

13/12/2001
23Kb
Apurva Mehta

This is a very simple implementation of a binary search in C++. It uses a 10 element sorted array to demonstrate the use of this search method. A binary search is one which is very effective when searching sorted lists. It basically halves the area to be searched in each loop until the the end or until the required element is found.

 

26/08/2001
57Kb
Apurva Mehta

This program accepts a string and outputs it with only the first occurence of each character. So, for example, if you enter the sentence: "the cat was black", the program will give the output: "the ca ws blk".

 

11/06/2001
27Kb
Anish Pasari

This is another mathematical program which calculates any of the variables invovled in the calculations of the equation of a straight line in the order ax² + 2hxy + by² + 2gx + 2fy + c = 0. All conventions are explained within the program itself.

 

11/6/2001
24Kb
Anish Pasari

This mathematical program calculates the various variables invovled in the calculations of the equation of a straight line in the order ax² + 2hxy + by² = 0. All the conventions employed by the program are explained within the program itself.

 

4/06/2001
31Kb
Anish Pasari

This is a simple C program which basically compares two strings and reports whether they are the same or not.

 

12/02/2001
73kb
Apurva Mehta

This program uses looping to convert the input seconds into hours, minutes and remaining seconds.

 

27/01/2001
2kb
Apurva Mehta

This is a header file which performs various mathematical operations. You will have to copy it to the \Include directory of your compiler to be able to use it. The exact functions as well as their use have been explained within the header file itself.

 

27/01/2001
74kb
Apurva Mehta

This Program takes the coefficients (a,b,c) of a quadratic equation ax²+bx+c as inputs and outputs the resultant roots.

 

25/01/2001
72kb
Apurva Mehta

This program has its own library file swap.h. You can use this file to swap the values in any 2 variables. The program generates the fibonacci series till the desired element. Please read the readme file for details.

 

02/01/2001
65kb
Apurva Mehta

This program uses functions to find the first 10 prime numbers. You can change the number of prime numbers to find by simply changing the while statement.

 

25/12/2000
65kb
Apurva Mehta

This is a program which underlines one use of pointers and gives you a sort of idea on how header files work. Here pointers are used to swap 2 predefined numbers.

 

25/12/2000
66kb
Apurva Mehta

The random.zip file shows you how to generate random numbers and store them in an array. Furthermore, it shows you how to sort the array in ascending order using functions.

 

25/12/2000
68kb
Apurva Mehta

The strings.zip file is a very simple file underlining the use of strings in C++ and information on how to manipulate them. It is a good download for those unfamiliar with the use of strings.

 

Need a help with C++ program or homework? homeworkhelp4u.com/ Affordable homework help.

Add your C++ Source Codes

Join our Mailing list:
Find out more

 

In Association with Amazon.com