ya brett is write i am not using turbo C++ i am using GNU g++ (gcc 3.0) on a AMD pc with xp sp2 os
and void main() is deprecated since c90 i think thanks in advance On 7/4/07, Victor A. Wagner Jr. <[EMAIL PROTECTED]> wrote: > hb_abid wrote: > > --- In [email protected], "Shishir Sharma" <[EMAIL PROTECTED]> > > wrote: > > > >> how we can clear std outstreams > >> > >> > > > > > > hi ......... > > > > you can do it by using function in <conio.h> > > which is named clrscr() > > > > example: > > > > #include <iostream.h> > > > non-standard header > > #include <conio.h> > > > non-standard header > > > > void main() > > > non-standard start of the program.... it's int main() > > { > > int i,j,sum; > > cout<<"enter two numbers to know the sum of there addition\n"; > > cin>>i>>j; > > clrscr(); > > cout<<"the sum = "<<(i+j); > > } > > > > > > > > > > To unsubscribe, send a blank message to > <mailto:[EMAIL PROTECTED]>. > > Yahoo! Groups Links > > > > > > > > > > > > > > > > -- (¨`·.·´¨) `·.¸(¨`·.·´¨) Keep (¨`·.·´¨)¸.·´ Smiling! `·.¸.·´ S H I S H I R S H A R M A 'Criss' -------------------------------------------------------------------------------- "Don't Quit" ...and whats life without an impossible dream... -------------------------------------------------------------------------------- [EMAIL PROTECTED]
