Thanks for the solution @Nobody/Anonymous.I included <windows.h> and the libraries error cleared, but my program now crashes when I compile and run it.Any idea how I could resolve that?