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
~514 People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums
Favorite Tags
c++ x 4

3 Posted Topics

Member Avatar for hocuz pocuz

[CODE]#include<iostream> #include<fstream> using namespace std; class Game { private: int a; public: };class Game Game game; // the game object //int main() { ofstream out("game", ios::out | ios::binary | ios::app); out.write((char *)&game, sizeof(Game)); out.close(); }[/CODE]

Member Avatar for Ancient Dragon
0
268
Member Avatar for WondererAbu
Member Avatar for Cybulski
0
162
Member Avatar for WondererAbu

#include <iostream> #include <fstream> #include "Teacher.h" using namespace std;// syntax error : missing ';' before 'PCH creation point' teacher::teacher(int tid,int cid,char *teachname) { this->tid=tid; this->cid=cid; strcpy(this->teachname,teachname); } void teacher::setTeacherId(int tid){this->tid=tid;} int teacher::getTeacherId(){return tid;} void teacher::setCourseId(int cid){this->cid=cid;} int teacher::getCourseId(){return cid;} void teacher::setTeacherName(char *teachname){strcpy(this->teachname,teachname);} void teacher::getTeacherName(char *teachname){strcpy(teachname,this->teachname);}

Member Avatar for Nick Evan
0
84

The End.