User profile: bailey

User info
User name:bailey
History
Joined:
Number of posts:24
Latest posts:

Reading integers from a data file
Ok I've edited in the changes. I realised that I needed to use log(vect[i+1]/vect[i]) and the power ...

Reading integers from a data file
[code]using namespace std; int sum(vector <int> vect){ int s=0; for(int i=0;i<vect.size();i++) s+=v...

Reading integers from a data file
I need to do the exact same thing with the 2nd column but I'll just use a separate function for this...

Reading integers from a data file
Thanks again this is very much appreciated. I tried this out however I'm getting an error in the lin...

Reading integers from a data file
Ok excellent, thank you for the help. This is my attempt so far, using the code you suggested. I hav...