C Project Development tutorial :-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 it's 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 your project keep your 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 your 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) Make sure 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. For example consider the following sample program

#include <stdio.h>

int main() {
  int b = 1, c = 1;

  for (b = 1 ; b <= 10 ; b++) {
    for (c = 1 ; c <= 10 ; c++) {
      printf("%d\n", b*c);

  return 0;

Posted By :-Cplusplusprogramming
Designed By Blogger Templates | Templatelib & Distributed By Blogspot Templates