blob: 6696a8ca1aaac81060399890fb47b4882fd48254 (
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
28
29
30
|
// file: pascal.h
// update: 12/07/02
#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
|