[Dev-C++] Bloodshed or dev-c++ question
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Bob W. <bo...@ph...> - 2002-04-14 04:40:02
|
Today I spend another marathon session trying to figure out why I could = not get any console output from a program. I could go to a DOS window = and type "newarray > test.txt" and the file created was exactly what I = expected the console output to be. If I brought up the windows "close = program" window by doing the Ctrl-Alt-Del trick, it would show that the = program was still running, but the DOS window had returned to the = command prompt.=20 This is the second time something like this has happened. In both cases, = I had accidentally had selected a windows application in the new project = window and then deleted the default "Untitled1.cpp" it created. That = fill was filled with windows specific code. When I deleted that file, I = thought I had fixed the problem, but I had not. I finally discovered = that the code I had written was fine when I copied it to a different = name and compiled it on a different compiler. I deleted the project, = rsrc.o, and rsrc.rc files and returned to the dev-c++ environment. I = created a new console project, compiled the code and it ran perfectly. = Since this was the second time, you would think I would not have wasted = a half a day solving it. The problem is insidious because it is hard, at = least for me, to detect.=20 My request for assistance is this: 1.. Is there an easier way to solve the problem other than deleting = the files and starting over? In other words, is there a file I can check = for a flag, etc? 2.. Is there something that is easily identifiable that the Bloodshed = IDE that would be an obvious clue that this is the problem? Thanks, Bob Wilson |