[ubuntu-za] I need to teach C++ programming on Linux rather than on windows
Hilton Gibson
hilton.gibson at gmail.com
Mon Nov 5 07:44:57 UTC 2012
Thx Charl.
That stuff looks Greek to me.
Cheers
hg
On 5 November 2012 09:01, Charl Wentzel <charl.wentzel at vodamail.co.za>wrote:
> On 05/11/2012 08:22, Nico Michael wrote:
>
> When I tried to do a Multiple Inheritance example the wheels fell off at
> the deceleration stage
> class FighterJet : public MilitaryAirCraft, public Weapons
>
> Hi Nico
>
> As far as multiple inheritance goes, here's an extract from my code:
>
> class TEventBufferTemp : public TEventBuffer, protected TBuffer
> {
> protected:
>
> public:
> TEventBufferTemp();
> virtual ~TEventBufferTemp();
>
> // Initialisation
> virtual bool InitBuffer();
>
> // Buffering
> virtual bool AddEvent( TEventEntry * Event, unsigned
> int EventNo = 0 );
> virtual TEventEntry * GetNextEvent( bool &Error );
> virtual bool ClearLastEvent( bool FreeEvent );
>
> virtual bool DestroyEntry( void ** Entry );
> };
>
> What you have done seems perfectly correct. Is this the declaration? Can
> you give me a bit more of the code?
>
> I only do C++ with Linux using the gcc/g++ compiler and would gladly help
> you with getting things going. I'm am however a fan of CMake and Eclipse,
> which nicely integrates a lot of tools for the major part of my
> development. But sometimes I need to build things from the very bottom
> including creating make files, compiling and linking manually. If you want
> to teach a course and want to provide a good bottom-up understanding, I
> suggest you consider starting there.
>
> Contact me off list, then we can chat.
>
> Regards
> Charl
>
> --
> ubuntu-za mailing list
> ubuntu-za at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>
>
--
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa
Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-za/attachments/20121105/6dbf0396/attachment-0001.html>
More information about the ubuntu-za
mailing list