c++ operator overloading

Kyriakos Oikonomakos kiriakos at obscurenet.com
Thu Feb 24 17:31:04 EET 2005



On Thu, 2005-02-24 at 17:08 +0200, Marios K. wrote:
> > Για σκέψου καλύτερα τι ρώτησες.  Τι πρέπει να επιστρέψει μια συνάρτηση
> > που ο τύπος της είναι;
> > 
> > 	int function(int);
> > 
> 
> Re paidia ego eimai GEOLOGOS kai oxi programmatisths.
> Ksero oti prepei na epistrepsei kati san 
> return A[i];
> alla pali segmentation fault.
> 
> 


Oute mpoufetzhs eisai... alla ena kafe mporeis na ton ftiakseis. 
TI shmainei <<Gewlogos eimai>>?. Thes na mas peis oti oi gewlogoi 
xrizoun eidikhs antimetwpishs? Oti exoun xamhlh noymosynh? 
Kserw "gewlogous" pou grafoun C kalytera apo "programmatistes".

Efoson ksekinises na grapseis ena PROGRAMMA se mia glwssa
(pou kata 99.9% einai ergasia se kapoio mathima programmatismou
gia gewlogous) ypotithetai pws eite ksereis toulaxiston ta vasika
eite kapoios sou ta exei mathei. 

O avalak at intracom.gr sou edwse mashmenh trofh kai to mono pou exeis na
peis einai "eimai gewlogos"? Prospathoume na se voithisoume na lyseis 
to provlhma monos sou. Me to na to lysoume gia sena to mono pou 
katafernoume einai na mas ksanasteileis mail se kana mhna me to
idio provlhma diatypwmeno diaforetika...


YG: Sigoura kapoioi tha me xaraktirisoun anaidh, tha poun oti <<esy 
re file gennithikes kai ta kseres ola>> kai ena akoma matso koinotopes
ekfraseis... Parolauta h lista den einai ghpedo kai opoios thelei mporei
na to syzhthsei mazi mou me proswpiko mail.

> 
> -- 
> Marios K. <marios_hellas_23 at yahoo.gr>
> 
> 
> 
> 
-- 
Kyriakos Oikonomakos <kiriakos at obscurenet.com>




More information about the Linux-greek-users mailing list