Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <199909230736.CAA22103@mercury.xraylith.wisc.edu> To: "cygwin AT sourceware DOT cygnus DOT com" Subject: Re: Getting simple STL program to compile In-Reply-To: Your message of "Wed, 22 Sep 1999 17:30:21 PDT." Date: Thu, 23 Sep 1999 02:36:03 -0500 From: Mumit Khan " Clark Sims " writes: > > This is rather unsettling. Don't the programmers at Cygnus test for STL funct > ionality? STL works just fine. Why would "Cygnus" test for features that are specific to Microsoft runtime? If I remember correctly, you are using conio.h and getch(), which are not part of UNIX/POSIX nor standard C++, so Cygwin obviously doesn't support it. There is no conio.h in Cygwin, nor will there be a conio.h in Cygwin in the future. And, contrary to what you believe, getch is not a "Unix" function. There is a getch in curses, but that's obviously not what you're looking for here. Mixing win32-specific getch and C++ streams is also a very bad idea. Your use of fflush(NULL) seems odd -- you can't portably "flush" input streams. > This is such a big part of where C++ programming is heading. As I mention earlier, STL works just fine. You need to learn what is STL and what is not STL before making such statements. > Isn't this basicly the whole compiler. Wouldn't it have been easier to just c > hange the path? Why download cygwin at all? If you're going to use POSIX functionality, perhaps mingw32 port is what you need. http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ while you're there, also check mno-cygwin howto to see how -mno-cygwin really works. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com