Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "noued.h"
- using namespace std;
- Noued::Noued(char c){
- symbole=c;
- filsGauche=NULL;
- filsDroit=NULL;
- }
- void Noued::setSymbole(char c){
- symbole=c;
- }
- char Noued::getSymbole(){
- return symbole;
- }
- Noued *Noued::getFilsDroit() {
- return filsDroit;
- }
- Noued *Noued::getFilsGauche(){
- return filsGauche;
- }
- Noued &Noued::setFilsDroit(Noued *n){
- filsDroit=n;
- return(*this);
- }
- Noued &Noued::setFilsGauche(Noued *n){
- filsGauche=n;
- return(*this);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement