User profile: eagleman

User info
User name:eagleman
History
Joined:
Number of posts:33
Latest posts:

pass vector to function?
Thanks. What does adding the const do? Because the program runs, and it runs faster without it.

pass vector to function?
Does anyone know how to make that work? [code] #include <iostream> #include <vector> using nam...

Why does this take so long to execute?
Oh... does that make it so that each time only one number gets added to it instead of every single p...

Why does this take so long to execute?
[code]#include <iostream> #include <vector> using namespace std; int factors (int a){ int b ...

program crashes
Thanks. I don't know what I was thinking when I set that limit. And now I understand that because c ...