MIT 6.S081 学习记录
摘要:
MIT 6.S081 学习记录 环境配置: MIT6.S081实验环境配置 - 陪你倒数's blog (zhouliqi.github.io) MIT 6S081 qemu-gdb debug调试新手指南!!!! - 知乎 (zhihu.com) 学习资料: MIT 6.S081 Lecture
git报错——鉴权失败
摘要:
git报错——鉴权失败 错误信息 fatal: 'https://github.com/owner_name/repo_name.git/' 鉴权失败 解决方案 鉴权失败的可能原因之一是访问token过期。 1、生成token 通过在github账号的setting -> Developer set
git报错——GnuTLS recv error (-110): The TLS connection was non-properly terminated
摘要:
git报错——GnuTLS recv error (-110): The TLS connection was non-properly terminated 解决方案 临时办法 # 取消代理即可恢复正常 git config --global --unset http.https://github
程序中的断言(ASSERT)
摘要:
程序中的断言(ASSERT) 概念 断言(assertion)是一种防御式除错机制,用于验证代码是否符合编码人员的预期。编码人员在开发期间应该对函数的参数、代码中间执行结果合理地使用断言机制,确保程序的缺陷尽量在测试阶段被发现。 通常来说,断言并不是正常程序所必需的,但对于程序调试来说,断言能够快速
Linux 下使用GCC/G++编译C++程序
摘要:
Linux 下使用GCC/G++编译C++程序 例程: /* hello.cpp */ #include <iostream> using namespace std; int main() { cout << "hello cpp"<<endl; return 0; } 使用GCC编译器 直接使用