what's the use of flag in c++?

Recommended Answers

All 2 Replies

What do you mean? The term "flag" can have many meanings, so your question is just too general to answer without writing a thesis on the term... :-(

What sort of project are you working on? There are several different concepts/objects you can apply the term "flag" to.

In general, a "flag" is used to either indicate some state or trigger or prevent certain actions...

You'll have to be more specific about your situation...

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.