Search:

Type: Posts; User: Doodle77

Search: Search took 0.00 seconds.

  1. Thread: 64kb

    by Doodle77
    Replies
    56
    Views
    13,314

    Compile the C code as C++, and you get exactly...

    Compile the C code as C++, and you get exactly the same result.
  2. Thread: 64kb

    by Doodle77
    Replies
    56
    Views
    13,314

    I'm not trying to say that I could magically...

    I'm not trying to say that I could magically implement everything in STL in less space, I'm just saying that the mere use a string or vector in your c++ program adds 52kb of STL code.
  3. Thread: 64kb

    by Doodle77
    Replies
    56
    Views
    13,314

    #include #include int...

    #include <vector>
    #include <string>

    int main() {
    std::vector<int> v(10);
    for (int i=0;i<10;i++) {
    v[i] = i*(i+i^3);
    }
    reverse(v.begin(), v.end());
    std::string q = "omgomgom";
  4. Thread: 64kb

    by Doodle77
    Replies
    56
    Views
    13,314

    He means this: #include int...

    He means this:

    #include <iostream>

    int main() {
    std::cout << "STL adds bloat. Lots of it.";
    return 0;
    }
    8109
    gcc version 3.4.2 (mingw-special)
Results 1 to 4 of 4