Skip to content

CPP01 - Module 01 #28

Description

@TheLeBerton

Memory allocation, pointers to members, references and the switch statement.

Exercises

  1. BraiiiiiiinnnzzzZ - heap vs stack allocation ( Zombie )
  2. Moar brainz! - allocate an array of objects ( zombieHorde )
  3. HI THIS IS BRAIN - references vs pointers
  4. unnecessary violence - references/pointers as class members ( Weapon, HumanA, HumanB )
  5. Sed is for losers - find & replace a string in a file ( no C file functions )
  6. Harl 2.0 - pointers to member functions
  7. Harl filter - the switch statement

Metadata

Metadata

Assignees

Labels

MODULEA CPP module ( 0-9 )

Type

Fields

Priority

High

Projects

Status
Evaluating

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions