Search:

Type: Posts; User: oogabooga

Search: Search took 0.03 seconds.

  1. Replies
    27
    Views
    4,168

    Okay, thanks. C++98 sounds familiar. BTW,...

    Okay, thanks. C++98 sounds familiar.

    BTW, you're going to have to help this guy. It's kind of the blind leading the blind at this point. :(
  2. Replies
    27
    Views
    4,168

    c++0x sounds like they were hoping it would come...

    c++0x sounds like they were hoping it would come out before 2010. :)
    What is the pre-c++11 version? I don't know what to call it.
  3. Replies
    27
    Views
    4,168

    Here's an old-style C++ version. // g++...

    Here's an old-style C++ version.


    // g++ -Wall lessthan.cpp

    #include <iostream>
    #include <vector>
    #include <algorithm>
    #include <cstring>
  4. Replies
    27
    Views
    4,168

    It's C++11, so with g++: g++ -std=c++11 -Wall...

    It's C++11, so with g++:
    g++ -std=c++11 -Wall lessthan.cpp
  5. Replies
    27
    Views
    4,168

    Here's a little example that works. If you still...

    Here's a little example that works.
    If you still have problems, you may have to post more code.


    // g++ -std=c++11 -Wall lessthan.cpp

    #include <iostream>
    #include <vector>
    #include...
  6. Replies
    27
    Views
    4,168

    I thought you were defining it outside of the...

    I thought you were defining it outside of the class. But if it's in the class then get rid of both "inline" and "fileData::". Members defined in the class are automatically inline and connected to...
  7. Replies
    27
    Views
    4,168

    The last one of your variations is essentially...

    The last one of your variations is essentially correct, but you're missing the fileData:: to attach it to the class!


    bool inline fileData::operator<(const fileData& f) const
    {
    return...
Results 1 to 7 of 7