int* A = (int*)malloc(sizeof(int)*s);
    A[0]=11; A[1]=22;
    printf("A = %d %d\n", A[0], A[1]);

 

 // the same reason:

  s_fm_solution_t** fm_sol;

  fm_sol[index] = camus_fm_solver(self, pmatrix); // because camus_fm_solver get the (s_fm_solution_t*) type;

 

// pointer, when just use(not alloc), dont need &, but pointer** is another thing

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-30
  • 2022-02-14
  • 2021-12-16
  • 2021-06-23
  • 2021-10-21
  • 2021-08-24
猜你喜欢
  • 2021-11-10
  • 2021-07-11
  • 2021-10-17
  • 2021-07-13
  • 2022-12-23
  • 2021-11-19
  • 2021-07-17
相关资源
相似解决方案