I am printing in my c program which deals with structures but not able to understand why getting a small box containing 0001 in box.printing is fine but the uneccessay boxes are coming. I dont know what they actually mean.

Recommended Answers

All 2 Replies

I expect you're trying to output some kind of character with the value 1. This is an unprintable character and when your terminal gets told to output it, because it has nothing to show, it shows a little box with 0001 in it.

You need to check what you're outputting and not try to output things that aren't proper displayable characters.

Thanks I will check it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.