putting classes in different files

i m just a newbie ,n learning c++ …why is this not working ???
https://www.thenewboston.com/videos.php?cat=16&video=17491
on codeblocks.

I tried 2 write the same code exactly the same but codeblocks doesn’t compile it y ??

Please add some SSCCE.

I didn’t get what u r saying what do u mean by SSCCE ? What do u want me 2 do ?

I didn’t get what u r saying what do u mean by SSCCE ? What do u want me 2 do ?

SSCCE --> Short, Self Contained, Correct (Compilable), Example.As told by @betlista. Just click on the link,i.e SSCCE :slight_smile:

Ok i get that ansh1star033 so what is the ans ? Why not Working ?