Hey, this is my first post and im learning how to program in c++
As i advance in the begginer lessons, 2 questions have been wondering inside my head:
1. How do you use pointers to change, from function A, the value of a variable from another function B? (Or, how do you do it at all :P)
2. How can u return structures from functions? IE:
Being database a predefined struct?Code:database fn();
What are the practical uses for this?