As far as i know , taking ur eg of civil engg. , it will be ur major whereas comp sc. will be ur minor , i.e u can get a small degree in comp sc. by completing 20 credits in it and for it u hav to do extra studies , its not a part of ur civil course , obviously.
it can be quite handy.