- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: iostream.h
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2008 05:46 AM
тАО06-11-2008 05:46 AM
iostream.h
I am trying to compile a c++ program on my hp-ux 11.23 64 bit OS machine and it is throwing the error
>/usr/ccs/lbin/cpp test.cpp
cpp: "test.cpp", line 1:error 4036: Can't open include file 'iostream.h'.
Could anybody help me regard to this.
- Tags:
- include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2008 06:13 AM
тАО06-11-2008 06:13 AM
Re: iostream.h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2008 06:17 AM
тАО06-11-2008 06:17 AM
Re: iostream.h
Sounds like a rather basic question.
Check the user/usage guides?
I know noting about c++.
But I can
#find /usr/include -name iostream.h
---> /usr/include/aCC/iostream
And I can make cpp look there using:
$ /usr/ccs/lbin/cpp -I/usr/include/aCC/iostream test.c
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2008 10:24 AM
тАО06-11-2008 10:24 AM
Re: iostream.h
#include
instead of
#include
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2008 07:31 PM
тАО06-11-2008 07:31 PM
Re: iostream.h
Why are you using the K&R cpp preprocessor instead of aCC or g++ drivers?
>Hein: And I can make cpp look there using:
$ /usr/ccs/lbin/cpp -I/usr/include/aCC/iostream test.c
Why? You need to make a compiler look there, not cpp.
>Torsten: but check if it is
>#include
This is the Standard. For aC++ you need to compile with -AA.
>#include
This is the old cfront header. You compile this with -AP.
- Tags:
- -AA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2008 03:42 AM
тАО06-12-2008 03:42 AM
Re: iostream.h
$ /usr/ccs/lbin/cpp -I/usr/include/aCC/iostream test.c
Dennis> Why? You need to make a compiler look there, not cpp.
Oh, for no particular good reason.
I just observed you CAN, not that you should :-)
The cpp (pre-processor) does have an "-L" option and it does remove the error!
sheepish grin,
Hein.