how would you write the function to skeleton in a file

If you have a class declaration for class X in a file X.h that includes the line void fun_x(int y). how would you write the function to skeleton in a file X.cpp. you dont have to write the contents of the function.

what does skeleton mean here?

If you have a class declaration for class X in a file X.h that includes the line void fun_x(int y). how would you write the function to skeleton in a file X.cpp. you dont have to write the contents of the function.

what does skeleton mean here?


Hmm... not sure if I understood. See the following example and try to figure out what skeleton would be in it:

x.h:
1
2
3
4
5
6
7
#pragma once

class MyClass
{
public:
    void fun_x(int y);
};


x.cpp:
1
2
3
4
5
6
#include "x.h"

void MyClass::fun_x(int y)
{
    //Code for the function goes here.  Is this the skeleton???
}
Thanks webJose. Could not find any info about skeleton
Topic archived. No new replies allowed.