python const char_如何将const char *从python传递到C函数
I am using ctypes in Python to open a file for writing in C++.My C++ code:extern "C" {void openfile(const char *filename) {cout<FILE *fp = fopen(filename,"w");fprintf(fp,"writing into file");fclose...