I started to learn C. Because I wanted a free IDE I've tried LCC-WIN32 and DEV-C++.
So my question: Why do I have to include conio.c in DEV-C++ and conio.h (as I suspected) in LCC.
Is this a bug in beta 5 ?
What is the standard to include conio? I have to run this in MS VC++ at school :-(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1. It isn't a Dev-C++, it's more of a MinGw issue - the compiler that is packaged with Dev-C++. The IDE comes with gcc 2.95 by default, so maybe you can try upgrading to MinGw 2.0.0.3 which comes with gcc 3.2 and see if the problem is fixed. Thats the only thing I can think of.
2. Conio isn't covered in the ANSI/ISO standard, it's compiler specific so each compiler has their own, different implementation of conio.h.
Someone will probally say this isn't 100% accurate, but hell I took a shot - ain't like anyone else bothered to throw you a bone :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I started to learn C. Because I wanted a free IDE I've tried LCC-WIN32 and DEV-C++.
So my question: Why do I have to include conio.c in DEV-C++ and conio.h (as I suspected) in LCC.
Is this a bug in beta 5 ?
What is the standard to include conio? I have to run this in MS VC++ at school :-(
Sorry, its 5.0 beta 6 :-)
Another question: Where can I get the devcpp.hlp file? I wasnot distibuted in this 10mb package.
And last but not least: when opening a *.c file I always get a message "cannot focus disabled or invisible window". Why? Which windows is meant?
Thanks a lot :-)
2 Things:
1. It isn't a Dev-C++, it's more of a MinGw issue - the compiler that is packaged with Dev-C++. The IDE comes with gcc 2.95 by default, so maybe you can try upgrading to MinGw 2.0.0.3 which comes with gcc 3.2 and see if the problem is fixed. Thats the only thing I can think of.
2. Conio isn't covered in the ANSI/ISO standard, it's compiler specific so each compiler has their own, different implementation of conio.h.
Someone will probally say this isn't 100% accurate, but hell I took a shot - ain't like anyone else bothered to throw you a bone :-)