Search:

Type: Posts; User: black_blizzard

Search: Search took 0.00 seconds.

  1. I know, I know, I'm not actually going to print...

    I know, I know, I'm not actually going to print anything in the final program, I was just checking on the values of my variables. I like cout way better than printf myself but it's been so long since...
  2. Ok, don't mind me. I'm stupid. *sigh*. In case...

    Ok, don't mind me. I'm stupid. *sigh*. In case anyone's wondering, the problem was that I resized a_vector and then added elements at the back. In my defense I must say that it's been a looong...
  3. push_back with pointers on STL vectors

    I'm going crazy here, I'd really appreciate some help. I have the following piece of code:


    vector<Type*> a_vector;

    for (int i=0; i<n; i++) {
    Type* ptr = new Type(this);...
Results 1 to 3 of 3