GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.
- Create new project Visual Studio-> New Project -> Other Project Types -> Setup Project -> Ok.
- Project -> Add -> Merge Module...
- Add Microsoft_VC90_DebugCRT_x86.msm & policy_9_0_Microsoft_VC90_DebugCRT_x86.msm.
- Select Release & Build -> Rebuild Solution.
- Package will be at %project_name%.msi
Add "bash.exe" to Total Commander's panel. Press right button on icon, then menu "Change..." (Изменить...). Fill field "Parameters", enter:
--login -i -c 'cd `cygpath $*`;bash' bash %P
OR
Place bat file where you want to open cygwin console and put down next script:
- Instal x86 version of Debian or Ubuntu.
- Download x86 SDK from this site: http://pbsdk.vlasovsoft.net/ (filename: pbsdk-linux-1.0.7_i386.deb).
- Install this package
- run 'ldconfig /usr/lib32' as root.
- Now you will be able to compile demos and run it in emulator:
- copy any example (e.g. calc) from /usr/local/pocketbook/sources to you working directory ("DIR");
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
C++ files: | |
*.h;*.hpp;*.hxx;*.c;*.cpp;*.cxx;*.c++;*.h++ |
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
// g++ test.cpp --std=c++11 -lpthread -O2 | |
//#ifdef WIN32 <- stdafx breaks this ifdef... | |
//#include "stdafx.h" | |
//#endif | |
#include <iostream> | |
#include <atomic> | |
#include <thread> | |
#include <vector> |