Thnx Davis, we related ur code spects wth ours. It worked just fine. We used 'if and else' though. Thnx again
On 12/7/12, [email protected] <[email protected]> wrote: > :)careful; this thread was stopped: > > > > readData(int deviceID, DataStream stream){ > switch(deviceID){ //or use nested if statements > case 0: > readFromScreen(); > case 1: > readFromNetwork(); > case 2: > readFromHome(); > case 3: > readFromLibrary(); > . > . > } > } > > writeData(int destination, DataStream stream){ > switch(destination){ > case 0: > writeToFile(); > case 1: > writeToNetwork(); > case 2: > writeToMyFriend(); > case 3: > writeToScreen(); > . > . > > } > > } > > captureDataAndCreateReference(int deviceID, int destination, DataStream > stream){ > readData(deviceID, stream ); > writeData(destination, stream ); > } > > > >> On 6 December 2012 17:22, Stephen S. Musoke <[email protected]> wrote: >> >>> Erias, >>> >>> 1. FYI - Microsoft is one of the top 5 contributors to open source >>> solutions >>> >> >> Gosh, I'm so tired of seeing this myth being perpetuated. This story came >> about because Microsoft is in the top 5 *corporate* contributors to the >> Linux *kernel between versions 2.6.36 and 3.2*. Most of their >> contribution >> is to making the Hyper-V kernel driver work - because that helps them. It >> allows Linux to run as a guest OS in Windows Server. >> >> This grand "contribution to opensource" consists of *688* changes/commits >> over 2 years. This totals just over *1.0%* of the total contributions for >> said kernel versions, behind Redhat, IBM, Novell, and Intel. >> >> Oh, and most of these commits are by one Microsoft employee. >> >> Microsoft does contribute to other OSS projects, such as Samba, but don't >> buy the marketing/headline-generating spin. >> >> Carry on. >> >> P. >> _______________________________________________ >> The Uganda Linux User Group: http://linux.or.ug >> >> Send messages to this mailing list by addressing e-mails to: >> [email protected] >> Mailing list archives: http://www.mail-archive.com/[email protected]/ >> Mailing list settings: http://kym.net/mailman/listinfo/lug >> To unsubscribe: http://kym.net/mailman/options/lug >> >> The Uganda LUG mailing list is generously hosted by INFOCOM: >> http://www.infocom.co.ug/ >> >> The above comments and data are owned by whoever posted them (including >> attachments if any). The mailing list host is not responsible for them in >> any way. > > > _______________________________________________ > The Uganda Linux User Group: http://linux.or.ug > > Send messages to this mailing list by addressing e-mails to: > [email protected] > Mailing list archives: http://www.mail-archive.com/[email protected]/ > Mailing list settings: http://kym.net/mailman/listinfo/lug > To unsubscribe: http://kym.net/mailman/options/lug > > The Uganda LUG mailing list is generously hosted by INFOCOM: > http://www.infocom.co.ug/ > > The above comments and data are owned by whoever posted them (including > attachments if any). The mailing list host is not responsible for them in > any way. > _______________________________________________ The Uganda Linux User Group: http://linux.or.ug Send messages to this mailing list by addressing e-mails to: [email protected] Mailing list archives: http://www.mail-archive.com/[email protected]/ Mailing list settings: http://kym.net/mailman/listinfo/lug To unsubscribe: http://kym.net/mailman/options/lug The Uganda LUG mailing list is generously hosted by INFOCOM: http://www.infocom.co.ug/ The above comments and data are owned by whoever posted them (including attachments if any). The mailing list host is not responsible for them in any way.
