Thanks for looking. I will have a second look at it tommorrow when I'm not sleepy.
A last question, I started a new project and got this error:

windews.exe susning.ico unexpected EOF

susning is the name of the project. I added the ico file from another project. I don't know why it needs ico files.
In dev-c++ it also says:

[Resource error] susning.ico unexpected EOF.

I don't know how to solve this one, or how to avoid it either. Any ideas?