I think I have solved the problem by using the atoi() thing.