Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inputbox_getline 在未输入结束后关闭窗口引发报错 #254

Open
FeJS8888 opened this issue Dec 29, 2024 · 5 comments
Open

inputbox_getline 在未输入结束后关闭窗口引发报错 #254

FeJS8888 opened this issue Dec 29, 2024 · 5 comments
Assignees
Labels
need-test need further tests Unsolved

Comments

@FeJS8888
Copy link

No description provided.

@yixy-only yixy-only self-assigned this Dec 29, 2024
@yixy-only
Copy link
Collaborator

可以提供具体的复现步骤以及较简的问题代码吗 @FeJS8888

@FeJS8888
Copy link
Author

FeJS8888 commented Jan 3, 2025

20250103_170503.webm

视频如上。

代码

#include<bits/stdc++.h>
#include<graphics.h>
using namespace std;

char s[1025];

int main(){
	initgraph(800,600);
	inputbox_getline("输入时长","以秒为单位",s,1024);
	return 0;
}

但是在Win11上无法复现出该bug

@FeJS8888
Copy link
Author

FeJS8888 commented Jan 3, 2025

此视频为Win10无法复现视频

20250103_171953.webm

@FeJS8888
Copy link
Author

FeJS8888 commented Jan 3, 2025

环境:
Windows7
EGE 24.04
TDM-GCC 4.9.2 64bits

@yixy-only yixy-only added need-test need further tests Unsolved and removed Processing labels Jan 9, 2025
@yixy-only
Copy link
Collaborator

Win7 64-bit 虚拟机, Dev-C++ 5.11 TDM-GCC 4.9.2, ege 24.04 无法复现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-test need further tests Unsolved
Projects
None yet
Development

No branches or pull requests

2 participants