Advice.com
Sign up for free to ask for and give advice! OR Use Facebook login

In this article we will see our first C program. The first C program - Hello Advice.Com #include <stdio.h> void main (void) { printf ("\n Hello Advice.Com"); } As simple as it goes. Our first program did not take much to write and is very simple to understand as well. We have included stdio.h as we wanted to make use of printf. The only new thing to learn her... read more »
Having equipped ourselves with the data types and operators we now have to check out the control structures that would finally be used to implement a logic in programming The if-else statement The if statement is used to check a condition and do what is expected if the condition fails under if and do what is required when the condition fails under else part. The if can be nested to take care ... read more »
In this article we will continue with our C lesson. Structured Programming C falls under the structured or modular programming category. Understanding the programming methodology is important before understanding the programming language since the language reflects the methodology that it is based upon. 'C' program depends largely on functions and getting things done by breaking t... read more »
In this series of articles we will focus on the programming language C and how to learn it in easy to follow steps. Programming Languages Computers are general purpose machines that can do a wide variety of things ranging from word processing (data entry) to showing you movies and browsing the internet. It also does other productive job like accounting and helps to play games too. What makes ... read more »
Today the days of desktop computers are over. There are not many who would spend on buying a desktop today since the prices of laptops have fallen. So why do people choose a laptop Advantages 1. A laptop occupies less space and hence fits well in a home decor 2. It is portable and so you can carry it to your workplace and back to home 3. There is a backup power in a laptop built in and henc... read more »
Kodaikanal is the often forgotten hill station in south India compared to the famous Ooty that most people flock to during the peak summer. It is in a way good for Kodaikanal as it sees less of the crowd and is therefore a prime target for the well informed. Route from Bangalore It is approximately 450 kms from Bangalore and that makes it a little longer drive in car but still enjoyable. The... read more »
This will conclude our series of articles on chess. The main objective of the game of chess is to have the opponent's king in check and nowhere else to go. So we are planning to seal the escape route and give the killer blow by finally placing the opponent's king under attack. First we should know how all our check (attack on the king) is likely to be handled. Handling a Check There... read more »
Apart from the normal moves of the pieces there are some special movements that are allowed in certain scenarios. We will look at a couple of them Castling The King is the most important piece in the entire set. If it comes under attack constantly, it could mean a lot of problems for the side and if you fail to properly defend it you might lost the game. Since the pieces are focused at the ce... read more »
We saw the various phases of chess, the beginning the middle game and the end game in the previous articles. Today we will check out the various methods in which the game could end in a draw Stalemate This is important because it occurs mostly due to negligence and costs a person a win. He has now to be happy with a draw while his opponent escapes an almost definite loss. A stalemate is a pos... read more »
Well begun is half done in chess and in the middle game you can tighten your position by the advice provided in the previous article. Once you establish your supremacy it is time to nail the coffin in the end game. Passer Pawns When you have more pawns than your opponent the idea is to create a passer pawn. A passer pawn is one that can go till row 8 (if white) and row 1 (if black) without ha... read more »