c++.dos.32-bits - Project Problems
- Paul Warren (24/24) Aug 12 2003 Hi Walter/all,
- Walter (9/32) Aug 12 2003 So it's there under the IDDE but not there from the console, or vice ver...
- Arjan Knepper (13/31) Aug 13 2003 You also have to explicit delete it from the IDDE. When you try to open
Hi Walter/all, Well finally got the time to take a look at DM. I have now successfully written a program using Windows 95 as target, and the debugger works fine, using Console as output. I want to port about 15 programs i wrote with djgpp to DM, and want to keep it as simple as possible. Here are some problems im trying to solve at this moment! Q1. I deleted a file, in one of my project directories I created, but its still displayed when I list the files in DM. Its not there when I look under windows file manager? On a similar note I copied another file into this directory and its not showing in DM but there under windows? Q2. Where do I put my include files like #include <stdio.> etc? I used to have them at the top of each file, or in my header, but I commented them out and seems the compiler has no objection. So where is it getting these files from? Q3. The project im porting seems to be having problems locating my header file. Im getting error msg like "size of runners unknown" (declared in my header file). I have copied the header file to my project directory, and tried #include <horses.h> and #include "horses.h" but no good. Under Project settings, ive given a path in the include entry but still no joy. Thanks in advance for your reply, its very much appreciated. Paul
Aug 12 2003
"Paul Warren" <Paul_member pathlink.com> wrote in message news:bhbb6k$1gmb$1 digitaldaemon.com...Hi Walter/all, Well finally got the time to take a look at DM. I have now successfully written a program using Windows 95 as target, and the debugger works fine, using Console as output. I want to port about 15 programs i wrote with djgpp to DM, and want to keep it as simple as possible. Here are some problems im trying to solve at this moment! Q1. I deleted a file, in one of my project directories I created, but its still displayed when I list the files in DM. Its not there when I look under windows file manager? On a similar note I copied another file into this directory and its not showing in DM but there under windows?So it's there under the IDDE but not there from the console, or vice versa?Q2. Where do I put my include files like #include <stdio.> etc? I used to have them at the top of each file, or in my header, but I commented them out and seems the compiler has no objection. So where is it getting these files from?Normal practice is to put them near the start of the source file. If no errors without them, then the source isn't referring to anything in them.Q3. The project im porting seems to be having problems locating my header file. Im getting error msg like "size of runners unknown" (declared in my header file). I have copied the header file to my projectdirectory,and tried #include <horses.h> and #include "horses.h" but no good. Under Project settings, ive given a path in the include entry but still no joy.Your header file should be somewhere along the INCLUDE environment variable path.Thanks in advance for your reply, its very much appreciated.You're welcome.
Aug 12 2003
Paul Warren wrote:Here are some problems im trying to solve at this moment! Q1. I deleted a file, in one of my project directories I created, but its still displayed when I list the files in DM. Its not there when I look under windows file manager? On a similar note I copied another file into this directory and its not showing in DM but there under windows?You also have to explicit delete it from the IDDE. When you try to open the deleted file in the IDDE you will be asked to located the file because it could not be found on disk. You also have to a the file explicit to the project in the IDDE before it is visible. (right click on the project -> Edit project)Q2. Where do I put my include files like #include <stdio.> etc? I used to have them at the top of each file, or in my header, but I commented them out and seems the compiler has no objection. So where is it getting these files from?From your project include path (right click the project -> Settings -> Directories tab, and the include path set in sc.ini file found in the compiler bin dir.Q3. The project im porting seems to be having problems locating my header file. Im getting error msg like "size of runners unknown" (declared in my header file). I have copied the header file to my project directory, and tried #include <horses.h> and #include "horses.h" but no good. Under Project settings, ive given a path in the include entry but still no joy.To make sure a header file is included use the #error "blah blah" directive in the header, the compiler will stop at the error. Good Luck Arjan
Aug 13 2003