1
typedef struct{
long At[tam], Si[tam], Sf[tam];
}TDados;
For this struct, wanted to understand how to order the struct by Sf using the function qsort. I wonder if someone could explain to me?
1
typedef struct{
long At[tam], Si[tam], Sf[tam];
}TDados;
For this struct, wanted to understand how to order the struct by Sf using the function qsort. I wonder if someone could explain to me?
Browser other questions tagged c c++
You are not signed in. Login or sign up in order to post.
It would need to establish criteria, which data would be considered to order. It wants to order the
Sfor use theSfHow to sort key? Where’s the rest of the code?– Maniero