摘要:
git status 显示如下(文件内容其实并没有改变): old mode 100644 new mode 100755 原因是: 使用chmod修改过文件权限后,filemode会有变化。 解决办法: 如果只想关心源码忽略这个改变,可以如下设置一下git: git config --add co 阅读全文
摘要:
#一、 C标准的一些问题 在ubuntu下rindex()函数使用没有问题,在minGW下会报错,undefined reference to `rindex',warning: implicit declaration of function 'rindex'。 经查找了解如下: strchr() 阅读全文