Check out example codes for "c++ too few arguments in function call". It will help you in understanding the concepts better.

Code Example 1

student1.setName();
	student1.setAge();
	student1.setID();
	student1.setGPA();

Learn ReactJs, React Native from akashmittal.com