Simple database: Difference between revisions

→‎{{header|C}}: lines transposed during send. corrected.
(→‎{{header|C}}: Solve in C)
(→‎{{header|C}}: lines transposed during send. corrected.)
Line 189:
in_db=in_db->next;
}
qsort (pdb,i,sizeof in_db,(compfn)sortby);
pdb[i-=1]->next=NULL;
qsort (pdb,i,sizeof in_db,(compfn)sortby);
for (;i;i--) {
pdb[i-1]->next=pdb[i];
Anonymous user