Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 6 months ago.
Improve this question
I have a simple hello world program compiled by Mingw-w64. It works ok in cmd, but in powershell it just freeze and I get no output after running it.
#include <stdio.h>
int main(){
printf("Hello world\n");
}
I tried to copy the exe file to another computer. The powershell in the second computer can run the file, so it seems to be a local powershell setting problem. Anyone know what could cause the problem?
Follow up: I installed newer powershell 7 then it works. Still don't understand why the native powershell (version 5.1.19041.1320) doesn't work.
You wrote the slash incorrectly.
You wrote:
.\hi.exe
but you should have written:
./hi.exe
Related
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 10 months ago.
Improve this question
I'm writing first program in C Language but I'm unable to compile it. Please help me!
You need to save the file. Press CTRL + S. You can also see you haven't saved it at the blue "1" on the left side of your VS Code sidebar. If you don't save it, you're just trying to compile an empty file.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I know there have been similar questions but none of them seem to solve my problem. After successfully compiling my code, I got an "Access is denied." message from my command prompt after trying to run it (picture below).
The code I'm trying to run in a file named dummyC.c is:
#include <stdio.h>
int main (void) {
printf("Hello");
}
For context, I'm using Windows 10 64-bit. The GCC version (GCC -v) is MinGW 9.2.0, also in the attached picture. Is there any way I could solve this?
EDIT: The problem was my Avast antivirus flagging the output file a.exe as a Trojan or a virus. The problem was solved after I temporarily disabled all Avast shields.
I believe that your project is not in the correct place for the compiler to execute it, if it is on the desktop try to transfer it to a folder created in c:
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I have downloaded a .nsi file and now I have to launch this to get my missing Windows registry keys installed. I tried different things to open it but so far everything didnt work. Can anyone please tell me how to run this kind of files?
A .nsi file is an input to the process that creates an executable. You need the Nullsoft Scriptable Install System compiler: https://nsis.sourceforge.io/Download
More info: https://nsis.sourceforge.io/Simple_tutorials
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 4 years ago.
Improve this question
I love editing files in Windows or Android i goes to the system and choose a random DLL file or ini or dat and edit it to see his codes but don't make changes, anyways i love doing this but when i edit a dat file in Android or DLL in windows i find a weird cryptic icons and language.
its looks like this:
https://imgur.com/a/Pmg8oK7
So my question is why is this things there i mean they can just use scripts with normal understandable language i hope someone explain me this because i'm curious, and thanks!
Because DLLs are compiled. You're looking at binary data (machine code instructions, plus various bits of data) with a text editor. While some programs are distributed as source code (bash scripts, JavaScript/HTML/CSS Windows Universal Apps, several others), many others (probably "most" on Windows) are distributed as compiled machine code.
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 6 years ago.
Improve this question
while trying to run a script, the execution stops at random points and there is no error on Console as well. In other words, the script hangs neither proceeding as per the steps nor gives any error on the console. Any idea where I could be going wrong?
I have tried reinstalling JRE, Selenium server (different versions even).
I am using Selenium v2.47.1 with Firefox v38.2.1
I found out that the group policies of my organization had put restrictions on the browser which caused this issue