<html><div style='background-color:'><DIV>
<P>try #include "source.cpp" the " " will tell the compiler it's in a local directory.<BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>>From: "Nick Easler" <EA...@ST...>
<DIV></DIV>>Reply-To: "Nick Easler" <EA...@ST...>
<DIV></DIV>>To: <DEV...@LI...>
<DIV></DIV>>Subject: [Dev-C++] #include
<DIV></DIV>>Date: Thu, 18 Oct 2001 17:45:29 -0400
<DIV></DIV>>
<DIV></DIV>>I'm learning c++ using dev-c++ and I can't seem to include source within the same project. Is there a way to setup dev-c++ so it looks for files in the current project directory when you #include them? Otherwise, I'd have to move them to the include directory, which is a real pain in the butt.
<DIV></DIV>>Thanks.
<DIV></DIV>>Nick Easler
<DIV></DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>
|