Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22298

Running small C-Program tooks more then 2 minutes?

$
0
0

UPDATE I would like to mention additonaly that the long run is only when i start the a.exe for the first time - when i started it afterwards again it runs without delay

When i again do a compile - its the same long run as before


i compiled this small c-program with the gcc-compiler on windows and try to run it -

Code:

#include "cs50.h"
#include <stdio.h>

int main(void)
{
    int i = get_int("Integer: ");
    printf("hello world");
}

I compile the file with the following command without errors:

gcc temp.c cs50.c

But when i start the finished exe-file (a.exe) it tooks more then 2 minutes to run the program. After the 2 minutes the program does what it should do. But why this tooks so long?

Any hints for me?


Viewing all articles
Browse latest Browse all 22298

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>