Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 5
Member Avatar for nosnibor

Ok is there any why i can call the base class this pointer or object from with in a derived class? Example: [CODE=cplusplus] class BASE { public: BASE () {} BASE(BASE & b){} virtual ~BASE () {} virtual void Method(){cout << "BASE::Method called"; return; } }; class DERIVED: public BASE …

Member Avatar for vicky_dev
0
1K
Member Avatar for nosnibor

[CODE=cplusplus] bool BODYTYPE::Seek(BODYTYPE * body) { string line; string key(body->style); size_t found = ' '; fstream file("..\\Data\\BODYTYPE.txt",ios::in); if (!file.is_open()) { cout << "Unable to open file \n"; return false; } file.clear(); file.seekg(0); for(;getline(file,line);) { if((found = line.find(key,0)) == 0 ) { file >> body->style >> body->doorCount; return true; } } …

Member Avatar for nosnibor
0
80