C++ is a computer basic language . In c++ language , the basic syntax is given below.
# include<iostream>
using namespace std;
int main(
{
cout<<"Hello world ";
return 0;
}
fiverr development in the c++.
# include<iostream>
using namespace std;
class fiverr{
private:
int age;
public:
};
class account:public fiverr{
private:
string user_name,name,pass;
string e_mail;
string password;
string first_name;
string second_name;
string qualification,phone_no;
string skill[5];
public:
void registation(){
cout<<"Enter username and password for registation:"<<endl;
cout<<"Username / E mail :"<<endl;
cin>>user_name;
cout<<"Password:"<<endl;
cin>>password;
cout<<"Your registation is successfully:"<<endl;
}
void login()
{
cout<<"Enter the username and password for login:"<<endl;
cout<<"Enter the username:"<<endl;
cin>>name;
cout<<"Enter the password:"<<endl;
cin>>pass;
if(name==user_name)
{
if(pass==password)
{
cout<<"your account login successfully: "<<endl;
}
}
}
void profile()
{
cout<<"Fill you profile:"<<endl;
cout<<"Enter your first name:"<<endl;
cin>>first_name;
cout<<"Enter the second name :"<<endl;
cin>>second_name;
cout<<"Enter the phone number :"<<endl;
cin>>phone_no;
}
void set_qualification()
{
cout<<"Enter the qualification:"<<endl;
cin>>qualification;
cout<<"Enter the minmum five skills:"<<endl;
for(int i=0;i<5;i++)
{
cin>>skill[i];
}
}
virtual void getter();
virtual void display();
};
class Dashboard:public account{
public:
int n;
void getvalue()
{
cout<<"Enter 1 to show dashboard information: "<<endl;
cout<<"Enter 2 to show personal infomation: "<<endl;
cin>>n;
if(n==1)
{
// void getter()
// {
// cout<<"First name :"<<first_name;
//
// }
}
else
{
// void display()
// {
//
// }
}
}
};
int main()
{