3.BCA SEM 3
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; […]
DFS :: HYBRID
#include<iostream.h> #include<conio.h> class empl { int ecode; public: emp(); }; empl::emp() { ecode=101; return ecode; } class salary :virtual public […]
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 […]
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; } […]
FILE – TEXT
#include<iostream.h> #include<conio.h> #include<fstream.h> // _______ ofstream (write) // | //fstream ——————| // |______ ifstream (read) // main() { int no; […]