Re: Top ten errors

From: ellie fant (pcrcutitout1000011_at_uko2.co.uk)
Date: 11/20/03


Date: Wed, 19 Nov 2003 23:21:25 -0000


"Gene Wirchenko" <gwirchenkoEXCEPT@CAPITALSwencomine.com> wrote in message
news:phrnrvg47ptadggm57fqgtv8t3vaq39ea3@4ax.com...
> On Wed, 19 Nov 2003 10:36:56 -0500, "Gary Labowitz"
> <glabowitz@comcast.net> wrote:
>
> >I am trying to develop a top ten for errors that my students make. From
> >memory (and while grading exams) I have come up with these.
> >Any suggestions from your own experience?
> >[They are in no particular order]
> >1. Using = instead of == in boolean expression.
> >2. Putting a ; after a comparison expression of a flow of control
keyword.
> >3. Using the same name for an argument parameter as a data member name.
> >4. Using void main( ).
> >5. Omitting ; after a class declaration.
> >6. Using && instead of || to check limits of a value.
> >7. Failing to provide a default constructor in a base class after having
> >provided a parameterized constructor.
> >
> >More?
>
> Coding your own when there is already a library function to do
> it.
>
lol



Relevant Pages

  • Re: Top ten errors
    ... > I am trying to develop a top ten for errors that my students make. ... > memory (and while grading exams) I have come up with these. ... > provided a parameterized constructor. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Top ten errors
    ... > I am trying to develop a top ten for errors that my students make. ... > memory (and while grading exams) I have come up with these. ... Failing to provide a default constructor in a base class after ... > provided a parameterized constructor. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Top ten errors
    ... > I am trying to develop a top ten for errors that my students make. ... > memory (and while grading exams) I have come up with these. ... > provided a parameterized constructor. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Top ten errors
    ... > I am trying to develop a top ten for errors that my students make. ... > memory (and while grading exams) I have come up with these. ... > provided a parameterized constructor. ...
    (alt.comp.lang.learn.c-cpp)