This note is quite out of date.  You may have heard of Carly Fiorina, CEO of a top 20 tech firm?  Glass ceiling shattered.   Yes, most of the people who go into Computer Science are guys, because those are the people interested in the topic.  You are going into the field to be a boss.  This gives you quite the advantage, as most of your (male) peers will not have that goal.   The only one holding you down will be you.