summaryrefslogtreecommitdiff
path: root/include/pascal.h
blob: fa006d52f06a6f6d7384e16bf1d3c22ac7d8d4ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef _PASCAL_H
#define _PASCAL_H

#include <cassert>
#include <cstdlib>
#include <iostream>

using namespace std;

class Pascal
{
  unsigned long num_row;
  unsigned long num_col;
  long*         tab;
  
public:
  
  Pascal();
  Pascal(const unsigned long, const unsigned long);
  ~Pascal();
  
  int  resize(const unsigned long, const unsigned long);
  long get_Pascal(const unsigned long, const unsigned long);
};

#endif