No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
#include<iostream> #include<string> using namespace std; int counterofanalog=0; int counterofdigital=0; int counterofsmartwatch=0; int num=0; //class for Genwatch class genWatch { private: int watch_id; string brand; int price; string colour; int date; public: genWatch() { watch_id=0; brand=""; price=0; } void adddata() { cout<<"Please Enter Watch ID:"; cin>>watch_id; cin.ignore(); cout<<"Please Enter Watch Brand:"<<endl; … | |
I really don't know what the problems occurs inside this coding. I do not have any idea what this error means. If anybody can help me I would be so grateful. #include<string> #include<iostream> #include<stdlib.h> using namespace std; int num=1; int counterforanalog=0; int counterfordigital=0; int counterforsmartwatch=0; class watch private: int watch_id; … |