Before I yet again share with the world my ignorance, let me say that I've found this site and message board to be quite informative and extremely helpful. All lauds and acclaim aside, let me once again lech off of the more intelligent.
I want to declare a private member function. Do I define it within the private member class? Here's what I'm thinking...
Code:
class Some_Class
{
private:
long var_one;
double var_two;
char var_three[15];
etc;
float prive_function()
{
//function definition goes here....
}
//then public and so on
How far off base am I? I intend to use a 'get' public function to access it, but the private function's purpose is to concatenate two strings (such as a first name and a last name). I know how to do all this (define the function), just not WHERE to put it. Perhaps I could be pointed in the proper direction to find how to go about doing this the proper way? I'm having a difficult time finding how to define it privately.
Thank you