I'm not sure what you are asking. If you don't have any idea if the code is doing what you want or not, what can anyone suggest?
Make a small, complete program that compiles, executes and shows...
Type: Posts; User: Norm
I'm not sure what you are asking. If you don't have any idea if the code is doing what you want or not, what can anyone suggest?
Make a small, complete program that compiles, executes and shows...
Why do you say: tell me if anything is wrong?
Please explain why you think there might be anything wrong. Copy the program's output and paste it here with comments about what you think the problem is.
If you have questions please post them...