Re: Progres with C++

new topic     » goto parent     » topic index » view thread      » older message » newer message

This is a multi-part message in MIME format.

------=_NextPart_000_0021_01C0D4B5.70ECA560
	charset="iso-8859-1"

Hi Travis

You are right I will post my C++ meseges to the C++ forum now.
I will not include my card (it is soposted to be wiewed with OE).
Thanks for your help.

Lep Pozdrav
Jan (SoftBoot team)
jan.hancic at email.si
janovina at email.si
  ----- Original Message -----=20
  From: Travis Beaty=20
  To: EUforum=20
  Sent: Thursday, May 03, 2001 10:07 PM
  Subject: Re: Progres with C++



  =
  =


  Howdy, Jan!

  >   I have finaly discoverd what am I supost to do so I can run my =
*.cpp files
  >   with Borland C++ 5.5 builder. I have found out that the compiler =
has to be
  >   in the same directory as *.cpp file or *.cpp file has to be in the =
bin
  >   directory.OK so far so good. But now there is a problem: where do =
the *.h
  >
  >   file shas to be? They shoud be in the include directory like in Eu =
(well
  >   they are :) but when I tipe bcc32 vector.cpp (it is in examples =
directory)
  >   it says that he can't open some librarys. I know that in C++ =
librarys are
  >   named file.h then I have looked the code and noticed that the =
#include
  >
  >   file is without .h I have added this and still no luck. What am I =
missing?
  >   Please help, I know there are a lot of you using Borland C++

  As far as your include files (*.h), it can get pretty complex.  =
Basically, you do it two=20
  different ways.

  First, like this ...

  #include <iostream.h>

  If you do this, then the compiler needs to know where your stash of =
include files are located. =20
  That should have been done when the compiler was installed.  If not, =
you'll need to look at the=20
  compiler documentation and pass the location to the compiler using =
