This source code is switching on a string in C. How does it do that? – stackoverflow.com

I'm reading through some emulator code and I've countered something truly odd: switch (reg){ case 'eax': /* and so on*/ } How is this possible? I thought you could only switch on integral ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "This source code is switching on a string in C. How does it do that? – stackoverflow.com"