echo.whoami
December 3rd, 2008, 01:05 AM
I'm about to explode](*,)
this is the code. What should i put into the $$$$. I know is char something but WHAT...
#include<iostream>
#include<string>
using namespace std;
class employee
{
private:
char name[20];
char id[5];
public:
employee($$$$$,$$$$$); //constructor
};
void main()
{
employee em1($$$$$$,$$$$$$); //constructor
.
.
.
}
employee::employee($$$$$$,$$$$$$$)
{
strcpy(name,$$$$$$);
strcpy(id,$$$$$$$);
}
i want just to use the overloaded constructor employee but how.
If you are really quit you'll be able to hear me (boom!!!)
this is the code. What should i put into the $$$$. I know is char something but WHAT...
#include<iostream>
#include<string>
using namespace std;
class employee
{
private:
char name[20];
char id[5];
public:
employee($$$$$,$$$$$); //constructor
};
void main()
{
employee em1($$$$$$,$$$$$$); //constructor
.
.
.
}
employee::employee($$$$$$,$$$$$$$)
{
strcpy(name,$$$$$$);
strcpy(id,$$$$$$$);
}
i want just to use the overloaded constructor employee but how.
If you are really quit you'll be able to hear me (boom!!!)