Makes sense. But this was from a tutorial where the lecturer adds them ib BP and later on in the course uses a cpp version. This the code I used to get the reference. What you say is the best approach! Thanks.
Can I add the cpp code even after I have added the components in cpp, so that I can have easy references in cpp?