Last active
August 29, 2015 14:02
-
-
Save mer30hamid/0207cd9bc087cfb01738 to your computer and use it in GitHub Desktop.
How easy to create a Hello World program with Nana?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <nana/gui/wvl.hpp> | |
#include <nana/gui/widgets/label.hpp> | |
int main() | |
{ | |
using namespace nana::gui; | |
form fm; | |
label lb(fm, fm.size()); | |
lb.caption(L"Hello, World"); | |
fm.show(); | |
exec(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment