1. Before sitting down for coding, you must have formal or a paper-napkin design of the solution to be coded. Never start coding without any design unless the code is trivial one.
2. Good code documentation is as important as good knowledge of a programming language. Write brief logic for each major block of your code as comments in source code file itself. Its good to mention creation and modification dates of your program along-with why modification was required.
3. Maintaining versions of your program is another important task. Some present-day programming tools already have a built-in version management. Whenever you make any change to your program, they save its copy as .bak file.
My approach is to maintain 3 versions of a program. Say, I have a file program.c which is used by other project team members also. I copy this file as program.c.old as backup and make another copy as program.c.wrk where I do modifications. When modifications are successfully compiled, replace program.c with .wrk file.
You can also append a date or some explanation phrase to your program versions like program260505.c or programReadFnWrking.c .
4. If your project contains multiple source files then maintain a README file stating purpose of each source files, data files, intermediate and log files (if any). You may also mention the compilation and execution steps.
5. Ever wondered why your IF statement is not working as it should do. May be your are using single equal i.e. "=" instead of "==" in the condition check. A good approach is to write condition in reverse order. So, your condition should read something like this:
if ( 10==i) .... So, if you put single equal sign by mistake then it will be detected at compilation time only as an error.
6. While using loops and conditional statements, always first put closing braces corresponding opening braces and then write the inner statements i.e.
1) for(int i=0;i
executive chauffeured services Bradford .. Madison to Airport carWouldn't you be shocked to find that your personal sensitive... Read More
Computer is an electronic machine work on the instructions of... Read More
Ad Blocking is getting to be a common sport on... Read More
When studying for your Cisco CCNA, CCNP, or CCIE exam,... Read More
Getting a new computer should be an exciting and gratifying... Read More
The basic language of the internet is html. If you... Read More
Upgrading your processor will always speed up your computer, but... Read More
IF WE say that it was mainly because of the... Read More
Most people think that all you have to do to... Read More
This tip is on sharing files and folders on a... Read More
Computers are everywhere, and vary in specification, brands, sizes, shaped,... Read More
I have a love-hate relationship with my computer.In fact, often... Read More
1. Before sitting down for coding, you must have formal... Read More
Feeling overwhelmed in selecting a new TV? With all the... Read More
You???ve studied hard; you???ve practiced your configurations; you???ve used your... Read More
I met an entrepreneur who hole heartedly disagree with an... Read More
It's free, it comes with Windows and it's used by... Read More
I am going to assume that you are running windows... Read More
I'm eighty-one years old and I bought my first computer... Read More
Have you ever thought about building your own computer system?... Read More
The year is 1981. IBM has just released the Personal... Read More
Are you looking for an MP3 player but am not... Read More
A friend told me: "My computer startup seems to be... Read More
Tip #1. Do a Google search. Don't be to general... Read More
Computer related terminology could sometimes be daunting to newcomers. These... Read More
O'Hare Chicago prom limo ..The year is 1981. IBM has just released the Personal... Read More
Using SQL Server 2000 and above versions you can retrieve... Read More
Getting a new computer should be an exciting and gratifying... Read More
By using your computer today you can find a lot... Read More
Computers are everywhere, and vary in specification, brands, sizes, shaped,... Read More
Saving Lives With A Pocket PCFree medical downloads can be... Read More
Lost & Found for the 21st CenturyIn today's hectic world... Read More
If you're like me, you occasionally find the ubiquitous mouse... Read More
1. Before sitting down for coding, you must have formal... Read More
In Windows Xp, you can install two operating systems on... Read More
Stop Getting LostOne of the greatest uses for a pocket... Read More
You probably heard of the new Firefox browser version 1.0... Read More
Your first step in removing dangerous infections from your computer... Read More
We've all seen them, you've been browsing a website and... Read More
When studying for your Cisco CCNA, CCNP, or CCIE exam,... Read More
The Internet can be a dangerous place.While you're enjoying the... Read More
It's hard enough as it is these days to get... Read More
I have a p3 500MHz PC with 128MB RAM, 10.2... Read More
CCNAs and CCNA candidates hear it all the time: ???Get... Read More
As the owner of a Country Mall and Top Site... Read More
Are you thinking of buying an Apple iPod? Or have... Read More
With the bewildering number of digital cameras on the market,... Read More
Have you ever tried to remove Spyware off your PC... Read More
As the web has evolved, so have the methods of... Read More
Passwords have a strange dual nature. The stronger and safer... Read More
Personal Technology |