src/fibo.cpp
std::vector<int> Fibo::get() const
{
  std::vector<int> res;
  int a = 0;
  int b = 1;
  while (a < _n)
  {
    res.push_back(a);
    int aa = a;
    a = b;
    b = aa+b;
  }
  return res;
}
/**
 * Return the Fibonacci serie as a vector of integer
 *
 * @return Fibonacci integer vector serie
 */
Return the Fibonacci serie as a vector of integer
@return Fibonacci integer vector serie
Return the Fibonacci serie as a vector of integer @return Fibonacci integer vector serie
std::vector<int> Fibo::get() const
{
  std::vector<int> res;
  int a = 0;
  int b = 1;
  while (a < _n)
  {
    res.push_back(a);
    int aa = a;
    a = b;
    b = aa+b;
  }
  return res;
}
std :: vector < int > Fibo :: get ( ) const { std :: vector < int > res ; int a = 0 ; int b = 1 ; while ( a < _n ) { res . push_back ( a ) ; int aa = a ; a = b ; b = aa + b ; } return res ; }
Return the Fibonacci serie as a vector of integer
 @return Fibonacci integer vector serie
Return the Fibonacci serie as a vector of integer @return Fibonacci integer vector serie