Relative Content

Tag Archive for cfilepointersdynamic-memory-allocationdouble-pointer

C programming C6385 Warning in Visual Studio

I’m trying to dynamic allocate a double pointer. I intend to call a function with parameter which are file name and a address of a pointer struct variable. And the function Opens a text file and dynamic allocate as a double pointer. Because I intend to return the double pointer struct variable so the pointer variable in main() can save the value which are read by file.