2018年7月19日

摘要: 启动时候提示 Failed to load session ubuntu 通过 CTRL + ALT + [F1~F6] 进入终端界面登陆进系统, 进去之后执行 sudo apt-get install ubuntu-desktop sudo reboot 重启之后登陆正常。 阅读全文
posted @ 2018-07-19 23:04 rivsidn 阅读(221) 评论(0) 推荐(0)
摘要: #error 编译到此处时,会保存,导致中断编译 $ gcc test.c test.c:5:2: error: #error can not come here #error can not come here 参考文档: https://github.com/kokke/tiny-AES-c 阅读全文
posted @ 2018-07-19 17:54 rivsidn 阅读(103) 评论(0) 推荐(0)
摘要: 下面提供一个比较完整的示例程序,一共有四个文件:main.cpp、test.c、test.h、test.hpp main.cpp test.hpp test.c test.h 上边所示程序不能直接用 g++ 编译,因为 g++ 在编译 test.c 时候函数 fun 由于没加 extern ”C“ 阅读全文
posted @ 2018-07-19 10:24 rivsidn 阅读(597) 评论(0) 推荐(0)
摘要: 或者是 阅读全文
posted @ 2018-07-19 09:14 rivsidn 阅读(359) 评论(0) 推荐(0)

导航