Monday, March 9, 2015

Modern Periodic Table Project in C

The Modern Periodic Table project in C is a simple console application built without the use of graphics. It is developed using the C programming language for the purpose of storing name, symbol, atomic number, atomic weight, and some important properties as well as to display them as per requirement of the user. The source code for this project is complete and totally error free, and we warmly welcome any feedbacks and suggestions.

The source code for Modern Periodic Table project in C is simple and understandable which consists of around 600 lines of code. The code should be compiled in Code::Blocks as the Integrated Development Environment (IDE) in which the project was developed is Code::Blocks using GCC compiler.. From the link below, you can directly download the source code (.c) plus the executable (.exe) file for this project.
The project will help you to understand file handling in C i.e. creating a file and accessing the stored data in the file, modifying and removing the stored data. This Modern Periodic Table project in C will also help you to understand the use of functions as well as different parameters of C programming language.
The main functions used in designing the Modern Periodic Table project are:
  • void add(): This function is used to input or add the information of new element to the program.
  • void explor(): This function is used to explore the stored information in the file created.
  • void mainscreen(): It is included in source code of project file in order to print the text style and to control its color.
  • void mainscreen(): This function is used to print the main screen or menu of the project.

Features of Modern Periodic Table Project in C:

  • Storage of Element Information: In the project, you can add any new element with its name, symbol, atomic number, atomic weight and its some important properties. When new element information is to be added to this Modern Periodic Table, you have to enter 1 in the main menu and input information in given format. These information are stored in file created on the hard disk of computer by program itself.
  • Exploration of element Information: Another main function of the Modern Periodic Table project in C is to explore or to display the stored information. You can search an element by using any of the following method:
    1. By name of element
    2. By symbol of element
    3. By atomic number of element
    4. By atomic weight of element
  • If you press 3 in the main menu, the program will be terminated.

3 comments: