linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* question about iostream.h
@ 2004-10-16  6:19 Edward Parrilla
  2004-10-16  7:41 ` Antonio Tellez Flores
  0 siblings, 1 reply; 3+ messages in thread
From: Edward Parrilla @ 2004-10-16  6:19 UTC (permalink / raw)
  To: linux prg

Hi all,
I am trying to use
<iostream.h> or <iostream> but it keeps telling me that file is not
found
but I found file located at:

/usr/include/g++-3/iostream.h

if I type
#include </usr/include/g++-3/iostream.h>
it gives me the following error:
/usr/include/g++-3/iostream:6:22: iostream.h: No such file or directory
linktest1.c:8:16: list: No such file or directory

which is the mistake?
Thanks in advance for your assistance.
Best regards
Ed



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: question about iostream.h
  2004-10-16  6:19 question about iostream.h Edward Parrilla
@ 2004-10-16  7:41 ` Antonio Tellez Flores
  2004-10-16  8:15   ` Antonio Tellez Flores
  0 siblings, 1 reply; 3+ messages in thread
From: Antonio Tellez Flores @ 2004-10-16  7:41 UTC (permalink / raw)
  To: Edward Parrilla; +Cc: linux prg

Hi!
^[

> Hi all,
> I am trying to use
> <iostream.h> or <iostream> but it keeps telling me that file is not
> found
> but I found file located at:
> 
> /usr/include/g++-3/iostream.h
> 
> if I type
> #include </usr/include/g++-3/iostream.h>
> it gives me the following error:
> /usr/include/g++-3/iostream:6:22: iostream.h: No such file or directory
> linktest1.c:8:16: list: No such file or directory
> 
> which is the mistake?
> Thanks in advance for your assistance.


add the next lines: 

#include <iostream>
using namespace std;

bye

-- 
Antonio Téllez Flores
Ciencias de la Computación
Facultad de Ciencias - UNAM
Home Page: http://ada.fciencias.unam.mx/~atellez

-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: question about iostream.h
  2004-10-16  7:41 ` Antonio Tellez Flores
@ 2004-10-16  8:15   ` Antonio Tellez Flores
  0 siblings, 0 replies; 3+ messages in thread
From: Antonio Tellez Flores @ 2004-10-16  8:15 UTC (permalink / raw)
  To: Edward Parrilla; +Cc: linux prg

Hi
> ^[
> > I am trying to use
> > <iostream.h> or <iostream> but it keeps telling me that file is not
> > found
> > but I found file located at:
> > 
> > /usr/include/g++-3/iostream.h
> > 
> > if I type
> > #include </usr/include/g++-3/iostream.h>
> > it gives me the following error:
> > /usr/include/g++-3/iostream:6:22: iostream.h: No such file or directory
> > linktest1.c:8:16: list: No such file or directory
> 
> add the next lines: 
> 
> #include <iostream>
> using namespace std;

and compile with g++ instead of gcc

bye
-- 
Antonio Téllez Flores
Ciencias de la Computación
Facultad de Ciencias - UNAM
Home Page: http://ada.fciencias.unam.mx/~atellez

-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-16  8:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-16  6:19 question about iostream.h Edward Parrilla
2004-10-16  7:41 ` Antonio Tellez Flores
2004-10-16  8:15   ` Antonio Tellez Flores

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).