-
Is there an existing issue for this?
Is this feature provided in the master branch?
The problem you are facing当我使用
当我在输入框中输入一些内容后,它并不会真的运行程序,输出文件中仍没有内容 测试代码: #include<cstdio>
using namespace std;
int main() {
freopen(".in","r",stdin);
freopen(".out","w",stdout);
int a,b;
scanf("%d%d",&a,&b);
printf("%d",a+b);
return 0;
} Describe the feature you'd like
Describe alternatives you've consideredNo response Are you willing to contribute to this?
Anything else?No response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
你应当不需要这个功能,“从文件加载成对的测试点”“从文件中加载”“保存到文件”等功能可以满足一般的需求。 可以使用 |
Beta Was this translation helpful? Give feedback.
-
只不过有个问题是把测例存下来可能会重复占用空间,保存 session 的时候也可能很大 🤔 |
Beta Was this translation helpful? Give feedback.
-
现在也是可以 freopen 的,但是相对路径是相对于可执行文件的,默认是临时文件,可以在设置里修改,也可以右键标签页查看位置;也可以用绝对路径。 |
Beta Was this translation helpful? Give feedback.
-
从文件加载testcase的时候,可以这样改进,没有必要把文件内容加载到界面,界面只用显示文件的路径就ok,点击路径可以弹窗查看文件 |
Beta Was this translation helpful? Give feedback.
现在也是可以 freopen 的,但是相对路径是相对于可执行文件的,默认是临时文件,可以在设置里修改,也可以右键标签页查看位置;也可以用绝对路径。