Mail Archives: djgpp/2001/12/01/08:00:58
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f
|
Message-ID: | <000a01c17a67$747c2e00$cb40ec3e@b9d1o0>
|
From: | "Terho Suomalainen" <tepe DOT suo AT sicom DOT fi>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | |
Date: | Sat, 1 Dec 2001 14:55:11 +0200
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 5.50.4133.2400
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400
|
Reply-To: | djgpp AT delorie DOT com
|
This is a multi-part message in MIME format.
------=_NextPart_000_0007_01C17A78.369CE280
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I have a problem about GCC and RHIDE. I have installed them correctly =
and programmed a bit. Then as I updated the GCC, it started to give all =
this hoax about "undefined or invalid # directive", in code:
#include <vector>
#include <iterator>
#include <iostream.h>
#include <stdlib.h>
#include <algorithm>
void main()
{
int x =3D 255;
vector<char> V;
for (int i =3D srandom(x); i < 255;i++)
{
//V[i] =3D i; ignore my mistake
copy (V.begin(), V.end() , ostream_iterator<char> (cout, "") );
}
}
What is this problem about? It worked well before I even updated it.
------=_NextPart_000_0007_01C17A78.369CE280
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have a problem about GCC and RHIDE. I =
have=20
installed them correctly and programmed a bit. Then as I updated the =
GCC, it=20
started to give all this hoax about "undefined or invalid # directive", =
in=20
code:</FONT></DIV>
<DIV><FONT size=3D2>
<P>#include <vector></P>
<P>#include <iterator></P>
<P>#include <iostream.h></P>
<P>#include <stdlib.h></P>
<P>#include <algorithm></P>
<P>void main()</P>
<P>{</P>
<P>int x =3D 255;</P>
<P>vector<char> V;</P>
<P>for (int i =3D srandom(x); i < 255;i++)</P>
<P>{</P>
<P>//V[i] =3D i; ignore my mistake</P>
<P>copy (V.begin(), V.end() , ostream_iterator<char> (cout, "") =
);</P>
<P>}</P>
<P><FONT face=3DArial>}</FONT></P>
<P><FONT face=3DArial size=3D3>What is this problem about? It worked =
well before I=20
even updated it.</FONT></P></FONT></DIV></BODY></HTML>
------=_NextPart_000_0007_01C17A78.369CE280--
- Raw text -