Part of my program displays a list of valid IDs, their pay, and a list of bad ids. Several of the values are.. empty I guess so they display as 0s. How can I keep that from happening?
Seriss
0
Newbie Poster
Recommended Answers
Jump to PostHow can I keep that from happening?
Fill them up with stuff.
Jump to Posttest the attributes before issuing a cout instruction, if != 0 then display, else move on to the next attribute.
All 5 Replies
Clinton Portis
211
Practically a Posting Shark
Seriss
0
Newbie Poster
Clinton Portis
211
Practically a Posting Shark
Seriss
0
Newbie Poster
Seriss
0
Newbie Poster
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.