Please post to the mailing list, if you only post to me and i answer you with a misstake, no one will be able to correct me :)
> thank you very much for your quick response. I just tried with a "viod" instead and it works fine now.
You shouldn't use void as your main arguments for two reasons:
- If it compiles right now, it might only because the compiler changes the arguments of your main to match the ones expected by your target platform.
- If later you require your application to take arguments (Like most of the apps / tools you can find around, for example when you create a file association, and click on a text file, your text editor is launched with the file name as an argument), then you should consider directly writing it correctly.
> thank you very much for the additional info.. Yes, you are wright, I did this just because I wanted to see that the compiler works. My real application will require arguments anyway.
> Thanks a lot for your help.
No problem, glad i could help you.
Get latest updates about Open Source Projects, Conferences and News.