摘要:
https://www.cnblogs.com/qiuhong10/p/7815943.html 上面这个写的很好,先保存,有需要再补充。 阅读全文
摘要:
使用VSCode c_cpp_properties.json添加Include Paths Ctrl+Shift+P可以调出控制窗口再输入edit或者configuration,选择"C/Cpp:Edit Configurations":然后就出来了。 1 { 2 "configurations": 阅读全文
摘要:
此处列举一下python调用Windows端动态库。 # *- coding=utf-8 -* import ctypes from ctypes import * import os objdll = ctypes.windll.LoadLibrary("xxx.dll") nRet = objd 阅读全文
摘要:
参考博客:https://blog.csdn.net/humanking7/article/details/80464000 尽管有pycharm和spyder这样的IDE可以编写python程序,但是它们都打开慢,耗资源,ulipad虽然也很小巧,但是觉得不如notepad++用着顺手,于是就想用 阅读全文
摘要:
最近需要使用统计一个目录下的所有文件,使用python比较方便,就整理了一下代码。 1 import os 2 3 def gci(filepath): 4 files = os.listdir(filepath) 5 for fi in files: 6 fi_d = os.path.join(f 阅读全文
摘要:
参考:https://www.hahack.com/codes/cmake/# 源文件一共有三个:main.cpp、MathFunctions.h、MathFunctions.cpp 文件内容分别如下: main.cpp 1 #include <stdio.h> 2 #include <stdlib 阅读全文
摘要:
官网教程:https://cmake.org/cmake-tutorial/ 第一个简单的例子 源文件:tutorial.cpp 1 // A simple program that computes the square root of a number 2 #include <stdio.h> 阅读全文
摘要:
之前虚拟机可以上网,最近上不去了,在网上找了好多办法,感觉都不合适。 然后使用下面这个办法解决问题了。 https://blog.csdn.net/elegance_zf/article/details/54728447 由于昨日刚升级宿主机的系统,猜想可能由于某些原因破坏了某些服务的依赖文件,如果 阅读全文