Search:

Type: Posts; User: TeenWolf

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    1,203

    Three important words: BINARY...SEARCH...TREE.

    Three important words:
    BINARY...SEARCH...TREE.
  2. I was hoping to reduce this problem,...

    I was hoping to reduce this problem, traditionally solved in your manner, to a neat and sophisticated algorithm like generate or for_each, preferrably generate because it makes the most sense.
  3. Reading a file, storing words in a vector using C++ algorithms?

    Is it possible to store the contents of a file in a vector of strings, with the delimiter being whitespace...using C++ algorithms and function objects?
    Oh yeah, and the vector's size cannot be...
  4. But how do I "grab at" this implicit iterator...

    But how do I "grab at" this implicit iterator that has no name? I can't just say myIter->length() or strlen(*myIter) because there is no myIter.

    I researched the mem_fun family but I'm still...
  5. How to pass member functions into a function object...

    C++ has many algorithms in the form:

    algo_if ( iterator, iterator, unary_function_object );

    Take, for example:

    algo_if (myContainer.begin(), myContainer.end(), bind1st (equal_to<size_t> (),...
Results 1 to 5 of 5