Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
problem with header file in C or C++ (joviaal fakrian)

problem with header file in C or C++ (joviaal fakrian)

2003-09-09       - By Patrick A Thompson

 Back
Jovi:
  1) I make no claim to being any sort of C++ expert so the following
may be total rubbish.

  gcc3.2 is not part of the RH7.3 distro; the rpms for 3.2 have to
be downloaded separately.  I think I remember there were 6-8 separate
rpms that had to be downloaded and installed.
  Is it possible that the include rpms were not installed?

In a random system, I found the following:
/usr/include/g++-3/iostream   iostream.h
/usr/include/g++-2/iostream   iostream.h

IOSTREAM.H
  iostream.h has been superceded by iostream (which includes
iostream.h ).  Is it possible that gcc3.2 won't accept the older form ?

CONIO.H
  I have never seen conio (and can not find it on my system).

  Where is this test code coming from?
  If you're a newbie, might start with one of the the really simple
examples in the gnu gcc documentation.

BORLAND
  Off hand I would think it a dangerous idea to load a non gcc3.2
header file into the include directory.  The header file has to line up
with
the actual code (presumeably in glibc or some such place).

  not your reported problem, but it may be the next thing that
gets you.
NAMESPACE STD
  I found that gcc3.2(g++) *requires*
using namespace std;

  HTH  - Pat
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
-- ---- ---- ---- --
> Date: Sun, 7 Sep 2003 19:26:42 -0700 (PDT)
> From: joviaal fakrian <jovi_rhx@(protected)>
> ---
> 1. I am newbie who is trying to learn programming in C and C++.
> But I have some problem about C and C++ programming what make me
> confusing.
> The problem was about the header file. When I was trying to compile
> a source code from the book, it gave me an error message that the
> compiler can't find the header file conio.h and iostream.h. I've
> tried to copy the header file from Turbo C++ compiler to
> /usr/include but it doesn't work.
> For your information I am using Red Hat Linux 7.3, kernel 2.4.18,
> gcc 3.2, libgcc 3.2, glibc 2.2.93. Could you help me to solve this
> problem ?
> 2. How to compile program in Pascal ? What's compiler which I must
> used
> Thanks for your attention.
>
> Regards,
> Jovi




Earn $52 per hosting referral at Lunarpages.