Search:

Type: Posts; User: tommy

Search: Search took 0.01 seconds.

  1. Thread: Infinite Arrays?

    by tommy
    Replies
    5
    Views
    1,724

    Well, by this, I mean like having multiple...

    Well, by this, I mean like having multiple structs. You know, like:


    struct blah_struct[] {
    int blah_var;
    } blah[10]

    How would I have a vector replace the blah[10]?
  2. Thread: Infinite Arrays?

    by tommy
    Replies
    5
    Views
    1,724

    Thanks! Question: Is there any way to use...

    Thanks!

    Question: Is there any way to use those with structs? Like vector<struct> or something?
  3. Thread: Infinite Arrays?

    by tommy
    Replies
    5
    Views
    1,724

    Infinite Arrays?

    How can I make an infinite-size array? I saw something about vector<type> but I'm a bit confused on how to use them... help?
  4. Replies
    3
    Views
    940

    Supernoob problem!

    Okay, so I'm using g++ and am getting an error that cout is not defined even when I include iostream:


    #include <iostream>

    int main() {
    cout << "This should show up!" << endl;
    return 0;
    }
Results 1 to 4 of 4