This module is about memory allocation, pointer to memebers, refereces and switch statement
Back to Repo README
Small program in which I implement simple class and used class methods
- run command
makeinside ex00 directory -> this will create executable calledBraiiiiiiinnnzzzZ - run executable like:
./BraiiiiiiinnnzzzZ
Same as ex00 with one more function
- run command
makeinside ex01 directory -> this will create executable calledMoar_brainz\! - run executable like:
./Moar_brainz\!
Learning about references and pointers
- run command
makeinside ex02 directory -> this will create executable calledbrain - run executable like:
./brain
Classs that use another class
- run command
makeinside ex03 directory -> this will create executable calledunnecessary_violence - run executable like:
./unnecessary_violence
Program that takes 3 parameteres: filename, s1, s2. It will open <filename> and copies it content in <filename>.replace where all s1 will be replaced by s2
- run command
makeinside ex03 directory -> this will create executable calledsed_is_for_losers - run executable like:
./sed_is_for_losers <filename> <oldString> <newString>.
switch case statements