From 96d48b8413866028f5d284ee55b763ceab7aeb1f Mon Sep 17 00:00:00 2001 From: Jinhao Date: Thu, 16 May 2024 14:43:26 +0800 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 4bc126cb..324ea643 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,25 @@ Jinhao, [Ariel Viña Rodríguez]. The best way to get help with Nana library is by visiting https://nana.acemind.cn/documentation +## Examples + +Here are some examples to give you an idea how to use the Nana C++ Library. + +### Create a window + +The `form` class provides methods to manipulating a window. +```C++ +#include + +int main() +{ + nana::form fm; + fm.show(); + nana::exec(); +} +``` + + ## Sending a Pull Request ? This project encourage you to contribute through sending a pull request! There is a simple rule: please **don't** directly commit your contributions to the **master** branch. According to your commits, please choose the **hotfixes** branch or the **develop** branch. Thank you!