First of all, I must congratulate you for the work. But you should know that I tried to take a look at the code and got lost at the second file. I mean that, as a learner, I miss some more comments...
Type: Posts; User: Steamer
First of all, I must congratulate you for the work. But you should know that I tried to take a look at the code and got lost at the second file. I mean that, as a learner, I miss some more comments...
I found my mistake. I don't know what the heck I was thinking about, but I used the variable mid to chek if the size was odd or even, which does not make any sense at all.
I declared a new...
Yes, I forgot to "translate" some names of variables from Spanish to English (my "find and replace" didn't work :confused: ).
I am not very good at C, I prefer C++, and I didn't know I had to...
I've just realized I made a mistake: line 4, wrote "daq" instead of "dac" (divide and conquer) ;)
... and line 34, enn instead of end
Hi!
I'm having a problem with a divide and conquer algorithm. The function dac must return an array in the reverse order. What the function does is splitting the array, and make two recursive...