Skip to main content

Posts

Showing posts with the label Tips and Tricks

C Reference app on Android

Android is one of the most rapidly growing mobile platform today. Most of us are opting for android devices , cell phones /tablets and so am I . While surfing around the Android Market (The place to download android apps) I came across an helpful app; " C Reference ".                                This app provides the reference to the standard C library. It also contains description of all the functions and macros in C, in a searchable from. This app could be very handy in while writing C programs.And the best part about this app is that , this app can be downloaded free from the android market. Screenshots: You can see and download this app from C Reference App

Good Programming habits

Some of good programming habits: 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.

Tip-Always make a backup

Always make sure that when you have a program with more lines of code, you make a backup copy somewhere. Once you find you made some huge mistake, or decide there is a better way to code the entire thing, you'll be glad you made that backup so many hours/days ago instead of re-coding hundreds of lines of code.