SOLVED: Kolima se C++

Adrian Papamarkou adrianos at flashmail.com
Thu May 3 15:52:03 EEST 2001


> >   Exw ena koufo problhma. To parakatw shmeio enws programmatos peftei se
> > loupa adikaiologhta. 3ekolaei kanonika me Ctrl+C.
> >
> > bla bla bla..........................
> >
> > void getprefs (void)
> > {
> >      //Kapou edw peftei se loupa
> >    cout << "\n\n <-Meta apo auta ta duo kolaei kai den deixnei auto to
> > munhma... \n";
> >
> > bla bla bla.....................................

> Edo murizo ta nyxia mou.
>
> Otan typoneis to mhnuma perimeneis kapoiou eidous input apo ton user.
>
> Alla jexases na kaneis flush() to output stream, opote to minima den exei
> tupothei stin othoni, alla perimenei se ena buffer na typothei.

Ontws, to output eixe meinei se buffer. Otan ebala endl anti gia to \n (opws 
proteine o Xenitellis) to tupwse kanonika an kai den katalabainw giati.

Euxaristw poly



More information about the Linux-greek-users mailing list