% sudo apt-get install libwxgtk3.0-dev libwxbase3.0-dev wx3.0-headers (check if one of them depends on the others to reduce this list) % g++ `wx-config --cxxflags --libs` hello.c @i c++lib.w @ @c #include <wx/wx.h> class MyApp: public wxApp { virtual bool OnInit(); }@+@t\hskip -.1cm@>; IMPLEMENT_APP(MyApp)@; bool MyApp::OnInit() { wxMessageBox( L"Это пример программы на библиотеке wxWidgets", L"О программе", wxOK | wxICON_INFORMATION ); return true; }
Sunday, October 23, 2016
wxwidgets example
Wednesday, October 5, 2016
wide character resources
1) Text from Amendment 1 to C90 (see first paragraph on page 191): http://www.open-std.org/jtc1/sc22/wg14/www/docs/C99RationaleV5.10.pdf 2) Brief description of Amendment 1 to C90: http://www.lysator.liu.se/c/na1.html 3) ISO C Amendment 1 (MSE - Multibyte Support Extensions): http://www.unix.org/version2/whatsnew/login_mse.html 3) Page with a lot of links, which includes link 1) above: http://www.cse.psu.edu/~deh25/cmpsc311/Lectures/Standards/CStandard.html 4) Links to C standard: http://stackoverflow.com/questions/81656/where-do-i-find-the-current-c-or-c-standard-documents http://stackoverflow.com/questions/17014835/where-can-i-find-the-c89-c90-standards-in-pdf-format ----------- Functions that convert between multibyte and wide characters (from C90): mblen mbtowc wctomb mbstowcs wcstombs
Subscribe to:
Posts (Atom)