-
```cpp
#include
#include
#include
#pragma comment(lib,"winmm.lib")
void bgm()
{
mciSendString(L"open ./MySoul.mp3", 0, 0, 0);
mciSendString(L"play ./MySoul.mp3", 0, 0, 0);
}
int main()…
-
如题,除了用putimage函数加坐标外,能否直接把图片放在窗口想要的位置,或者有什么方法能得到该位置坐标也行,而不是一次一次调坐标到想要的位置
-
鼠标点击第二第三区域无反应,无法转到相应的函数
![屏幕截图 2021-08-24 202113](https://user-images.githubusercontent.com/89232835/130615542-8ed9530b-93c2-4143-b07c-2724b44a4da9.png)
-
-
![屏幕截图 2021-08-28 101939](https://user-images.githubusercontent.com/89232835/131203189-b4bec1aa-8bdd-4b8b-85ea-b6510019aeec.png)
![屏幕截图 2021-08-28 102000](https://user-images.githubusercontent.com/89…
-
(判定条件在测试时1,2,3,4都同时使用过)
![error](https://user-images.githubusercontent.com/89260727/130911039-e6c55fd4-2a7f-4f54-99f2-eb3bd02ddd87.PNG)
![error1](https://user-images.githubusercontent.com/89260727/1…
-
![tkerror](https://user-images.githubusercontent.com/89260727/130430269-fc330184-9f60-416c-99ae-3170e867ca42.PNG)
另外使用白色图片旋转会有灰色出现
![TKERROR3](https://user-images.githubusercontent.com/89260727/1304…
-
![error1](https://user-images.githubusercontent.com/89260727/130575453-679f5123-83c6-44dc-81db-8042b9327945.PNG)
下面是原图和遮罩图
![tkone](https://user-images.githubusercontent.com/89260727/130575478-0379d…
-
出现问题的背景:正常情况下,ai的操作是在玩家下棋后计算不同位置的分数,选择分数高的下棋,然后会在控制台上显示本次的分数矩阵,然后再easyX界面上下棋(显示棋子图像)。
出现的问题:在本次玩家下棋后,ai突然卡住,分数矩阵没有在控制台出现,也没有出现棋子,并且尝试断点,没有找到卡住的点。没有任何报错信息,比如TLE或者RE,就是ai没有下棋,同时玩家无法下棋(即ai下棋卡住),在此之前运行顺利…
ZhMX1 updated
3 years ago
-
这是判断函数
```cpp
int judgeAround(int x, int y, int tankAngle)
{
int i, j;
//判断前方
for (i = 0; i