Programming as in hacking
Is hacking a major??
You could get a major in something like cybersecurity. Doesn’t hurt to know your “opponent” I suppose lol.
Do you need two majors? Or do you just need extra classes in CS?
You need to do some research. “Hacking” isn’t a major. CS majors only get taught minimal skills for this in their classes (Computer Security, which not all majors include). I’m talking 2-3 basic hacks (buffer overflow, format string exploit, etc), and only because they’re common vulnerabilities that you want to avoid having in code you write (if you understand how to exploit it, you understand the importance of preventing them). If you want to learn hacking, that’s something you learn on your own outside of your classes. Colleges won’t teach you it (other than those real basics) because most of its applications are illegal.
Most engineering programs leave very little room for electives and second majors. Since there is little overlap for CS and ME, I think that this would be a tough combo to pull off.