NO

Author Topic: ***Process Returned -1***  (Read 2329 times)

bcarrizo2018

  • Guest
***Process Returned -1***
« 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)

Offline jj2007

  • Member
  • *
  • Posts: 536
Re: ***Process Returned -1***
« Reply #1 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