179,854Messages
9,130Senders
30Years
342mboxes

← back to listing · view thread

From:
alex_tea
To:
, idm
Date:
Fri, 26 May 2000 15:11:12 +0100
Subject:
Re: [idm] cex / NOW!
Msg-Id:
<000201bfc71c$6dd74760$0100005a@fatcat.com>
Mbox:
idm.0005.gz
qu'est-ce ca? what language is it (supposed) to be in? hmm reminds me a bit of oldschool qbasic, but i guess it's java or something...
quoted 85 lines file://interface> > file://interface > #ifndef IDM_H > #define IDM_H > > #include<iostream.h> > #include<string.h> > > class IDM > { > public: > IDM(); > void makeBand(string); > void loadSoftware(string); > void addTrack(string); > void deleteTrack(string); > void setFreeSpace(double); > double getFreeSpace(): > > private: > string band; > string software; > string track; > double fSpace; > }; > > file://implementation > IDM::IDM() > { > fSpace = 0.0; > } > > void IDM::makeBand(string a) > { > band = a; > } > > void IDM::loadSoftware(string b) > { > software = b; > } > > void IDM::addTrack(string c) > { > track = c; > } > > void IDM::deleteTrack(string d) > { > if (d = track) > { > track = " "; > } > else > { > cout << "track does not exist"; > } > } > > void IDM::setFreeSpace(double sp) > { > fSpace = sp; > } > > double IDM::getFreeSpace() > { > return fSpace: > } > > #endif > > > delete [ ] christianADAMhresko > > boolean true! > boolean false! > boolean true! > boolean false! > etc, etc, etc... > > -- > Music ransoms us from the past, declares an amnesty, brackets and sets > aside the old puzzles. - W. Percy > >
--------------------------------------------------------------------- To unsubscribe, e-mail: idm-unsubscribe@hyperreal.org For additional commands, e-mail: idm-help@hyperreal.org