Pelles C forum

Pelles C => Bug reports => Topic started by: bcarrizo2018 on June 03, 2019, 06:59:03 AM

Title: ***Process Returned -1***
Post by: bcarrizo2018 on June 03, 2019, 06:59:03 AM
I'm new in Pelles C and trying to learn more about the C language, but when I try to execute any project (even the "hello world" project) it prints ***Process Returned -1***
I want to know if it's my computer or a DLL that's corrupted or missing, idk. I just downloaded the Pelles C in this PC.

#include <stdio.h>

int main(int argc, char *argv[])
{
    printf("Hello, world!\n");
    return 0;
}
(Just to let you know that there's nothing bad with the project itself)
Title: Re: ***Process Returned -1***
Post by: jj2007 on June 03, 2019, 06:27:54 PM
Your program returns 0. Compile and test:
Code: [Select]
C_HelloWorldCon.exe & if errorlevel 0 echo NULL