Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // programa realizado por : sergio andres castro
- // objetivo del programa: realizar una suma de vectores
- // fecha: 3 de agosto del aƱo 2015
- // librerias
- #ifndef VECOTR_H
- #define VECOTR_H
- #include<stdlib.h>
- #include<iostream>
- class CVector{
- private :
- int tamanio;// este es un atributo , describe o hace parte de un objeto
- int *v;
- public: // interfaz
- void sumaVector(int*,int*);
- int get_tamanio();
- void set_tamanio(int);
- int * get_v();
- int get_v(int);
- void set_v(int);
- void set_v(int,int);
- public:
- CVector();
- ~CVector();
- };
- # endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement