srikanth said:
what are the processes that happen after compile starts
The compilation process involves seven distinct translation phases (there is
an eighth, but that's to do with linking, not compilation). The
implementation is free to merge separate phases as long as this doesn't
change the behaviour of the resulting code.
The phases are:
1) Translation from physical environment to source environment, if
necessary, and trigraph replacement.
2) Line splicing.
3) Decomposition into preprocessing tokens, and comment removal.
4) Preprocessing (#include, #define, and all that).
5) Conversion of character constants and string literals from the source
character set into the execution character set.
6) Concatenation of string literals.
7) Compilation (or interpretation).
-----------------------------why is it i find 150 or 100 lines compiled
in the message box though it is a 10 or 09 lines program
It is probably because your implementation is reporting on the total number
of lines, including those resulting from a #include (possibly a standard
header).