Skip to main content

10 steps which makes eassy to done any project

C Project Development tutorial :Hello friends here i am sharing a new article which makes you easily handle and easiy to code a project.
This tutorial is for all those who wish to make their own project using c programming. First of all let me tell you need not be an expert in programming to make your own project, if you are a beginner/student then you can make one of your own. Fundamental concepts of c will be required to make a project; also don't worry if you don't know pointers if you know then its good, pointers are used rarely as it depends only on you whether you want to use them or not. But you should know how to make your own functions and use them. To make a project you may have to use graphics in your program, so if you want to learn c graphics programming then visit c  graphics programming tutorial. Following points will be useful to manage your project


  1. Be very clear about the idea of your project, modifying your project at a later time can be a trouble for you.
  2. Always create a back up of your source code, you start your project by writing some portion and it works fine but at a later point of time you need to modify it so you modified the original one and you find it's not working and now you want your original one back but it is not possible if you have saved your file or you can undo if it works. So you should keep a backup of every source file.
  3. To easily manage keep your project source code in different files.
  4. Do not use too many global variables as global variables are shared by many functions so they get modified causing a lot of trouble when you’re not getting the result what you desire although your logic is correct.
  5. Use const keyword as much as you can, it will help you to protect your variables from being modified when undesired.

  6. Ensure that every function is performing the task for what it is made you can test your function separately by using it in a program which is not a part of your project.

  7. Every function should have a description about what is to be done by a function and description of arguments being passed to it. You can use comments for this purpose.
  8. Write detailed comments in your source code where possible particularly when you have use a trick etc. It will help quickly understand your source code at a later time.
  9. Initialize every variable at declaration time.

  10. Use tab and blank spaces to make your code easily readable which will help in easy understanding of code.

Popular posts from this blog

Balloon Shooting game in cpp

Balloon Shooting Game is a simple game using c and cpp features. You can easily learn and is easy to run because this game works in TURBOC compiler. The main features are included is  GRAPHICS and DOS commands. Basic commands used in this game : initgraph : initgraph is used to initialising of graphics mode in the program.                   ex. initgraph(&gm,&gd,"akshay"); here gm uses Graphics detect mode and gd points to graphics features to be used in program ans last is a string it may be any string like c://tc/bin etc.. setbkcolor : sets the current background color.    for ex. if you want to set background color to blue, you can call   setbkcolor(BLUE); or setbkcolor(1); getimage : saves a bit image of the specified region into memory. putimage : outputs a bit image onto the screen. settextstyle : sets the current text characteristics.     Declaration : settextstyle(int font,...

Minesweeper Game in C

Minesweeper Game in C language. This game is like a windows minesweeper game and I am giving you all the code for this game. You can easily understand the code if you are not a beginner. For beginners this code will quite hard to understand. Because in this code it contains mouse pointing function, graphics function, and so many other codes which makes it so hard to play and is a mind game. So play and enjoy it.   Click here for code Click for code

Make your own paint application in c and cpp

Paint application using simple turboc complier. Hello friends now make your own paint application or mini project in your simple c and cpp compiler. click to show the code for paint program