Hmm, well I seemed to have solved my problem, which apparently was caused by manually including windows.h in an attempt to use PlaySound();

Thank you for your patience and help