This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c problem

On Mon, 16 Dec 2002, Max Bowsher wrote:

> mohit batra <mohit2kin at> wrote:
> >  i am trying to run a c program in cygwin howevr when
> > i run the program the printf statements output is not
> > shown on screen .
> >
> > also i want to know what is the extension that must be
> > given to c++ file in order to compile with c++ .
> > whwn i tried to compile with C or c++ or .cpp
> > extensions it gave error that it cannot find
> > iostream.h file .
> Both problems above sound like user error.
> I strongly suggest you read:
> and:

The second one actually sounds like a "Read the manual" error.  IIRC, gcc
3.2 is much stricter about C++ standards, and requires the use of
namespaces instead of header files.  Thus, #include <iostream> should
work.  This is a generic C++ issue, however, and is off-topic to this
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]