From 6f594a66765ef1a75d44808f96d02f5aad0e86e7 Mon Sep 17 00:00:00 2001 From: NishanthMolleti <48158364+NishanthMolleti@users.noreply.github.com> Date: Wed, 9 Oct 2019 14:58:23 +0530 Subject: [PATCH] updated main function --- main.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 1b999d6..3061c2b 100644 --- a/main.cpp +++ b/main.cpp @@ -2,9 +2,17 @@ #include using namespace std; - +class Demo +{ + public: + void fun() + { + cout<<"Class has been implemented"; + } +}; int main() { - + Demo o; + o.fun; }