I was lucky enough to attend several city schools with serious technology programs/curricula. This included C++ for all 4 years of HS provided you were on the advanced track.
That said, I still had troubles fitting into the tech world and even left it for a time. There's a variety of reasons for this, but one of them was that I never really felt any sense of camaraderie with the other people who were into this stuff. Outside of computers, I often had very little in common with my white, male peers.
They liked metal and rock, I mostly liked JPOP and Electronic music at the time. They were worried about getting girls to like them and annoyed at the athletes who seemed to get all of them. I was usually dating those same athletes. Even my gaming interests seemed to diverge from theirs. I'm a console gamer, but the guys were busy playing Counterstrike.
This meant there were FAR fewer opportunities to collaborate and learn from a group of similarly-interested people. Thankfully, people are a LOT more open to differences now that I'm older, but it still leaves me pretty far behind.
Note: I'm an Afro-Latina woman.