- 🌏 The official ISO C++ Get Started! page
- 🎥 Herb Sutter: (Not Your Father’s) C++
- 🎥 Beginning with C++ by Jens Weller
| ########################################################################## | |
| # | |
| # xmldiff | |
| # | |
| # Simple utility script to enable a diff of two XML files in a way | |
| # that ignores the order or attributes and elements. | |
| # | |
| # Dale Lane ([email protected]) | |
| # 6 Oct 2014 | |
| # |
| #!/usr/bin/python | |
| ''' | |
| This script finds missing string translations in Android applicaitons. | |
| Author: Kostya Vasilyev. License: Creative Commons Attribution. | |
| The output format is, I believe, more suitable to working with external | |
| translators than the output of Lint from the Android SDK. |
| NOTE: You only need to do these steps the first time you build. If you previously prepared your build environment, skip to Download RomManager. | |
| NOTE: | |
| 在准备开工之前,请务必确保硬盘工作空间不少于20G(最低不能低于15G),且不能是VFAT或NTFS格式。 | |
| Install the ADB | |
| Install the Android SDK. | |
| Install the Build Packages |
| // compare relative performance of tolower_ctype, tolower_openbsd, tolower_oraz functions | |
| // result: 30.80, 30.51, 38.09 | |
| // $ gcc -std=c99 -O3 -g -Wall -pedantic test_tolower.c -o test_tolower; | |
| // $ valgrind --tool=callgrind ./test_tolower 1000000 | |
| #include <assert.h> | |
| #include <ctype.h> | |
| #include <inttypes.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> |