This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I don't think this is the right place for questions concerning how to write C code
Right. I think he's rather asking on how to make Dev-C++/Mingw work properly. The problem doesn't look like it's a programming error. A place to start would be here:
That's where Dev-C++ can be downloaded and it's also the place where one should ask when experiencing problems with Dev-C++.
The above line doesn't produce any errors for me, but I believe it should really be:
int main(void)
As of my understandings (which might of course be wrong), "int main()" is just as correct as "int main(void)". AFAIK, "int main(void)" would even be incorrect in C++.
Attachment:
signature.asc
Description: OpenPGP digital signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |