Window in C++

Sid Kraft 96 Reputation points
2026-07-21T02:04:45.5666667+00:00

Running Visual Studio, C++ and the OpenGL commands. Want to open a window using the following:

int i=winio@('%sp%ww[no_border]%og[static]%lw',0,0,2000,2000,ctrl);

i=winio@('%sz',XWIDE,YWIDE)

XWIDE AND YWIDE DEFINE AS float, set to a numeric value.

Getting several errors, suspect because I do not have the correct #include header? Please advise, Sid Kraft

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Vu Chau 25 Reputation points
    2026-07-28T16:21:59.7133333+00:00

    winio@ is not part of C++, Visual Studio, or OpenGL. It belongs to the ClearWin+ library used with the Silverfrost FTN95 Fortran compiler. That’s why Visual Studio cannot find a header for it. To open a window in C++ for OpenGL, you’ll need to use a proper windowing library such as GLFW, FreeGLUT, or the Win32 API.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.