User profile: j3lps

User info
User name:j3lps
Location:St Andrews, Scotland
History
Joined:
Number of posts:11
Latest posts:

Vector push back slows program...
So I was actually wrong about this - it wasn't actually appending vectors that slowed the program do...

Vector push back slows program...
I do know the size at the start - but I used reserve( ) to reserve the size - is resize better?

Vector push back slows program...
Hi all, I'm fairly new to programming and I'm writing a program which has around 6 variables that...

Initialising 2D vectors
Well I've found a way of doing it: [code]int height = 4; for (int i=0;i<height;i++) { std::vec...

Initialising 2D vectors
OK... but for some reason I still can't get this to work... If I'm doing something really stupid (wh...