hello fellow programmers, Im having problems regarding this code, if this is impossible please let me know.
What i have here is a code that inputs as string. If the user press the "escape key" the program will go to a user-defined function.
Can you guys tell me what should i put in the "(escape key)"
Thanks in Advance,
AnimeProgrammer :)
What i have here is a code that inputs as string. If the user press the "escape key" the program will go to a user-defined function.
Code:
#include "maidcafe.h" ///user-defined..it has all the header files i can imagine xD/// ..... if (strcmp(string, (escape key)) == 0){ fn_menu(); // this will make the program go back to the menu (user-defined function) } else{ /////do nothing }
Thanks in Advance,
AnimeProgrammer :)
Comment