摘要:
build a lib with command line : g++ -fPIC -shared test1.cpp -o libtt.so to build an executable with command line: g++ test-main.cpp -L./ -ltt Notice: 阅读全文
摘要:
it's a syntatical sugar: equal to: so the return type of function1 must be a callable: Aspect-oriented programing 阅读全文
摘要:
pointer: address, use operator(*) to get/set the value 1) support operator(+,-), move to next positon accroding to the element type it points to 2) on 阅读全文
摘要:
Unicode, Code Point is the value of evry character in Unicode table(int,long,ll) Unicode defines a codespace of 1,114,112 code points in the range 0he 阅读全文
摘要:
if not, it will lead to an endless loop!!! 1 # include<iostream> 2 using namespace std; 3 class A 4 { 5 public: 6 int var; 7 8 A():var(0){} 9 10 A(A & 阅读全文
摘要:
Python/C API Reference Manual¶ https://docs.python.org/3/c-api/index.html Extending and Embedding the Python Interpreter¶ https://docs.python.org/3/ex 阅读全文
摘要:
import module; help(module.function) import module; help(module.class) 阅读全文
摘要:
git remote: show all remote repositories git push -u <X1> <>: set x1 as the default reposi, we can just use git push next time git remote add <> and t 阅读全文
摘要:
http://eli.thegreenplace.net/2012/01/30/the-bytesstr-dichotomy-in-python-3/ 阅读全文