I'm trying to programming in just plain C.
I believe I have found a problem that limits Dev-C++ for C development.
First, Start up a new project.
In the "New Project Window":
Select "Windows Application".
Select "C Project".
Press OK.
( Save the project in a proper location.)
Now compile and run the program.
It should be OK.
Now add the following standard C library headers to the top above #include <windows.h>:
#include <stdio.h>
#include <stdlib.h>
Try to compile and run the program.
You should get a list of errors.
Is there a workaround for this?
Thank you.
Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to programming in just plain C.
I believe I have found a problem that limits Dev-C++ for C development.
First, Start up a new project.
In the "New Project Window":
Select "Windows Application".
Select "C Project".
Press OK.
( Save the project in a proper location.)
Now compile and run the program.
It should be OK.
Now add the following standard C library headers to the top above #include <windows.h>:
#include <stdio.h>
#include <stdlib.h>
Try to compile and run the program.
You should get a list of errors.
Is there a workaround for this?
Thank you.
Michael
Same kind of error appears with standard console-app.
or
just create a text file main.c and write a basic "hello world" programm. Next open it and try to compile it as a C programm.
Now I found out its ONLY the filename. Write it in uppercase letters, i.e. MAIN.C instead of main.c.
This seems to be another error of mingw (like inlcudeing conio.c instead of .h) - and the new version is not recommended, sigh