Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!hplabs!hpcc05!hpcuhb!hpcllla!hpclisp!defaria@hpclapd.HP.COM From: defaria@hpclapd.HP.COM (Andy DeFaria) Newsgroups: comp.lang.c++ Subject: TC++ include file madness Message-ID: <58170036@hpclapd.HP.COM> Date: 8 Nov 90 20:22:07 GMT Organization: Hewlett-Packard Calif. Language Lab Lines: 21 I recently set up a 286 DOS 3.3 PC to run Turbo C++ Professional. I'm in the process of learning C better and also learning C++. I have installed TC under a directory called \system so I have \system\tc, etc. In going through the first example I copied the point.cpp from the examples directory to my directory (\andy). When I compile it I get an error. I have: #include which in turn includes (and the include in iostream.h does indeed say "#include "). The TC compiler says that it can't open mem.h. I have the "Include Directories" set to \system\tc\include and both iostream.h and mem.h reside there. If I change the code to: #include #include I see that the compiler can find mem.h and compiles it without a hitch. Then it compiles iostream.h and fails again saying it can't find mem.h!!! What's going on here?