I understand what integration of real numbers is. I know how the definition of it is made.
I have trouble in understanding how it works for complex numbers.
I am referring to the notes here: http://people.math.gatech.edu/~cain/winter99/ch4.pdf.
I understand till how the Reimann sum (page 2) is calculated because it is almost the same as reals. There after, I do not understand a thing.
Please elucidate what it is.
As far as contours go, a rough (and probably poor) analogy is suppose you want to integrate the height of a hill. You would lay out a tape measure and measure the height at each point as you walk up the hill - except you can walk up the hill in lots of different ways. You can walk up in a straight line from east to west, or maybe a curve from south to northwest, etc. Maybe you only want to walk AROUND the top of the hill. You can think of the complex function that you're integrating as the hill (except it has a complex height instead of a real height), and the line or curve you're integrating along as the path in the complex plane.
You'll get different measurements depending on where the start and end points are, and how well-behaved the curve is. If the curve is very well-behaved, there's a nifty property that it doesn't matter what the curve is, the integral will be the same as long as the start and end are the same. You could start at point $a=1$, head all the way out to point $c=10^{1000}$ then come back to point $b=2$, and as long as your path is continuous, you will get the same answer as if your curve went straight from $a$ to $b$.
From there, you can imagine that for these well-behaved functions, the curve from $a$ to $a$ - a closed path, would be the same as the integral from $a$ to $a$ - 0, and you would be right.
I'm glossing over a lot here, but this is a very high-level view of how you can visualize complex integration.