Can anyone please tell me how to create a simple window? If possible can you provide an example? Thank you.

Depends on the operating system. But here is a tutorial for MS-Windows.

There are easier ways to create GUI windows. One of them is C#, while another is using c++/CLR and VB.NET. c++ is not a good language for that purpose although it can be done quite successfully (and a whole lot of work on your part).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.