I'm training reverse engineering and I'm creating some codes in C++ in other to reverse and see what I can do to learn.I've compiled this code:#include <iostream>enum Types{    One,    Two} type;void helloWorld(){    if (not type == Two)      std::cout << Sorry, you coundl't do that. << std::endl;    else      std::cout << Yeah, you rocks! << std::endl;}int main(int argc, char ** argv){    type = One;    helloWorld();    return 0;}As you can see, it's a really simple code, just for learning. What I want to know is: How can I change the type of the enum value.I'm using Windows 64bit, the only debuggers I have here is WinDbg and Visual DuxDebugger and IDA as disassembler.
Debugging and changing an enum value
ida;windbg