ARRAYS

    int u = 0;

What's this for?

What are you really trying to do? Dynamically declaring arrays like you are doing really isn't a good idea.