por que no me genera el ejecutable ?¿

Iniciado por lupitapro, 14 Junio 2010, 23:03 PM

0 Miembros y 1 Visitante están viendo este tema.

lupitapro

codigo


#include <stdio.h>

int maint()
{
    printf("programa");
    int e = 2; int a = 5;
    int b = 3; int d = 4;
    int r = e + a + b + d;
    printf("resultado %i\n", r);
    getch();
    return 0;

}

uso el compilador de codeblocks

por que seme asi raro

tambien me dice /mingw/lib/libmingw32.a(main.o):main.c:(.text+0xd2): referencia a `WinMain@16' sin definir

\mingw\lib\libmingw32.a(main.o):main.c|| referencia a `WinMain@16' sin definir|
||=== Build finished: 1 errors, 0 warnings ===|

quiero programar!!!!!!!!! y no puedo ayuda

el aprender y estudiar no es otra cosa mas que "recordar" "platon"

Littlehorse

int maint()

#include <stdio.h>

int main()
{
    printf("programa\n");
    int e = 2,a=5,b=3,d=4;
    int r;
    r = e + a + b + d;
    printf("resultado %i\n", r);
    getchar();
    return 0;

}
An expert is a man who has made all the mistakes which can be made, in a very narrow field.