Nothing_is_wrong
New Member
How to run a c coded .exe file as a app , like i have written down few c code run those .exe files in ubuntu 22.04 lts , ?
sudo apt install wine
wine start /unix /home/yourpath/WinExe/Poker/Poker.exe
WINEPREFIX=${HOME}/wine-test wine winecfg
if i write any code in linux in vs code , and i wanr to see the programme running without using vs code you can say as a normal application how to run it then?Just don't do it. as already explained an .exe is for WINDOZE. Please do not pollute your linux install with wine and other WINDOZE things... recompile the code for linux please. At least you know it will work right.
Well if you use VS Code, there's gotta be a plugin so you can just hit Ctrl +F5 (make sure it's for linux elf format). Elseif you can't find it, you need to make the output eXecutable and then run as you would a script:if i write any code in linux in vs code , and i wanr to see the programme running without using vs code you can say as a normal application how to run it then?
chmod +x myapp && ./myapp