Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <windows.h>
- #include <stdio.h>
- int main()
- {
- int msgboxID = MessageBox(
- NULL,
- "Do you want a\nFart Box?",
- "Question",
- MB_YESNO
- );
- switch (msgboxID)
- {
- case IDYES:
- MessageBox(NULL,"FART","FART BOX",MB_OK);
- break;
- case IDNO:
- MessageBox(NULL,"Nothing to Smell Here","My Message",MB_OK);
- break;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement