How to show message box on windows in C

1 Answer

0 votes
#include <windows.h>

int main(void) {
    
    MessageBoxA(0, "Program error", "Error", MB_ICONEXCLAMATION | MB_OK); 
	
	
    return 0;
}
 
  
  
/*
run:
  

  
*/

 



answered Apr 7, 2021 by avibootz
edited Apr 8, 2021 by avibootz

Related questions

...