command line switches.  (I use=20
  Borland C++ 5.02, which is a little different from Builder.

  Or, you can do this:
  #include "Janprog.h"

  If you do this, it will look for the header in the same directory as =
the *.cpp source file.

  Finally, I *think* if you use <iostreams.h>, then all the declarations =
in iostreams are placed in=20
  the global namespace.  If you type <iostreams>, then you would access =
its functions using the C++=20
  line=20

  using namespace std;

  but I'm not 100% sure on that.

  This is not a gripe, Jan, but remember that this is a Euphoria mailing =
list.  The Borland=20
  community has quite a few mailing list for C++ questions ... I've used =
them myself.  Go to=20
  community.borland.com, then select the C++ department.

  One other thing.  Please consider not sending your vCard in your =
messages.  (Had to look up the=20
  extension to figure out what it is.)  There is something wrong with =
them, and it keeps setting=20
  off a warning in my browser (Opera5).  The more security minded among =
us may delete your email=20
  without a second thought.

  Smile!

  -- Travis --





  =
  =

  =

  =


------=_NextPart_000_0021_01C0D4B5.70ECA560
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.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>Hi Travis</FONT></DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>You are right I will =
post my C++=20
meseges to the C++ forum now.</FONT></DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>I will not include my =
card (it is=20
soposted to be wiewed with OE).</FONT></DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>Thanks for your =
help.</FONT></DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>Lep Pozdrav<BR>Jan (SoftBoot =
team)<BR></FONT><A=20
href=3D"mailto:jan.hancic at email.si">jan.hancic at email.si</A><BR><A=20
href=3D"mailto:janovina at email.si">janovina at email.si</A></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #ff0000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dtravisbeaty at arn.net =
href=3D"mailto:travisbeaty at arn.net">Travis=20
  Beaty</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3DEUforum at topica.com=20
  href=3D"mailto:EUforum at topica.com">EUforum</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, May 03, 2001 =
10:07=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: Progres with =
C++</DIV>
  =
<DIV><BR></DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;=20
  =
&lt;&lt;&lt;&lt;&lt;<BR><BR>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

  discounts, so visit today!<BR><A=20
  =
  have found out that the compiler has to be<BR>&gt;&nbsp;&nbsp; in the =
same=20
  directory as *.cpp file or *.cpp file has to be in the =
bin<BR>&gt;&nbsp;&nbsp;=20
  directory.OK so far so good. But now there is a problem: where do the=20
  *.h<BR>&gt;<BR>&gt;&nbsp;&nbsp; file shas to be? They shoud be in the =
include=20
  directory like in Eu (well<BR>&gt;&nbsp;&nbsp; they are :) but when I =
tipe=20
  bcc32 vector.cpp (it is in examples directory)<BR>&gt;&nbsp;&nbsp; it =
says=20
  that he can't open some librarys. I know that in C++ librarys=20
  are<BR>&gt;&nbsp;&nbsp; named file.h then I have looked the code and =
noticed=20
  that the #include<BR>&gt;<BR>&gt;&nbsp;&nbsp; file is without .h I =
have added=20
  this and still no luck. What am I missing?<BR>&gt;&nbsp;&nbsp; Please =
help, I=20
  know there are a lot of you using Borland C++<BR><BR>As far as your =
include=20
  files (*.h), it can get pretty complex.&nbsp; Basically, you do it two =

  <BR>different ways.<BR><BR>First, like this ...<BR><BR>#include=20
  &lt;iostream.h&gt;<BR><BR>If you do this, then the compiler needs to =
know=20
  where your stash of include files are located.&nbsp; <BR>That should =
have been=20
  done when the compiler was installed.&nbsp; If not, you'll need to =
look at the=20
  <BR>compiler documentation and pass the location to the compiler using =
command=20
  line switches.&nbsp; (I use <BR>Borland C++ 5.02, which is a little =
different=20
  from Builder.<BR><BR>Or, you can do this:<BR>#include =
"Janprog.h"<BR><BR>If=20
  you do this, it will look for the header in the same directory as the =
*.cpp=20
  source file.<BR><BR>Finally, I *think* if you use &lt;iostreams.h&gt;, =
then=20
  all the declarations in iostreams are placed in <BR>the global=20
  namespace.&nbsp; If you type &lt;iostreams&gt;, then you would access =
its=20
  functions using the C++ <BR>line <BR><BR>using namespace =
std;<BR><BR>but I'm=20
  not 100% sure on that.<BR><BR>This is not a gripe, Jan, but remember =
that this=20
  is a Euphoria mailing list.&nbsp; The Borland <BR>community has quite =
a few=20
  mailing list for C++ questions ... I've used them myself.&nbsp; Go to=20
  <BR>community.borland.com, then select the C++ department.<BR><BR>One =
other=20
  thing.&nbsp; Please consider not sending your vCard in your =
messages.&nbsp;=20
  (Had to look up the <BR>extension to figure out what it is.)&nbsp; =
There is=20
  something wrong with them, and it keeps setting <BR>off a warning in =
my=20
  browser (Opera5).&nbsp; The more security minded among us may delete =
your=20
  email <BR>without a second thought.<BR><BR>Smile!<BR><BR>-- Travis=20
  =
--<BR><BR><BR><BR><BR><BR>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
  =
  =
href=3D"http://topica.com/u/?b1dd66.b2AYp5">http://topica.com/u/?b1dd66.b=
2AYp5</A><BR>Or=20
  send an email To: <A=20
  =
href=3D"mailto:EUforum-unsubscribe at topica.com">EUforum-unsubscribe@topica=
.com</A><BR>This=20
  email was sent to: <A=20
  href=3D"mailto:janovina at email.si">janovina at email.si</A><BR><BR>T O P I =
C A&nbsp;=20
  -- Learn More. Surf Less.<BR>Newsletters, Tips and Discussions on =
Topics You=20
  Choose.<BR><A=20
  =

------=_NextPart_000_0021_01C0D4B5.70ECA560--

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu