Skip to content

Instantly share code, notes, and snippets.

@MasazI
Created May 20, 2015 10:57
Show Gist options
  • Save MasazI/6b1d856b527c0f34a5b4 to your computer and use it in GitHub Desktop.
Save MasazI/6b1d856b527c0f34a5b4 to your computer and use it in GitHub Desktop.
ArrayStream.cpp (子 - 配列実装)
//
// ArrayStream.cpp
// CplusplusPractice
//
// Created by masai on 2015/05/20.
// Copyright (c) 2015年 masai. All rights reserved.
//
#include <iostream>
#include "ArrayStream.hpp"
using namespace std;
ArrayStream::ArrayStream(const double* array){
m_array = array;
m_i = 0;
}
void ArrayStream::SetBase(){
m_n = m_array[m_i];
++m_i;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment