Created
June 11, 2015 17:57
-
-
Save calindotgabriel/361411eef7e0c45faada to your computer and use it in GitHub Desktop.
This file contains 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 PRODUCT_H | |
#define PRODUCT_H | |
#include <string> | |
class Product | |
{ | |
private: | |
int id; | |
std::string name; | |
long qty; | |
public: | |
Product(); | |
Product(int id, std::string name, long qty); | |
int getId(); | |
std::string getName(); | |
long getQty(); | |
}; | |
#endif // PRODUCT_H |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment