this is my first experience with class objects. i created this class however i have some questions about why it works.
by pure luck i got the "GetName()" and "SetName()" functions to work by adding the pointer ref's - something i saw in a book - but i dont know what they (the pointers) do.
in the "Label()" function i can name objects but i dont think i am creating objects. how would i create multiple objects of this class from user input.
this is my first try with classes so any other suggestions would be appriciated.
using namespace std;
cout<<"Enter Beam Name: \n";
cout<<"Enter Beam Depth: ";
cout<<"The Beam Label: "<<GetName()<<", "<<depth<<"!\n";