Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
what is flags in c
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
raghup
New Member
Join Date:
Oct 2006
Posts:
5
#1
what is flags in c
Oct 6 '06, 05:42 AM
hi
i ned to know wat is flags in programing language and wer we need to use it
Banfa
Recognized Expert
Expert
Join Date:
Feb 2006
Posts:
9067
#2
Oct 6 '06, 10:23 AM
This question does not make any sense.
Programmers often use flags as a variable name where they are using the individual bits of the variable to represent different things.
Comment
Post
Cancel
plabo
New Member
Join Date:
Oct 2006
Posts:
3
#3
Oct 6 '06, 11:53 AM
Usually flags are used to tell you if you entered in some parts of your code.
If (Var>1)
Flag=1;
else
Flag=2;
with this little example, you can understand much easier. Hope you understand
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment