-
Notifications
You must be signed in to change notification settings - Fork 68
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
[Feature] 建议增加WSL支持 #81
Labels
Milestone
Comments
wsl g++ .......大概是可以的不过可能有bug,我测的大部分结果在预期之内不过有一部分AC->RE |
附个配置图 //wslg++.cpp
#include<cstdio>
#include<iostream>
#include<cstring>
#include<algorithm>
using namespace std;
char sr[100050];
int main(int argc,char*argv[]){
int c=0;
sprintf(sr,"%s","wsl g++ ");
char*str=sr+strlen(sr);
for(int i=1;i<argc;i++){
memcpy(str+c,argv[i],strlen(argv[i]));
c+=strlen(argv[i]);
str[c++]=' ';
}
//cout<<sr<<endl;
system(sr);
return 0;
}
|
WSL 支持 GUI 了,可以直接打开 Linux 里的 lemonlime 了。 |
虽然是这样,但似乎要windows 11( |
WSLg 在 Windows 10 就可以用了 |
不过这个东西优先级不高(
|
但我遇到了和 #210 一样的问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
emm 帮机房某位提的问题
他希望能使用win下的Lemonlime,用WSL里的编译器编译源码,并且在WSL中运行程序
不太清楚直接用命令
wsl g++ .......
这样是否可行(我觉得他应该不会想去装GUI)The text was updated successfully, but these errors were encountered: