Linux-Advocacy Digest #581, Volume #33 Fri, 13 Apr 01 17:13:03 EDT
Contents:
Re: US Navy carrier to adopt Win2k infrastructure (Craig Kelley)
Re: Big Brother Billy does it again! (Mig)
Re: Big Brother Billy does it again! (Scott Moore)
Re: Blame it all on Microsoft (Peter da Silva)
Re: Blame it all on Microsoft (Peter da Silva)
Re: Big Brother Billy does it again! (Mig)
Re: OT: Treason (was Re: Communism) (Chad Everett)
Re: invitation letter (Chad Everett)
Re: another example of why Linux is brain dead. (Chad Everett)
Re: Big Brother Billy does it again! (Nigel Feltham)
Re: OT: Treason (was Re: Communism) (RTO Trainer)
To Eric FunkenBush (GreyCloud)
Re: Blame it all on Microsoft (Chad Everett)
----------------------------------------------------------------------------
From: Craig Kelley <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.nt.advocacy
Subject: Re: US Navy carrier to adopt Win2k infrastructure
Date: 13 Apr 2001 13:53:23 -0600
[EMAIL PROTECTED] (Bob Hauck) writes:
> On Fri, 13 Apr 2001 02:34:18 GMT, Chad Myers
> <[EMAIL PROTECTED]> wrote:
> > "Bob Hauck" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > On Wed, 11 Apr 2001 03:39:29 GMT, Chad Myers
> > > <[EMAIL PROTECTED]> wrote:
>
> > > > SP4 was pretty good actually.
> > >
> > > Unless you happened to want to run Lotus Notes or one of the other apps
> > > that stopped working after it was applied.
>
> > Again, this was Lotus et al's fault, not MS.
>
> Why of course it was. It always is someone else's fault. Rah, rah,
> gooooo MS!
You do know that Windows only crashes because of bad drivers, right?
<g>
As an aside: When did this notion that device drivers weren't part of
the OS start? A device driver is an intimate pice of code that has
it's fingers in many dangerous places and has always been considered a
part of the OS for as long as I can remember. Sometime in the past 5
years, Microsoft managed to con everyone into thinking "Device drive
!= operating system" --
--
It won't be long before the CPU is a card in a slot on your ATX videoboard
Craig Kelley -- [EMAIL PROTECTED]
http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block
------------------------------
From: Mig <[EMAIL PROTECTED]>
Subject: Re: Big Brother Billy does it again!
Date: Fri, 13 Apr 2001 21:47:56 +0200
Ed Allen wrote:
> You obviously did not read it or you would have seen...
>
> "The industry doesn't want [MP3] pushed, and Microsoft and
> RealNetworks don't want it pushed. The consumer is going to eat
> what he's given," says David Farber, the former chief technologist
> at the Federal Communications Commission.
So what? The consumer is doing that allready today. Show me the MS
softaware included in Windows that does MP3's today.
> So that missing recording of MP3 is part of the force feeding of more
> monopoly crapware to victims who, according to you crap pushers, "have
> never been harmed by the monopoly".
Of course RealNetworks and MS try to push their own formats.. Real has done
this for ages without anyone compalining.. you cant even record a RAM
stream because thei are opposed to it.
------------------------------
From: Scott Moore <[EMAIL PROTECTED]>
Crossposted-To: alt.destroy.microsoft,comp.os.ms-windows.advocacy
Subject: Re: Big Brother Billy does it again!
Date: Fri, 13 Apr 2001 12:59:16 -0700
So ? Everyone and their web site knows that Windows media delivers
second rate quality audio. Even if they change that, they still have a
reputation, that sounds like it is going to get worse after they
introduce big brother technology [tm]. Microslush has an amazing
capacity to hurt their own image.
Dave Martel wrote:
> Here we go again, folks! From the Wall Street Journal:
>
> <http://www.canoe.ca/MoneyWSJ/wsj2-dow.html>
>
> "MP3, a popular format for downloading music from the Web, is
> encountering competitive pressure as leading technology companies such
> as Microsoft Corp. work to subtly wean consumers away from the
> technology."
>
> "These companies, which have the music industry's blessing, are
> encouraging those who download music to use new proprietary software
> formats that make the audio sound significantly better but also make
> it harder to share copyright- protected songs."
>
> "Microsoft, for example, plans to severely limit the quality of music
> that can be recorded as an MP3 file using software built into the next
> version of its personal-computer operating system, Windows XP. But
> music recorded in the Redmond, Wash., software company's own format,
> called Windows Media Audio, will sound clearer and require far less
> storage space on a computer."
>
> <snip>
>
> "Under Microsoft's new restrictions -- which prevent its built-in
> software from recording MP3 files at fidelity rates higher than 56
> kilobits per second -- MP3 music 'sounds like somebody in a phone
> booth underwater,' says P.J. McNealy..."
>
> "...The new restrictions in Windows XP won't prevent other vendors'
> software applications from recording MP3 music at a higher fidelity,
> but early testers of beta versions of Windows XP already complain that
> the most popular MP3 recording applications -- which compete with
> Microsoft's format -- don't seem to function properly..."
>
> Funny about that...
>
> The article goes on to quote "Microsoft" as saying that "while other
> software vendors' products may not be "optimized" to run with Windows
> XP, those products should run acceptably with the operating system." I
> wonder why just "acceptably"??? :-/
>
> There's much more of interest in the article, including MS's claim
> that the reason they're doing this is to avoid paying a license fee
> for a higher-quality MP3 encoder. Yeah, sure.
>
> There's another story derived from this one on the Register, at
> <http://www.theregister.co.uk/content/4/18276.html>.
------------------------------
From: [EMAIL PROTECTED] (Peter da Silva)
Crossposted-To: comp.theory,comp.arch,comp.object
Subject: Re: Blame it all on Microsoft
Date: 13 Apr 2001 19:31:47 GMT
In article <[EMAIL PROTECTED]>,
Toon Moene <[EMAIL PROTECTED]> wrote:
> Peter da Silva wrote:
> > When Dennis Ritchie comes
> > to Usenix and uses Windows aids for a talk prepared on Windows,
> You mean that dmr gives talks on Windows?
No.
> What's his view on Windows?
You'd have to ask him.
--
`-_-' In hoc signo hack, Peter da Silva.
'U` "A well-rounded geek should be able to geek about anything."
-- [EMAIL PROTECTED]
Disclaimer: WWFD?
------------------------------
From: [EMAIL PROTECTED] (Peter da Silva)
Crossposted-To: comp.theory,comp.arch,comp.object
Subject: Re: Blame it all on Microsoft
Date: 13 Apr 2001 19:33:56 GMT
In article <K7IB6.1976$[EMAIL PROTECTED]>,
Russell Easterly <[EMAIL PROTECTED]> wrote:
> I will switch to LINUX when it can reliably run
> Windows NT as a sub-process.
Is VMWare reliable enough for you?
--
`-_-' In hoc signo hack, Peter da Silva.
'U` "A well-rounded geek should be able to geek about anything."
-- [EMAIL PROTECTED]
Disclaimer: WWFD?
------------------------------
From: Mig <[EMAIL PROTECTED]>
Subject: Re: Big Brother Billy does it again!
Date: Fri, 13 Apr 2001 21:54:41 +0200
Charles Lyttle wrote:
> Mig wrote:
>>
>> Dave Martel wrote:
>>
>> > Here we go again, folks! From the Wall Street Journal:
>> >
>> > <http://www.canoe.ca/MoneyWSJ/wsj2-dow.html>
>>
>> [cut]
>>
>> > There's much more of interest in the article, including MS's claim
>> > that the reason they're doing this is to avoid paying a license fee
>> > for a higher-quality MP3 encoder. Yeah, sure.
>>
>> Dont get histeric - its just their software that wont recortd MP3's.
>> Guess what - it does not do it today and people still use MP3
>>
> Read the article. It won't play MP3 properly either. Deliberately
> degrades the quality so MS stuff sounds better.
Is this it ?
" Under Microsoft's new restrictions -- which prevent its built-in
software from recording MP3 files at fidelity rates higher than 56 kilobits
per second -- MP3 music "sounds like somebody in a phone booth underwater,"
Read it again WICH PREVENTS ITS BUILT_IN SOFTWARE
How the heck can they prevent someone from playing their own MP3 files
acquired legally? You guys claims do not make sense.
Besides who really cares.. There is ogg
------------------------------
From: [EMAIL PROTECTED] (Chad Everett)
Crossposted-To: alt.destroy.microsoft,us.military.army,soc.singles
Subject: Re: OT: Treason (was Re: Communism)
Reply-To: [EMAIL PROTECTED]
Date: 13 Apr 2001 15:13:54 -0500
On Fri, 13 Apr 2001 18:52:48 GMT, T. Max Devlin <[EMAIL PROTECTED]> wrote:
>Said billh in alt.destroy.microsoft on Thu, 12 Apr 2001 23:13:23 GMT;
>>"T. Max Devlin"
>>
>>> >The truer translation is "You shall not murder". We've been through
>>this.
>>>
>>> I thought it was "you shall not slay." How do you know which it is?
>>
>>Take your pick. Killing in war is neither illegal, unethical, nor immoral.
>
>Killing another human being is illegal outside of war, so you've merely
>changed the word, not the concept; I have never claimed that killing in
>war is "illegal". Merely that there is nothing about it being called
>"war" that magically makes it either ethical or moral.
>
>>What's more, you introduce the Bible as supporting your point when it has
>>been shown that it doesn't. Unless, of course you actually believe what you
>>posted earlier, "...because God gets to decide who is human, and anybody the
>>Isrealites want to kill were simply excluded from the definition." Have you
>>found a source for this claim of yours?
>
Nowhere in the Bible is the claim made that the people the Israelites
killed where considered "non-human". They were human and nowhere was
it claimed they weren't.
>No, I did not introduce the Bible in any way. I refuted your claim that
>the change in wording from "Thou shalt not kill" to "Thou shalt no
>murder" is simply some metaphoric trick you use to ignore your ethical
>and moral responsibility for killing in war.
It's not "a change in wording". It's a more accurate translation of the
original text. The original Hebrew accurately translates to "murder".
Are you suggesting the less accurate translation you're sticking with:
"Thou shalt not kill" is a ban on killing animals and plants? Those
are instances of killing, but not of murder. Just because you don't want
to believe it's the most accurate translation doesn't mean it ain't.
------------------------------
From: [EMAIL PROTECTED] (Chad Everett)
Subject: Re: invitation letter
Reply-To: [EMAIL PROTECTED]
Date: 13 Apr 2001 15:15:48 -0500
On Fri, 13 Apr 2001 19:24:51 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>Youri Podchosov wrote:
>>
>> --
>> LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
>> L Youri N. Podchosov (ynp) /// Email: [EMAIL PROTECTED] L
>> L Senior NOC Engineer ())) Web: http://www.ynp.net L
>> L Digital Telemedia, Inc. /// B:212-625-5365 H:718-680-9024 L
>> LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
>>
>> ------------------------------------------------------------------------
>>
>> Youri N. Podchosov
>> 139 72nd Street
>> Brooklyn, NY 11209
>> (718) 680-9024
>>
>>
>> April 12, 2001
>>
>>
>> Consular Section
>> U.S. Embassy to Ukraine
>> vul. Mykoly Pymonenka, 6
>> Kiev 01901
>> Ukraine
>>
>>
>>
>>
>>
>>
>> Dear Sir/Madam:
>>
>>
>> I, Youri N. Podchosov, would like to invite my daughter, Yuliya
>> Degtyaryova, to visit us in the United States this summer for
>> two and a half months starting around the middle of June. For
>> the entire period of staying in the U.S., my daughter will live
>> with us at the following address: 139 72nd St., Brooklyn, NY 11209,
>> tel. (718) 680-9024.
>>
>> I am currently employed at Digital Telemedia, Inc. (DTI, 11 Beach
>> St., 3rd Fl., New York, NY 10013, tel. (212) 625-5300), as a Senior
>> Network Operation Center Engineer, and I have the necessary finances
>> to support my daughter in the U.S. All related expenses, including
>> airfare, accommodation and required insurance are my sole
>> responsibility.
>>
>> I request you to grant her a multiple entry B-2 visa to facilitate
>> her entry and stay in the U.S.
>>
>> In case you have any further questions please feel free to contact me.
>>
>>
>> Sincerely,
>
>That is perhaps some of the most cryptic spam I've ever seen
It wasn't spam. It was a secret encoded message to all Ukrainian agents residing
in the US.
------------------------------
From: [EMAIL PROTECTED] (Chad Everett)
Subject: Re: another example of why Linux is brain dead.
Reply-To: [EMAIL PROTECTED]
Date: 13 Apr 2001 15:18:02 -0500
On Fri, 13 Apr 2001 19:22:42 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>"kirk@do_not_spam" wrote:
>>
>> I spend the last 3 hours trying to mount a CD on linux and finally
>> gave up. I wasted too much time. Booted windows NT, stuck the CD in,
>> and on I went to work.
>>
>
>... you must be a slow typist!
>
He "booted windows NT, stuck the CD in, and on he went to work", but he
never did get that darn CD to work in Windows NT either. It was blank.
------------------------------
From: Nigel Feltham <[EMAIL PROTECTED]>
Crossposted-To: alt.destroy.microsoft,comp.os.ms-windows.advocacy
Subject: Re: Big Brother Billy does it again!
Date: Fri, 13 Apr 2001 21:44:51 +0100
Scott Moore wrote:
> So ? Everyone and their web site knows that Windows media delivers
> second rate quality audio. Even if they change that, they still have a
> reputation, that sounds like it is going to get worse after they
> introduce big brother technology [tm]. Microslush has an amazing
> capacity to hurt their own image.
>
Unfortnately they also seem to have the amazing ability to bullshit their
way out of anything and the general public think the sun shines out of MS's
backside - everytime an end user 'upgrades' to newer versions of windows
and find many of their applications won't work they blame the suppliers of
their applications rather than the Operating system which is perfect because
MS told them it is.
------------------------------
From: [EMAIL PROTECTED] (RTO Trainer)
Crossposted-To: alt.destroy.microsoft,us.military.army,soc.singles
Subject: Re: OT: Treason (was Re: Communism)
Date: Fri, 13 Apr 2001 20:34:31 GMT
On 13 Apr 2001 15:13:54 -0500, [EMAIL PROTECTED] (Chad
Everett) wrote:
>>No, I did not introduce the Bible in any way. I refuted your claim that
>>the change in wording from "Thou shalt not kill" to "Thou shalt no
>>murder" is simply some metaphoric trick you use to ignore your ethical
>>and moral responsibility for killing in war.
>
>It's not "a change in wording". It's a more accurate translation of the
>original text. The original Hebrew accurately translates to "murder".
>Are you suggesting the less accurate translation you're sticking with:
>"Thou shalt not kill" is a ban on killing animals and plants? Those
>are instances of killing, but not of murder. Just because you don't want
>to believe it's the most accurate translation doesn't mean it ain't.
>
>
As I thought I pointed out:
This is a raging debate among bible schollars. The current
understanding is that 'murder' is the more correct translation,
however, we can't know.
We can't know because there is no "original Hebrew" to refer to. The
oldest copies of the text are in Greek (the older Hebrew texts have
not survived/not been discovered).
SPC Robert W. White
31U, OKARNG, 45th SIB
Always Forward!
------------------------------
From: GreyCloud <[EMAIL PROTECTED]>
Subject: To Eric FunkenBush
Date: Fri, 13 Apr 2001 13:37:19 -0700
This is a multi-part message in MIME format.
==============64181E927E1487AC5250B1E8
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 7bit
I've found the programs in the book "C++ Primer Plus" by Stephen Prata.
See attached source code.
Under VC++6.0 7 errors were reported as C2448. The variable str could
not access a private part in a class.
Under g++ the program compiled fine. The program runs fine.
I'm using 2.95.2 version of Gnu C.
I used "g++ -o workmi workmi.cpp workermi.cpp strng2.cpp"
It appears that VC++ can not handle the code properly. After all this
program did come from a the MITCHELL WAITE Series.
==============64181E927E1487AC5250B1E8
Content-Type: text/plain; charset=iso-8859-15;
name="arraytp.h"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="arraytp.h"
//arraytp.h -- Array Template
#include <iostream>
using namespace std;
#include <cstdlib>
template <class T, int n>
class ArrayTP
{
private:
T ar[n];
public:
ArrayTP();
explicit ArrayTP(const T & v);
virtual T & operator[](int i);
virtual const T & operator[](int i) const;
};
template <class T, int n>
ArrayTP<T,n>::ArrayTP()
{
for (int i = 0; i < n; i++)
ar[i] = 0;
}
template <class T, int n>
ArrayTP<T,n>::ArrayTP(const T & v)
{
for (int i = 0; i < n; i++)
ar[i] = v;
}
template <class T, int n>
T & ArrayTP<T,n>::operator[](int i)
{
if (i < 0 || i >= n)
{
cerr << "Error in array limits: " << i
<< " is out of range\n";
exit(1);
}
return ar[i];
}
template <class T, int n>
const T & ArrayTP<T,n>::operator[](int i) const
{
if (i < 0 || i >= n)
{
cerr << "Error in array limits: " << i
<< " is out of range\n";
exit(1);
}
return ar[i];
}
==============64181E927E1487AC5250B1E8
Content-Type: text/plain; charset=iso-8859-15;
name="strng2.cpp"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="strng2.cpp"
// strng2.cpp -- String class methods
#include <iostream>
#include <cstring>
using namespace std;
#include "strng2.h"
// class methods
String::String(const char * s) // make String from C string
{
len = strlen(s);
str = new char[len + 1]; // allot storage
strcpy(str, s); // initialize pointer
}
String::String() // default constructor
{
len = 0;
str = new char[1];
str[0] = '\0'; // default string
}
String::String(const String & st) // copy constructor
{
len = st.len;
str = new char[len + 1];
strcpy(str, st.str);
}
String::~String() // destructor
{
delete [] str; // required
}
// assign a String to a String
String & String::operator=(const String & st)
{
if (this == &st)
return *this;
delete [] str;
len = st.len;
str = new char[len + 1];
strcpy(str, st.str);
return *this;
}
// assign a C string to a String
String & String::operator=(const char * s)
{
delete [] str;
len = strlen(s);
str = new char[len + 1];
strcpy(str, s);
return *this;
}
// true if st1 follows st2 in collating sequence
bool operator>(const String &st1, const String &st2)
{
if (strcmp(st1.str, st2.str) > 0)
return true;
else
return false;
}
// true if st1 precedes st2 in collating sequence
bool operator<(const String &st1, const String &st2)
{
if (strcmp(st1.str, st2.str) < 0)
return true;
else
return false;
}
// friends
// true if st1 is the same as st2
bool operator==(const String &st1, const String &st2)
{
if (strcmp(st1.str, st2.str) == 0)
return true;
else
return false;
}
// display string
ostream & operator<<(ostream & os, const String & st)
{
os << st.str;
return os;
}
// quick and dirty String input
istream & operator>>(istream & is, String & st)
{
char temp[80];
is.get(temp, 80);
if (is)
st = temp;
while (is && is.get() != '\n')
continue;
return is;
}
==============64181E927E1487AC5250B1E8
Content-Type: text/plain; charset=iso-8859-15;
name="strng2.h"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="strng2.h"
// strng2.h -- String class definition
#ifndef _STRNG2_H_
#define _STRNG2_H_
#include <iostream>
using namespace std;
class String
{
private:
char * str; // pointer to string
int len; // length of string
public:
String(const char * s); // constructor
String(); // default constructor
String(const String & st);
~String(); // destructor
int length() const { return len; }
// overloaded operators
String & operator=(const String & st); // Assignment operator
String & operator=(const char * s); // Assignment operator #2
// friend functions
friend bool operator>(const String &st1, const String &st2);
friend bool operator<(const String &st, const String &st2);
friend bool operator==(const String &st, const String &st2);
friend ostream & operator<<(ostream & os, const String & st);
friend istream & operator>>(istream & is, String & st);
};
#endif
==============64181E927E1487AC5250B1E8
Content-Type: text/plain; charset=iso-8859-15;
name="workermi.cpp"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="workermi.cpp"
// workermi.cpp -- working class methods with MI
#include "workermi.h"
#include <iostream>
using namespace std;
// Worker methods
Worker::~Worker() { }
// protected methods
void Worker::Data() const
{
cout << "Name: " << fullname << "\n";
cout << "Employee ID: " << id << "\n";
}
void Worker::Get()
{
cin >> fullname;
cout << "Enter worker's ID: ";
cin >> id;
while (cin.get() != '\n')
continue;
}
// Waiter methods
void Waiter::Set()
{
cout << "Enter waiter's name: ";
Worker::Get();
Get();
}
void Waiter::Show() const
{
cout << "Category: waiter\n";
Worker::Data();
Data();
}
// protected methods
void Waiter::Data() const
{
cout << "Panache rating: " << panache << "\n";
}
void Waiter::Get()
{
cout << "Enter waiter's panache rating: ";
cin >> panache;
while (cin.get() != '\n')
continue;
}
// Singer methods
char * Singer::pv[Singer::Vtypes] = {"other", "alto", "contralto",
"soprano", "bass", "baritone", "tenor"};
void Singer::Set()
{
cout << "Enter singer's name: ";
Worker::Get();
Get();
}
void Singer::Show() const
{
cout << "Category: singer\n";
Worker::Data();
Data();
}
// protected methods
void Singer::Data() const
{
cout << "Vocal range: " << pv[voice] << "\n";
}
void Singer::Get()
{
cout << "Enter number for singer's vocal range:\n";
int i;
for (i = 0; i < Vtypes; i++)
{
cout << i << ": " << pv[i] << " ";
if (i % 4 == 3)
cout << '\n';
}
if (i % 4 != 0)
cout << '\n';
cin >> voice;
while (cin.get() != '\n')
continue;
}
// SingingWaiter methods
void SingingWaiter::Data() const
{
Singer::Data();
Waiter::Data();
}
void SingingWaiter::Get()
{
Waiter::Get();
Singer::Get();
}
void SingingWaiter::Set()
{
cout << "Enter singing waiter's name: ";
Worker::Get();
Get();
}
void SingingWaiter::Show() const
{
cout << "Category: singing waiter\n";
Worker::Data();
Data();
}
==============64181E927E1487AC5250B1E8
Content-Type: text/plain; charset=iso-8859-15;
name="workermi.h"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="workermi.h"
// workermi.h -- working classes with MI
#include "strng2.h"
class Worker // an abstract base class
{
private:
String fullname;
long id;
protected:
virtual void Data() const;
virtual void Get();
public:
Worker() : fullname("no one"), id(0L) {}
Worker(const String & s, long n)
: fullname(s), id(n) {}
virtual ~Worker() = 0; // pure virtual function
virtual void Set() = 0;
virtual void Show() const = 0;
};
class Waiter : virtual public Worker
{
private:
int panache;
protected:
void Data() const;
void Get();
public:
Waiter() : Worker(), panache(0) {}
Waiter(const String & s, long n, int p = 0)
: Worker(s, n), panache(p) {}
Waiter(const Worker & wk, int p = 0)
: Worker(wk), panache(p) {}
void Set();
void Show() const;
};
class Singer : virtual public Worker
{
protected:
enum {other, alto, contralto, soprano,
bass, baritone, tenor};
enum {Vtypes = 7};
void Data() const;
void Get();
private:
static char *pv[Vtypes]; // string equivs of voice types
int voice;
public:
Singer() : Worker(), voice(other) {}
Singer(const String & s, long n, int v = other)
: Worker(s, n), voice(v) {}
Singer(const Worker & wk, int v = other)
: Worker(wk), voice(v) {}
void Set();
void Show() const;
};
// multiple inheritance
class SingingWaiter : public Singer, public Waiter
{
protected:
void Data() const;
void Get();
public:
SingingWaiter() {}
SingingWaiter(const String & s, long n, int p = 0,
int v = Singer::other)
: Worker(s,n), Waiter(s, n, p), Singer(s, n, v) {}
SingingWaiter(const Worker & wk, int p = 0, int v = Singer::other)
: Worker(wk), Waiter(wk,p), Singer(wk,v) {}
SingingWaiter(const Waiter & wt, int v = other)
: Worker(wt),Waiter(wt), Singer(wt,v) {}
SingingWaiter(const Singer & wt, int p = 0)
: Worker(wt),Waiter(wt,p), Singer(wt) {}
void Set();
void Show() const;
};
==============64181E927E1487AC5250B1E8
Content-Type: text/plain; charset=iso-8859-15;
name="workmi.cpp"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="workmi.cpp"
// workmi.cpp -- multiple inheritance
// compile with workermi.cpp, strng2.cpp
#include <iostream>
using namespace std;
#include <cstring>
#include "workermi.h"
#include "arraytp.h" // omit if no template support
const int SIZE = 5;
int main()
{
ArrayTP<Worker *, SIZE> lolas;
// if no template support, omit the above and use the following:
// Worker * lolas[SIZE];
int ct;
for (ct = 0; ct < SIZE; ct++)
{
char choice;
cout << "Enter the employee category:\n"
<< "w: waiter s: singer "
<< "t: singing waiter q: quit\n";
cin >> choice;
while (strchr("ewstq", choice) == NULL)
{
cout << "Please enter a, w, s, t, or q: ";
cin >> choice;
}
if (choice == 'q')
break;
switch(choice)
{
case 'w': lolas[ct] = new Waiter;
break;
case 's': lolas[ct] = new Singer;
break;
case 't': lolas[ct] = new SingingWaiter;
break;
}
cin.get();
lolas[ct]->Set();
}
cout << "\nHere is your staff:\n";
int i;
for (i = 0; i < ct; i++)
{
cout << '\n';
lolas[i]->Show();
}
for (i = 0; i < ct; i++)
delete lolas[i];
return 0;
}
==============64181E927E1487AC5250B1E8==
------------------------------
From: [EMAIL PROTECTED] (Chad Everett)
Crossposted-To: comp.theory,comp.arch,comp.object
Subject: Re: Blame it all on Microsoft
Reply-To: [EMAIL PROTECTED]
Date: 13 Apr 2001 15:25:20 -0500
On Fri, 13 Apr 2001 19:07:22 GMT, Russell Easterly <[EMAIL PROTECTED]> wrote:
>
>I will switch to LINUX when it can reliably run
>Windows NT as a sub-process.
>
So you'll be switching this weekend then? I can run both Windows NT
and Windows 2K Pro both simultaneously on my Linux box ( each with
their own IP address and virtual network interface) using vmware.
They work great. It's the most satisfying way to run Windows NT/2K.
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.advocacy.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Advocacy Digest
******************************