Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Class Storage-Object Oriented Programming-C Language Codes, Exercises of Object Oriented Programming

Objective of this cours is to develop effective computer programming skills in solving complex problems and to learn adequate and operational software organization in developing real life engineering solutions using powerful object oriented paradigm of the language. It includes: Include, Capacity, Timings, Data, Public, Return, Switch, Case, Break

Typology: Exercises

2011/2012

Uploaded on 07/31/2012

netu
netu 🇮🇳

4.5

(4)

55 documents

1 / 1

Toggle sidebar

Related documents


Partial preview of the text

Download Class Storage-Object Oriented Programming-C Language Codes and more Exercises Object Oriented Programming in PDF only on Docsity! #include<iostream> #include"capacity.h" #include"timings.h" #include"date.h" class rec_handler { capacity c; timings t; data dt; public: int& get_c() {return c.get_students();} int& get_dt(int a) { switch(a){ case 1: return dt.get_date();break; case 2: return dt.get_month();break; case 3: return dt.get_year();break; } } int& get_t(int a) { switch(a){ case 1: return t.g_rec(); break; case 2: return t.g1_rec(); break; } } }; docsity.com
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved