原创 python練習

#!/ust/bin/python # coding=utf-8 import time import math import string import calendar ''' a = 10 b = 20 if a or

原创 vimrc的配置

"""""""""""""""""""""""""" vim-plug 插件管理器 " PlugInstall 安裝插件 " PlugUpgrade 更新 vim-plug 自身 call plug#begin('~/.vim/b

原创 Linux下多線程調試以及查看信息

1.線程的查看 首先創建兩個線程 #include <stdio.h> #include <unistd.h> #include <pthread.h> #include <stdlib.h> #include <string.h

原创 模板不能分離編譯及相關問題

首先我們要知道程序跑起來的過程 預處理:test.c -> test.i(頭文件展開、宏替換、去掉註釋) 編譯:test.i -> test.s (語法檢查、生成彙編代碼) 彙編:test.s -> test.o (把彙編代碼轉