↧
Answer by unwind for Segmentation fault in c - probably connected with pointers
The code is rather unsafe. Some issues, not only about the safety but some of these certainly can cause your crash:Input arguments should be const pointers, for clarity.The return value of malloc() is...
View ArticleSegmentation fault in c - probably connected with pointers
When I add this function in my program, I get this error: "Segmentation fault". I have found that it is probably connected with pointers.This is my function:void deBoor(double* D, double* t, double x,...
View Article