c++ - Unresolved inclusion: <algorithm> eclipse Android -
why not in ndk algoritmh.h???? how can create std::sort???? of 1d array
/---------------------------------------------------------- solved 2nd question:: , 2. question:my other code started says error:) solved!
multiple markers @ line - phone call of overloaded 'log(int)' ambiguous - candidates are:
in code:
int m = (int) (log (524288) / log (2));
ok solved
std::log
has overloads take float
, double
or long double
parameters. compiler doesn't know function asking for.
try:
int m = (int) (log (524288.) / log (2.));
notice parameters log()
double
, not int
.
android c++ eclipse
No comments:
Post a Comment