Auto-ekmathisi Linux
Nikos
hackeras at gmail.com
Mon Apr 11 10:41:42 EEST 2005
Christos Ricudis <ricudis at komodino.itc.auth.gr> wrote in
news:mailman.739.1113203966.25292.linux-greek-users at lists.hellug.gr:
> Siga mwre, oloidies einai. Opws h poutsa me th bourtsa.
E diaferoune stin syntaxi kais ton tropo pou i kthe mia xeirizetai ta
arrays kai ta variables;
Stin C++:
char name[10]="nikos";
Edo diloneis kai to typo tis metavlitis(char), kai to megethos(10) kai
tin arxikopoieis("nikos");
Stin Perl:
@array="nikos";
Den xreiazetai kan na prosdioriseis ti typou tha einai i metavliti, to
antilamvanetai moni tis apo to context(periexomeno). Akoa mporeis n tin
xisimopoiiseis kai xoris initialize alla kateutheian se kapoia parastasi.
E, den exoun kai tin idia syntaxi! I kathe mia se vazei na skeftesai
diaforetika kai mallon an kapoios tis mathainei kai tis 2, oxi oti den
mporei, alla tha prepei na skeftetai/proseggizei diaforetika tin kathe
mia pragma pou isos ton zalisei.
I Perl mou fainetai pio euelikti kai friendly alla i C++ pio austiri kai
pio synepis episis.
--
Just because I didnt doesnt mean I dont want to.
Just because I wouldnt doesnt mean I cant.
More information about the Linux-greek-users
mailing list