1. Progres with C++
- Posted by jan.hancic at email.si May 03, 2001
- 507 views
This is a multi-part message in MIME format. ------=_NextPart_000_0009_01C0D3FD.E3898100 boundary="----=_NextPart_001_000A_01C0D3FD.E3912220" ------=_NextPart_001_000A_01C0D3FD.E3912220 charset="iso-8859-1" Hi all 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++ =20 Lep Pozdrav Jan (SoftBoot team) jan.hancic at email.si janovina at email.si ------=_NextPart_001_000A_01C0D3FD.E3912220 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 all</FONT></DIV> <DIV><FONT face=3DArial color=3D#ff0000 size=3D2></FONT> </DIV> <DIV><FONT face=3DArial color=3D#ff0000 size=3D2>I have finaly discoverd = what am I=20 supost to do so I can run my *.cpp files with Borland C++ 5.5 builder. I = have=20 found out that the compiler has to be in the same directory as *.cpp = file or=20 *.cpp file has to be in the bin directory.OK so far so good. But now = there is a=20 problem: where do the *.h file shas to be? They shoud be in the include=20 directory like in Eu (well they are :) but when I tipe = bcc32 vector.cpp (it=20 is in examples directory) it says that he can't open some librarys. I = know that=20 in C++ librarys are named file.h then I have looked the code and noticed = that=20 the #include file is without .h I have added this and still no luck. = What am I=20 missing? Please help, I know there are a lot of you using Borland=20 C++</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT face=3DArial color=3D#ff0000 size=3D2>Lep Pozdrav<BR>Jan = (SoftBoot=20 team)<BR><A = 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></FONT></DIV></BOD= ------=_NextPart_001_000A_01C0D3FD.E3912220-- ------=_NextPart_000_0009_01C0D3FD.E3898100 Content-Type: text/x-vcard; name="Jan Hancic.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Jan Hancic.vcf" BEGIN:VCARD VERSION:2.1 N:Hancic;Jan FN:Jan Hancic NICKNAME:Janovina ORG:SoftBoot;Razvoj&Ideje TITLE:Programer TEL;WORK;VOICE:01 8325 557 TEL;HOME;VOICE:01 8325 557 TEL;CELL;VOICE:040 323 038 ADR;WORK:;;Zagorica nad Kamnikom 6.a 1242 = Stahovica;Kamnik;;1242;Stahovica LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:Zagorica nad Kamnikom 6.a 1242 = Stahovica=3D0D=3D0AKamnik 1242=3D0D=3D0AStahovica ADR;HOME:;;Zagorica nad Kamnikom 6.a;Kamnik;Ob=E8ina = Kamnik;1242;Stahovica LABEL;HOME;ENCODING=3DQUOTED-PRINTABLE:Zagorica nad Kamnikom = 6.a=3D0D=3D0AKamnik, Ob=3DE8ina Kamnik 1242=3D0D=3D0AStahovica X-WAB-GENDER:2 URL:http://www.myfreehost.com/janovina URL:http://www.softboot.com -- **=8AE NE DELA** BDAY:19861129 EMAIL;PREF;INTERNET:jan.hancic at email.si EMAIL;INTERNET:janovina at email.si REV:20010503T162136Z END:VCARD ------=_NextPart_000_0009_01C0D3FD.E3898100--
2. Re: Progres with C++
- Posted by Travis Beaty <travisbeaty at arn.net> May 03, 2001
- 492 views
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 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. That should have been done when the compiler was installed. If not, you'll need to look at the compiler documentation and pass the location to the compiler using command line switches. (I use 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 the global namespace. If you type <iostreams>, then you would access its functions using the C++ line 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 community has quite a few mailing list for C++ questions ... I've used them myself. Go to 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 extension to figure out what it is.) There is something wrong with them, and it keeps setting off a warning in my browser (Opera5). The more security minded among us may delete your email without a second thought. Smile! -- Travis --
3. Re: Progres with C++
- Posted by jjnick at cvn.com May 04, 2001
- 475 views
Can't you also qualify the header files with paths? ----- Original Message ----- From: "Travis Beaty" <travisbeaty at arn.net> To: "EUforum" <EUforum at topica.com> 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 > 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. > That should have been done when the compiler was installed. If not, you'll need to look at the > compiler documentation and pass the location to the compiler using command line switches. (I use > 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 > the global namespace. If you type <iostreams>, then you would access its functions using the C++ > line > > 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 > community has quite a few mailing list for C++ questions ... I've used them myself. Go to > 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 > extension to figure out what it is.) There is something wrong with them, and it keeps setting > off a warning in my browser (Opera5). The more security minded among us may delete your email > without a second thought. > > Smile! > > -- Travis -- > > > > > > > > >
4. Re: Progres with C++
- Posted by jan.hancic at email.si May 04, 2001
- 466 views
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> </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> </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> &nbs= p; =20 = <<<<<<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>> in the = same=20 directory as *.cpp file or *.cpp file has to be in the = bin<BR>> =20 directory.OK so far so good. But now there is a problem: where do the=20 *.h<BR>><BR>> file shas to be? They shoud be in the = include=20 directory like in Eu (well<BR>> they are :) but when I = tipe=20 bcc32 vector.cpp (it is in examples directory)<BR>> it = says=20 that he can't open some librarys. I know that in C++ librarys=20 are<BR>> named file.h then I have looked the code and = noticed=20 that the #include<BR>><BR>> file is without .h I = have added=20 this and still no luck. What am I missing?<BR>> 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. Basically, you do it two = <BR>different ways.<BR><BR>First, like this ...<BR><BR>#include=20 <iostream.h><BR><BR>If you do this, then the compiler needs to = know=20 where your stash of include files are located. <BR>That should = have been=20 done when the compiler was installed. 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. (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 <iostreams.h>, = then=20 all the declarations in iostreams are placed in <BR>the global=20 namespace. If you type <iostreams>, 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. The Borland <BR>community has quite = a few=20 mailing list for C++ questions ... I've used them myself. Go to=20 <BR>community.borland.com, then select the C++ department.<BR><BR>One = other=20 thing. Please consider not sending your vCard in your = messages. =20 (Had to look up the <BR>extension to figure out what it is.) = There is=20 something wrong with them, and it keeps setting <BR>off a warning in = my=20 browser (Opera5). 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 =20 -- Learn More. Surf Less.<BR>Newsletters, Tips and Discussions on = Topics You=20 Choose.<BR><A=20 = ------=_NextPart_000_0021_01C0D4B5.70ECA560--