If you use a Microsoft Compiler, it indents for you. In the case of Dev C++, the older versions especialy, it has no identation help at all.
A good example of good indent is as follows:
Code:
#include <iostream>
using std::cout;
using std::endl;
// main function
int _tmain(int argc, _TCHAR* argv[])
{
// declare two integer variables using one line
int length, height;
// assign lengh and height values
height = 7;
length = 10;
// display result to screen by multiplying the variables after the cout statement
cout << "Total area is: " << length * height << endl;
getchar(); // freeze output
return 0; // indicate sucsessful termination
}