c++ operator overloading
Christos Ricudis
ricudis at komodino.itc.auth.gr
Fri Feb 25 12:13:18 EET 2005
V13 wrote:
>>switch a[5] {
>> case 1 : b=3;
>> case 2 : b=6;
>> case 3 : b=8;
>> default : b=9;
>>}
>>
>>th stigmh poy mporw na syntaraksw sy8emela thn anousia, bareth
>>pseydais8hsh asfaleias tou mikroastou programmatisth, na ton tarakounhsw
>>kai na ton kanw na anarwth8ei gia thn Yparksh, na tou deiksw pws na
>>niwsei thn apognwsh kai thn mataiothta ths zwhs, thn pantodynamia ths
>>mh-peraths texnhs kai pneymatos panw ston fthno, peperasmeno, mataio
>>ylismo, xrhsimopoiwntas to :
>>
>>b=(5[a]==1?3:(5[a]==2?6:(5[a]==3?6:9)));
>>
>>
>
>Basika, ta dyo den einai isodynama. An theleis apla kati san to proto mporeis
>na grapseis:
>
>b=9;
>
>to opoio einai poio eyanagnosto...
>
>
Kyrie Mparakith, kyrie Xarxalakh. H stenothta tou pneymatos sas me
8libei, alla den perimena apo koinous mikroastous, kleismenous mesa sthn
asfalh 8ermokoitida ths Pascal na mporesoun na apagkistrwsoun to pneyma
tous apo to dentro enos aplou typografikoy la8oys kai mias aplhs seira
apo ksexasmena breaks kai na doun to yperoxo dasos ths Texnhs kai tou
Nohmatos. Sas oiktirw.
--
Christos Ricudis ricudis at itc.auth.gr
Systems Administrator +30-2310-998656
IT Support Center
Aristotle University of Thessaloniki, GREECE
More information about the Linux-greek-users
mailing list