RE: iostream with gcc

2007-10-25 Thread Peter M Lee
Thanks, and I will keep it to the list in future - Peter M Lee On Oct 25 2007, Dave Korn wrote: On 25 October 2007 10:49, Peter M Lee wrote: Please keep it on the list, Peter. http://cygwin.com/acronyms#PPIOSPE explains why that's a good thing. Re-directed. The result of using g++ is $

Re: iostream with gcc

2007-10-25 Thread Brian Dessent
[ Reply to the mailing list, not to me. ] Peter M Lee wrote: > The result of using g++ is > > $ g++ hello.cc > > $ > > in other words nothing is output to the terminal - Peter M Lee Yes. That is the correct behavior. What were you expecting? You should see an executable in the current dire

RE: iostream with gcc

2007-10-25 Thread Dave Korn
On 25 October 2007 10:49, Peter M Lee wrote: Please keep it on the list, Peter. http://cygwin.com/acronyms#PPIOSPE explains why that's a good thing. Re-directed. > The result of using g++ is > > $ g++ hello.cc > > $ > > in other words nothing is output to the terminal - Peter M Lee That

RE: iostream with gcc

2007-10-25 Thread Dave Korn
On 25 October 2007 10:14, Peter M Lee wrote: > I apologize for what is probably a silly mistake on my part. I am just > starting to use cygwin. When I tried a simple program > > #include > using namespace std; > > /** > * A simple program for demonstrating the basics of a C++ project. > */ >

Re: iostream with gcc

2007-10-25 Thread Brian Dessent
Peter M Lee wrote: > I apologize for what is probably a silly mistake on my part. I am just > starting to use cygwin. When I tried a simple program Silly perhaps, but very common. > $ gcc hello.cc The correct way to compile/link C++ code is by invoking g++ not gcc. Brian -- Unsubscribe info: