Errors with solution

Hello ive put imgui into my solution and included everything but I get errors.

here is a screenshot

This is not valid C/C++ code. Code statements needs to be inside a function scope. Please read about C/C++ and perhaps ask questions on a general programming forum.