I am trying to compile the following code but getting linker errors. Thank you for telling me what I am missing.
#include <Windows.h> #pragma comment(lib,"user32.dll") int main() { return MessageBoxA(0,"Message","Warn",0x01); }
fatal error LNK1104: cannot open file 'user32.dll'
user1620327
source share