Search
 
SCRIPT & CODE EXAMPLE
 

CPP

c++ solver online free

include<iostream>
class Date 
{
	public:
	int Month;
	int Day;
	int Year;
	void SetDate(int nDay,int nMonth,int nYear)
{
Day='nDAY';
Month= nMonth;
Year= nYear;
}
void ShowDate()
{
void ShowDate()
     cout<<"Day of Birth:"<<Day<<endl;
     cout<<"Month of birth:"<<Month<<endl;
     cout<<"Year of birth:"<<Year;
}
};
int main()
{
	 Date d1;//Object creation
	 d1.SetDate(21,07,2010);//call to SetDate function
     d1.ShowDate();//call to ShowDate function
     d1.ShowDate();//call to ShowDate function
getch();
return 0;

}
Comment

PREVIOUS NEXT
Code Example
Cpp :: C++ Initializing a thread with a class/object 
Cpp :: how-to-read-until-eof-from-cin-in-c++ 
Cpp :: c++ to c converter tool 
Cpp :: how to create windows warning message c++ 
Cpp :: c++ error missing terminating character 
Cpp :: point in polygon 
Cpp :: log base 10 c+_+ 
Cpp :: reverse the number codechef solution in c++ 
Cpp :: glUniform bool 
Cpp :: 0-1 knapsack problem implementation of code input array 
Cpp :: error when using base class members 
Cpp :: c to assembly mips converter 
Cpp :: c++ program for inflation rate of two numbers 
Cpp :: viewlist exaple win32 
Cpp :: check whether kth bit is 1 
Cpp :: sjfoajf;klsjflasdkfjk;lasjfjajkf;dslafjdjalkkkjakkkkkkkkkkkkkkkkfaWZdfbhjkkkk gauds 
Cpp :: c++ to c code converter online 
Cpp :: what is blob in computer vision 
Cpp :: primtiive calculator in c++ 
Cpp :: c++ bind what are placeholders 
Cpp :: easy way to encrypt a c++ file line by line 
Cpp :: how to move your chrector in unity 
Cpp :: c++ Unable to get CMake Tutorial example to compile 
Cpp :: second smallest element using single loop 
Cpp :: inside information subtask 2 
Cpp :: fabs in c++ example 
Cpp :: convert c to C language 
Cpp :: convert c++ to python online 
Cpp :: comment savoir si un nombre est premier c++ 
Cpp :: 123213 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =