首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > SimpleWindow is a tiny headers-only C++ library that helps you to create and interact with a window

SimpleWindow is a tiny headers-only C++ library that helps you to create and interact with a window

资 源 简 介

What is it SimpleWindow is a tiny headers-only C++ library that helps you to create and interact with a Microsoft Windows window easily without writing lots of boilerplate code. You do not have to register a window class, create window procedure or dispatch messages. Your fully-working windows program may look as simple as that: ``` #include "SimpleWindow.h" int main() { SimpleWindow::Window window; window.Create("My Simple Window"); // This creates the window on screen while (window.Exists()) // Loop as long as window exists window.ProcessMessage(); // Process window messages periodically } ``` What is it for? If you remember old days of programming when you just wrote main() function, initialized BGI graphics and drawn some lines, this is as close as you can get to there. Ideal for quick prototyping and writing toy programs that require graphics (mandelbrot fract
VIP VIP
0.187281s