Information book
C
C++
C#
ASP.NET
MVC
JAVASCRIPT
C
Azure
Search This Blog
Sunday, 23 December 2012
Object using c++
#include<iostream.h>
#include<conio.h>
class person
{
public:
void show()
{
cout<<"this is class function"<<endl;
}
};
void main()
{
person p;
p.show();
}
getch();
}
Output:
this is class function
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment