cygwin下的g++为什么老是出错?
我在XP上安了cygwin,是完全安装的 
 我在cygwin上用vi写了一个hello的C++程序,然而编译时却一直编译不成功. 
 我的程序如下: 
 #include    <iostream>  
 using   namespace   std; 
 int   main(){ 
             cout < < "hello,   world " < <endl; 
             return   0; 
 }   
 每当我编译时总是会出现如下的报告:   
 Aborted   (core   dumped)   
 总是这样异常中断,请问这是为什么呢?
------解决方案--------------------照你程序试了一下,好像没有问题。hello, world也打出来了 
 感觉是cygwin安装的有问题,或者是安装后,受破坏了   
 我用的版本 
 $ g++ --version 
 g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) 
 Copyright (C) 2004 Free Software Foundation, Inc. 
 This is free software; see the source for copying conditions.  There is NO 
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.