Re: line by line compiling in c



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.
And even if you could why would that make compiling
errors go away? If you feel overwhelmed by the number
of error messages (of which many might be follow-up
errors) just look only for the first one, correct the
problem and recompile and continue in that way until
the compiler is satisfied. If you're done with that
raise the warning level of your compiler and repeat
- many compilers are per default only telling you
about your worst mistakes but can find a lot more of
problematic code if asked to. And that often helps
a lot in getting a working program, it's often much
quicker than trying to find bugs with a debugger.

Regards, Jens
--
\ Jens Thoms Toerring ___ jt@xxxxxxxxxxx
\__________________________ http://toerring.de
.



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
    ... jt@xxxxxxxxxxx (Jens Thoms Toerring) writes: ... Most lines don't make sense out of context. ... however we do backgroun compiling for syntax ... BTW a decent IDE or Editor will allow you ...
    (comp.programming)