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 8
Member Avatar for effective

[CODE]#include<iostream.h> #include<string.h> #include<conio.h> const int len=30; enum contract{permanent,temporary}; class Employee{ protected: char name[len]; long int ID; double salary; public: Employee() **} Employee(char n[len],long int id, double s)** strcpy(name,n); ID=id; salary=s;} void setEmp(char [len],long int id,double s) ** cout<<"\nName of Employee: "<<name; cout<<"\nID of Employee: "<<ID; cout<<"\nSalary of Employee: "<<salary; } …

Member Avatar for effective
0
67
Member Avatar for effective

[CODE]You are to design a class class called Employer data members: char name[] long int ID double salary , and two constructors _Default construtor Person () _Copy constructor Person ( char n[30],long int id,double s) _setPerson (char n[30],long int id,double s) that allows user to set information for each person …

Member Avatar for effective
0
141
Member Avatar for effective

You are to design a class class called Employer data members: char name[] long int ID double salary , and two constructors _Default construtor Person () _Copy constructor Person ( char n[30],long int id,double s) _setPerson (char n[30],long int id,double s) that allows user to set information for each person …

Member Avatar for ithelp
0
101
Member Avatar for arpeggio54

Hello, I am in school programming a game using SDL. It's a simple game where the player shoots at ships, which spawns randomly. For this I call random function rand() each time in the game loop, then using the modulus operator to determine wether a new enemy will spawn. The …

Member Avatar for Narue
0
86
Member Avatar for meabed

[I]<<snip>> [/I] Original article can be found here: [url]http://www.cs.cmu.edu/~gilpin/c++/performance.html[/url]

Member Avatar for Lisa1110
3
1K