void median_qsort( int a[], int p, int q, int piv ) /*to sort the subarray */
{ /* a[p:q] of array A into ascending order */
int i, j;
if( p < q )
{
/*...
Type: Posts; User: Tubs
void median_qsort( int a[], int p, int q, int piv ) /*to sort the subarray */
{ /* a[p:q] of array A into ascending order */
int i, j;
if( p < q )
{
/*...
Thanks. printf. I fixed it.
New problem, this one is kinda crazy. The program reads correctly up to the value G, then letters start getting mixed up.
#include "bst_inter.h"
void bst_letter_fill ( tree_t *T )
{
...
Thanks for pointing out the semi-colon, it loads now :)
#include "bst_inter.h"
void bst_letter_fill ( tree_t *T )
{
FILE *in;
char read;
bst_item data;
int check;
in = fopen("fill.txt", "r");