Hello. I have this next code:
#include <windows.h>
void _start(void)
{
COORD coord;
HANDLE hOut;
coord.X = 0;
coord.Y = 0;
hOut = GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleCursorPosition(hOut, coord);
exit(0);
}
with calling to SetConsoleCursorPosition a import for memcpy of msvcrt.dll is created, without SetConsoleCursorPosition the memcpy import is not there.
Why memcpy is imported if I not use it in the code?
Carlos