Reading integers from a data fileOk 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 fileI 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 fileThanks again this is very much appreciated. I tried this out however I'm getting an error in the lin...
Reading integers from a data fileOk excellent, thank you for the help. This is my attempt so far, using the code you suggested. I hav...