Posts by Akash Padhiyar

DFS :: MULTIPLE

#include<iostream.h> #include<conio.h> class sem1 { int s1,s2,t; public: calc1(); }; sem1::calc1() { cout<<“SEM 1 -\nenter the marks of sub1:”; cin>>s1; […]

Share

DFS :: MATRIX

#include<stdio.h> #include<conio.h> /* 1   2   3 4   5   6 7   8   9 */ void […]

Share

DFS :: HYBRID

#include<iostream.h> #include<conio.h> class empl { int ecode; public: emp(); }; empl::emp() { ecode=101; return ecode; } class salary :virtual public […]

Share

DFS :: FOVER

#include<iostream.h> #include<conio.h> class area { int t; public: fun(int l); fun(int l,int w,int b); fun(int l,int b ); }; area::fun(int […]

Share

DFS :: FLOADING

#include<iostream.h> #include<conio.h> class shape { int l,h,b,t; public: area(int); area(int,int); area(int,int,int); }; shape::area(int l) { t=l*l; cout<<“The Length:- “<<t<<endl; } […]

Share

FILE – TEXT

#include<iostream.h> #include<conio.h> #include<fstream.h> // _______ ofstream (write) // | //fstream ——————| // |______ ifstream (read) // main() { int no; […]

Share