OT: c++ q

OT: c++ q

Erez D erez0001 at gmail.com
Sun Apr 26 17:23:33 IDT 2009


diego, you didn't find all the errors, try again ;-)

On Sun, Apr 26, 2009 at 5:19 PM, Diego Iastrubni <elcuco at kde.org> wrote:

> On Sunday 26 April 2009 15:38:53 Erez D wrote:
> > files:
> > == a.h ===
> MISSING:
> #ifndef __FILE_H__
> > class a {
> > int m_a;
> >  a (int val);
> >  void do_somthing()
> > }
> MISSING: semicolon, last line should be
> };
>
> MISSING:
> #endif // __FILE_H__
>
> > == a.cpp ===
> > #include "a.h"
> > a::do_somthing {a.m_a++;};
> > a::a(int val):m_a(val) {};
> > ============
>
> GRADE: C- ~ 70.
> Go back to school, and as punishment re-implement quick_sort in VB.NET.
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090426/5fb6133e/attachment-0001.html>


More information about the Linux-il mailing list