Last active
December 14, 2015 01:59
-
-
Save josuenoel/5010117 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ITEM_H | |
#define ITEM_H | |
#include<string.h> | |
#include<string> | |
class Item{ | |
double precioVenta, precioCompra; | |
int cantidad; | |
string nombre; | |
public: | |
Item(string,double,double,int); | |
void setNombre(string nombre){ | |
this->nombre=nombre; | |
} | |
stri | |
void setCantidad(int cant){ | |
this->cantidad=cant; | |
}//fin de la funcion | |
void setPrecio_venta(double venta){ | |
this->precioVenta=venta; | |
}//fin de la funcion | |
//lol how do I c++? | |
}; | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment