- 效果视频:
- 程序如下
#include<graphics.h>
#include<iostream>
#include<windows.h>
#include"heart.h"
using namespace std;
int main() {
HWND hwndDOS = GetForegroundWindow();
ShowWindow(hwndDOS, SW_HIDE);
while (MessageBox(NULL, "小姐姐我喜欢你", "愿意做我的女朋友吗?", MB_YESNO) =&