How can we make suggestions about your code without seeing it or at least a small program the compiles and executes and demonstrates the problem.