Validate and Verify

There is always one more bug

Best Resource for Software Development. Read stories from real practitioners on various subjects around software development.


Archive for the ‘Code’


How to pick a good IDE when you begin programming in C

Most of us have grown up writing programs in C, it was usually Turbo-C or Ansi-C . There used to be black background editors which looked very primitive and most of them wont distinguish a keyword from a variable, we were supposed to compile them to find errors. Its not entirely true that all were using these editors, some of us also used the iconic and cult vi editor, an editor which is more like a rocket-controlled control panel with every conceivable operation possible through a weird combination of keys. Some of us would master the most common and flaunt our prowess but none of those prowess would ever make you a good programmer. Of course, we didn’t know that.

Later you started to have better editors and then IDE viz. ‘Integrated Development Environment’. An IDE is a software which makes it easy for you to create a complex project, having many source (say .c or .cpp) files, headers, libraries and so on. These IDE also usually have a very advanced editor which helps you in writing a program. So if you are writing a .cpp program and you are looking for arguments for a standard function like strcpy() which is defined in strings.h then you wont have to do much, just write the function and you would get options to choose from. Right while you are typing. They also help you in distinguishing language keywords like while/for/if for C from user defined variables, like int i.
Read More