www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/22/14:51:50

Message-ID: <19990122195239.13039.rocketmail@send103.yahoomail.com>
Date: Fri, 22 Jan 1999 11:52:39 -0800 (PST)
From: Kenn Hamm <vincevalentine AT yahoo DOT com>
Subject: Re: library stuff (AP Class)
To: djgpp AT delorie DOT com
Cc: Mackdaddy AT worldnet DOT att DOT net
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

>I am a senior in AP Computer Science II. My class uses >Borland
C++5.02.
>I got DJGPP because I need to start working on the >projects at home
and
>I needed a compiler.   I have been taught everything >and vectors
with  a special group of files created by >The college board
>AP Computer Science. I downloaded all the files from >this address:
>"http://www.collegeboard.com/ap/computer-science/html/classes.html".
>I put all the header files in the c:\djgpp\include >directory and I put
>the .cpp files in a directory called apclass at
>c:\djgpp\addons\apclass.  I compiled apstring.cpp from >the command
>prompt and that worked fine.  However, when I tried >that with the
other
>files  I got these three lines:( I'll use the example >of apvector.cpp)
>" In file included from apvector.cpp:17:
>c:/djgpp/lang/cxx/apvector.h:127: apvector.cpp: No >such file or
>directory (ENOENT
>)"
>This is a character for character copying precise down >to the slashes.
>Please tell me what my problem is.  and why it is >printing / instead
of
>\ in this line:
>c:/djgpp/lang/cxx/apvector.h:127: apvector.cpp: No >such file or
>directory (ENOENT).
>I am sure it is just some stupid mistake but please >help me fix it.
>Until  it is fixed I cannot work on my school stuff.  >And any help on
>commands for plain old strings, and vectors would be >helpful too.
>Thanks,
>Mack McNeely
It prints forward slashes because that's what djgpp
uses (unix-style.)  As to your actual problem, apvector
and apmatrix are templated classes, so the header files
just #include the cpp files because there's no way to
force instantiation for any data type they might be
applied to otherwise.  To fix this, copy the cpp files
also into c:/djgpp/include.
  -Kenn
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019