int found=0;// *** use this trick in order to know if you found the name you were looking for or no...


NICE one

now i think some changes would have been better...im planning of using files in my program...i implement some of ur idea in my code...

++i This is pre increment.
i++ this is post increment.post decrement means that the variable is decremented after the expression is evaluated
now dont ask me the question like...how come u knew the ans...