Welcome to the forums danielval.

Like codesmuggler says, it would be nice if you could tell us what the problem seems to be.
What happens when you compile the code? Does part of it work?

As...