[C++ 소스] 의존(DEPENDENCY) 관계, 공장과 상품 //Product.h#pragma once#include #include using namespace std;class Product{ string name; int price; const int pnum;public: Product(string name,int price,int pnum); void View()const; }; //Product.cpp#include "Product.h" Product::Product(string name,int price,int pnum):pnum(pnum){ this->name = name; this->price = price;}void Product::View()const{ coutView(); Prod..