![]() |
| | #1 |
| Registered User Join Date: Jan 2002
Posts: 69
| Problem with compiler |
| knight543 is offline | |
| | #2 |
| Registered User Join Date: Nov 2001
Posts: 162
| I use Dev-C++ and I have never heard of the function delay. I searched the include files and I didn't find it either, so Dev-C++ must not come with the delay function. Since it can't find it in a header file, it tells you that you need to define it. For something similar to delay use Sleep() defined in winbase.h, but you can just include windows.h for convenience. |
| Crossbow is offline | |
| | #3 |
| Registered User Join Date: Feb 2002
Posts: 32
| <iostream.h> i cant seem to get #include <iostream.h> to work on dev-c++ |
| helbovine is offline | |
| | #4 |
| Guest
Posts: n/a
| I have dev c++, iostream.h works just fine. |
|
| | #5 |
| Intranasal Heroin User Join Date: Sep 2001 Location: Buffalo, NY
Posts: 1,033
| to knight: Dev-C++ is a windows compiler, and delay() is normally defined in a dos compiler in dos.h. Though Dev-C++ has dos.h, it's a windows version of it. |
| Xterria is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compiler problem | xixpsychoxix | C++ Programming | 5 | 01-17-2009 12:46 PM |
| Dev-C++ compiler problem | GrasshopperEsq | C++ Programming | 19 | 05-08-2008 02:35 AM |
| Compiler Problem | sitestem | C++ Programming | 2 | 04-11-2004 03:48 PM |
| C / OpenGL help REALLY needed for simple but annoying problem! | Oz_joker | C Programming | 5 | 12-03-2003 05:47 PM |
| Please help me with this compiler problem | incognito | C++ Programming | 1 | 01-05-2002 05:14 PM |