How badly will this C affect me?

Well, it looks like I’m going to get C in my computer science class at a community college. Unless a miracle occurs, this will be the first C on my transcript. I want to major in history, but my parents forced me to take a CS class anyway. I’m wondering if colleges won’t look at this C won’t be looked at so harshly since it’s dual enrollment and it’s a class that’s supposed to be for CS majors only. Any thoughts?
(Most of my colleges are in the 40% range as far as acceptance rates go. I think my most selective school is Wellesley, which has a 28% acceptance rate.)