07-22-2011, 08:49 PM
floor conversion error in c++ 2011
Code:
#include <vector>
#include <cmath>
using namespace std;
typedef std::vector<double> Vec; //Vector
Vec floor( const Vec& y ){
unsigned n = y.size();
Vec bottom(n);
for( unsigned e=0; e<n; ++e ) bottom[e] = floor(y[e]);
return bottom;
}0300-9520262
Get solution in 24 hour |cpmputer & internet
mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
