It appears that the issue is a result of Powershell but do correct me if I am wrong. Standard CMD produces the exe file.
I am new to C - moving from MATLAB and Python - and am struggling with compiling the code in windows powershell.
I have written a basic code, based on an example:
#include <stdio.h>
int main(void)
{
printf("Hello, World!\n");
}
When i run this in windows powershell using
'gcc .\helloworld.c -o .\helloworld'
but this prints nothing and I am unsure why. I have also tried the IDEs like codelite and VisualStudio with no success.
Update
Based on the comments I have no executable file produced which appears to be the problem.
If anyone can help me that would be great!