B20.1 Automatic carriage return

Cheung Chi Man cheung_chi_man@hotmail.com
Thu Dec 31 01:55:00 GMT 1998

   I use Cygwin B20.1, under WIndows 95, to compile my C++ program.
However, I found that a carriage return occur even if I have no
intention to do.
   For example, my program (test.cpp):
      #include <iostream>
      void main()
      { int number;
        cout<<" Please input a number ";
        cout<<number<<" is your input number";
   When I compile it and run the prgram, it occur as follow :
   ------- screen shot -------
   BASH.EXE-2.02$g++ -o test test.cpp
   Please input a number
   13 is your input number BASH.EXE-2.02$
   ------- screen shot end ------
   It automatically make a carriage return !! Is there something 
worng ?

Get Your Private, Free Email at http://www.hotmail.com
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

More information about the Cygwin mailing list