Re: line by line compiling in c



jt@xxxxxxxxxxx (Jens Thoms Toerring) writes:

vaavi <vavasgroups@xxxxxxxxx> wrote:
i am new to programming in c
fed up of getting compiling errors
can u tell me how to do line by line compiling.........

You can't. Most lines don't make sense out of context.
This is correct, however we do backgroun compiling for syntax
checks. So if you insist you can see it as compiling line-by line.

The problem with errors while compiling is that tons of other erros
will be shown which simply are ok. So you have to tackle the stuff
from the first line onwards. BTW a decent IDE or Editor will allow you
to click of double click on an error messag an will bring you to the
"broken" place.

A good thing to try is making functions "small enough" to test them
separatly.

Regards
Friedrich

--
Please remove just-for-news- to reply via e-mail.
.



Relevant Pages

  • Re: Whats lacking: a good intermediate form
    ... "No, there are many IRs, both in the context of compiling and in ... computing terms in general." ...
    (comp.lang.misc)
  • Re: Can this conversion be done?
    ... Please quote some context when replying. ... As you are not compiling anything, the -I option is not needed here ... -l doesn't take a filename but rather an archive name. ...
    (comp.os.linux.development.apps)
  • Re: Whats lacking: a good intermediate form
    ... No, there are many IRs, both in the context of compiling and in ... computing terms in general. ...
    (comp.lang.misc)
  • Re: line by line compiling in c
    ... vaavi wrote: ... Most lines don't make sense out of context. ... And even if you could why would that make compiling ... problematic code if asked to. ...
    (comp.programming)