Add Papers Marked0
Paper checked off!

Marked works

Viewed0

Viewed works

Shopping Cart0
Paper added to shopping cart!

Shopping Cart

Register Now

internet library
Atlants.lv library
FAQ
9,99 € Add to cart
Add to Wish List
Want cheaper?
ID number:615973
 
Author:
Evaluation:
Published: 21.02.2019.
Language: Latvian
Level: College/University
Literature: n/a
References: Not used
Time period viewed: 2016 - 2020 years
Extract

3. Jautājums
Ko dod tīru virtuālu funkciju (pure virtual function) lietošana un kā tās definē
Atbilde:
1) Tīru virtuālu funkciju (pure virtual function) bāzes klasē tikai deklarē.
2) Tīra virtuāla funkcija obligāti jāpārdefinē visās no bāzes klases atvasinātajās klasēs.
3) Tīras virtuālas funkcijas deklarācija: virtual tips vārds (parametri) = 0;
Piemēam: virtual double area();

4. Jautājums
Vai bāzes klases public funkcijas var izsaukt no atvasinātās klases funkcijām?
Atbilde:

Author's comment
Work pack:
GREAT DEAL buying in a pack your savings −9,20 €
Work pack Nr. 1370791
Load more similar papers

Atlants

Choose Authorization Method

Email & Password

Email & Password

Wrong e-mail adress or password!
Log In

Forgot your password?

Draugiem.pase
Facebook

Not registered yet?

Register and redeem free papers!

To receive free papers from Atlants.com it is necessary to register. It's quick and will only take a few seconds.

If you have already registered, simply to access the free content.

Cancel Register