>Anyone plan on treating those marked female any differently?
I'd had that problem with many other forums before I came here, everyone waving off my opinions and corrections because I ws a girl (and girls can't program ), so for quite some time I kept my posts carefully neutral here until my name leaked out somewhere.

Originally posted by Travis Dane Maybe there needs to be inlcuded a gender option in the
profile, otherwise whe might get more 'prelude's a girl?'
misunderstandings.

I agree with that. Not like I'm going to treat girls any differently, just so I know who's who. Before now, I thought Prelude was a guy. Let's all tell the Web Masta to put in a gender option in peoples' profiles.

why? I don't understand why it matters what gender you or anyone else is?! Why does it matter whether you know jack sh1t about anyone else? This is a help forum... not a meet-n-greet forum. You don't need to know everything about a person to answer their C questions.

Originally posted by ober5861 why? I don't understand why it matters what gender you or anyone else is?! Why does it matter whether you know jack sh1t about anyone else? This is a help forum... not a meet-n-greet forum. You don't need to know everything about a person to answer their C questions.

Pardon me sir, but last time I checked this isn't the C++ Forum, this is the General Discussion Forum where people talk about non-C++ related things. And besides, it never hurts to know what gender someone is.

I think it'd be a good idea to know the gender of people to avoid misunderstandings. Prelude, I think that's horrible that some programmers have treated you differently due to your gender; however, I don't think you've had that problem here at the C Board. I may be wrong, but from what I've seen here, you are generally worshipped as a great programmer and someone who is very helpful and knowlegable.

The other reason why I'd like to see a gender option is so that I can learn that female programmers can be just as good, if not better, than male programmers. Prelude, you have truly taught me that there are female programmers in the world and they can be really great programmers. Thank you for that and all of your help with programming.

"Let's all tell the Web Masta to put in a gender
option in peoples' profiles."
I think that's a good suggestion, but I have a feeling that some feel quite differently. I think I'll start up a poll to see how many people think that a gender option would be a good idea.

Oh, one more reason why I'd like to see that option in a profile. If it was open-ended like location, I'm sure people would come up with funny little things to put for that the way in which they do for location. I think "In a stack" was my favorite that I saw. *small chuckle*

"The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs." -- Joseph Weizenbaum.

"If you cannot grok the overall structure of a program while taking a shower, you are not ready to code it." -- Richard Pattis.

Originally posted by alpha off topic (but I didn't want to make a new thread about this): in joshdick's sig, #define is listed as evil. I want to know why? thanks.

alpha, here are the reasons for using const instead of #define:

they obey the language's scoping rules

you can see them in the debugger

you can take their address if you need to

you can pass them by const-reference if you need to

they don't create new "keywords" in your program.

So, instead of

Code:

#define true 1

do this:

Code:

const int true = 1;

For more info on that, go here.
Also, by evil I don't mean to say that #define should never be used. It's just that it should only be used when it's the lesser of two evils. That's why I use the word 'evil' istead of 'wrong' or 'bad'. However, there is absolutely no reason to use void main.

"The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs." -- Joseph Weizenbaum.

"If you cannot grok the overall structure of a program while taking a shower, you are not ready to code it." -- Richard Pattis.

"The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs." -- Joseph Weizenbaum.

"If you cannot grok the overall structure of a program while taking a shower, you are not ready to code it." -- Richard Pattis.

Originally posted by joshdick alpha, here are the reasons for using const instead of #define:

they obey the language's scoping rules

you can see them in the debugger

you can take their address if you need to

you can pass them by const-reference if you need to

they don't create new "keywords" in your program.

So, instead of

Code:

#define true 1

do this:

Code:

const int true = 1;

For more info on that, go here.
Also, by evil I don't mean to say that #define should never be used. It's just that it should only be used when it's the lesser of two evils. That's why I use the word 'evil' istead of 'wrong' or 'bad'. However, there is absolutely no reason to use void main.

oh, okay. i haven't seen

Code:

#define true 1

before. the only place I've seen #define is with classes. thanks for the explanation.