sector
asked on
_printf error with visual c 1.52
What causes this link problem ( _printf ) with Visual C 1.52 in this windows project & how can it be solved ?
#include <stdio.h>
#include <windows.h>
void main()
{
printf("This is just a test");
}
Linking...
TRY.OBJ(c:\project\vc-c1_d e.kit\vcc\ vcc\try.c) : error L2029: '_printf' : unresolved external
LINK returned error code 2.
4.EXE - 1 error(s), 0 warning(s)
#include <stdio.h>
#include <windows.h>
void main()
{
printf("This is just a test");
}
Linking...
TRY.OBJ(c:\project\vc-c1_d
LINK returned error code 2.
4.EXE - 1 error(s), 0 warning(s)
printf() needs a console to print to and Win16 does not support consoles. Compile your project as QiuckWin (or something similar).
ASKER
i can't compile my program as a quickWindow application
because it is a CGI .
what other alternatives do i have ???
because it is a CGI .
what other alternatives do i have ???
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
And the autograder hits again!