On Apr 23, 3:23*am, Bart van Ingen Schenau
<Bart.van.Ingen.Sche...@ict.nl> wrote:
> On Apr 22, 6:41*pm, mkoro...@yahoo.com wrote:
>
> > I was wondering if there is a way to see the source code generated by
> > compiler - anything that compiler inserts such as constructors,
> > destructors, vptr, etc . Looking at this can help to learn.
>
> No, you can't obtain any source code for the compiler-generated parts
> of the program, because the compiler does not create source code for
> that.
> The best you can get is to ask the compiler to output (annotated)
> assembly code, but be aware that optimisations can make it very hard
> to recognise your own code in the produced assembly.
>
> Bart v Ingen Schenau
Thanks everyone for your replies. It was helpful.
|