+ 1
Why it does not work un Linux I can not use get un Linux
I use xubuntu https://code.sololearn.com/cBQhSFdltf5E/?ref=app
7 Answers
+ 2
That's the problem.
Even if you're using windows, don't name the output with extension. Instead use the command like:
gcc file.c -o file
And then run it in the console using:
On linux:
./file
On cmd:
file.exe
On powershell:
.\file
+ 2
Does the compiler give you any error code
+ 1
Did you compile that on the linux machine?
+ 1
Yes I used thin on terminal
Gcc ask.c -o ask.exe
+ 1
I tried that and it does not work
+ 1
Thanks I worked I AM learning but it is done difficult I want to keep on writing code thanks for all of tour help here where I live ni body wants to help