User forums > Help

compiled program doesn't work

(1/3) > >>

Trafficjunky:
Hey guys

I got a problem. I compiled programs with CB for about 3 years. Everthing worked fine and without troubles. Than I updated it to the last version and I can't run my compiled exe files anymore. Not even a simple "Hello World" works. If I run the program with CB it works but if i run the exe file it just pops up for some milisecounds and nothing more happens. What did I wrong ???

BlueHazzard:
code?

what about executing it from cmd/terminal?

Trafficjunky:
With cmd its the same.

Code is a simple Hello world exe.


--- Code: ---#include <stdio.h>

int main(void)
{
    printf("Hallo world");
    return 0;
}
--- End code ---

BlueHazzard:

--- Quote from: Trafficjunky on July 12, 2013, 07:29:34 pm ---With cmd its the same.

Code is a simple Hello world exe.


--- Code: ---#include <stdio.h>

int main(void)
{
    printf("Hallo world");
    return 0;
}
--- End code ---

--- End quote ---

what means the same? it prints Hello World and quits?

Trafficjunky:
I dont know if it does its to fast^^ how i wrote its just for a few milisecounds on the screen

Navigation

[0] Message Index

[#] Next page

Go to full version