![]() |
trouble with errors in extraneous files
Hi,
I am trying to implement a non_recursive version (bottom-up) of mergeSort. When I compile my code, however, my x-code brings up numerous errors that have to do with some files that I did not think I was messing with (stl_algo.h, and stl_algobase.h, and stl_iterator_base_types.h) -I will attach a picture of the list of errors. This is my code for the non_recursive mergeSort Code: c++
Code: c++
Does anyone see what the problem is here? Thanks a bunch in advance! |
Re: trouble with errors in extraneous files
I tried putting the #includes in the h file underneath the #define...but no luck. The first two errors are :
Line Location stl_algo.h:2991: error: no match for 'operator*' in '*__first1' Line Location stl_algo.h:2991: error: no match for 'operator*' in '*__first1' |
Re: trouble with errors in extraneous files
It's difficult to spot errors when you don't knw where to look.
Which line of your source code are the above errors associated with? |
Re: trouble with errors in extraneous files
Also if you say what compiler you're using and on what operating system then maybe those of use that have that setup available can try the code out.
|
| All times are GMT +5.5. The time now is 14:16. |