Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Vector bullshit

Name: C++ is retahded 2008-03-30 21:27

#include <vector>

typedef struct
{
      int a;
} t_struct;


class t_Class
{
      vector <t_struct> v_Vector;
}


It tells me that ISO C++ forbids declaration of 'vector' with no type.  What the hell is the problem here?  I've tried all sorts of different shit but I can't make the fucking vector somehow.

Name: C++ is retahded 2008-03-31 0:09

[quote=9]Really, the OP should just use C and call it a day.[/quote]

You may be right.

Name: C++ is retahded 2008-03-31 0:20

Alright, now who do I have to kill for someone to tell me how to use the 1337 vector operations with the [b]struct[/b] 's members.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List