/** * CI-0118 * Grupo 3 (Fco. Arroyo) * * Ejemplo de una clase con interacción de métodos en ensamblador * (ver la implantación Vector.cc) * **/ class Vector { public: Vector( int = 10 ); // Create the vector, it uses malloc Vector( int, long ); // Create the vector, uses initial value ~Vector(); // Destroy the vector, free void allSet( long ); // Set the entire vector to specific value void set( int, long ); // Set a position with specific value long get( int ); // Get a specific position void print(); // Print the vector to stdout private: int size; // vector size long * vector; // vector address };