first commit
This commit is contained in:
26
Lab2/contract.h
Normal file
26
Lab2/contract.h
Normal file
@@ -0,0 +1,26 @@
|
||||
//##################################################################
|
||||
|
||||
// LAB 2
|
||||
// ADVANCED PROGRAMMING IN C++
|
||||
// MATRIX/ARRAY WITH SHALLOW COPY
|
||||
//==================================================================
|
||||
// contract.h
|
||||
// CLASS IMPLEMENTATION AND DEFINITION FOR
|
||||
// THE CONTRACT
|
||||
// Christian Ohlsson
|
||||
// Daniel Alfredsson
|
||||
// Karlstad 990907
|
||||
//==================================================================
|
||||
class Contract {
|
||||
|
||||
public:
|
||||
|
||||
int *buffer;
|
||||
|
||||
int size;
|
||||
|
||||
int owners;
|
||||
|
||||
Contract() {
|
||||
|
||||
size=0;
|
||||
Reference in New Issue
Block a user