#include <iostream>
#include <windows.h>
int main() {
// Step 1: Declare variables for the message box parameters
HWND hwnd = GetConsoleWindow(); // Get the console window handle
LPCSTR message = "Hello, this is a MessageBox example."; // Message text
LPCSTR title = "MessageBox Example"; // Message box title
UINT type = MB_OK | MB_ICONINFORMATION; // Message box type
// Step 2: Display the message box
MessageBoxA(hwnd, message, title, type);
// Step 3: Return 0 to indicate successful execution
return 0;
}