...
Code Block |
---|
...
FILE * fptr = fopen(file_name, "w");
if (!fptr){
/* Handle Error */
}
...
|
Compliant Code Solution 2
...
Code Block |
---|
... FILE * fptr = fopen_s(file_name, "w"); if (!fptr) { /* Handle Error */ } } ... |
Code Block |
---|
References
...