摘要:
让指针指向一个常量对象,这样可以防止使用指针来修改所指向的量 将int对象a,转为常量对象,有指针c指向 #include<iostream> using namespace std; int main() { int a = 3; const int* c = &a; cout << *c << 阅读全文
摘要:
安装pydot,pip install pydot 出现OSError: pydot failed to call GraphViz.Please install GraphViz (https://www.graphviz.org/) and ensure that its executables 阅读全文