Jump to content

Error no member named SetcCreateTime in Citem


Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Contributor

To declare a method you just have to add its return type and name in the corresponding class body.

ex:

class CItem {

public: // access

void someMethod(); // your method's declaration

}

 

Defining it:

void CItem::someMethod()

{

// do work

}

 

Also, you should probably try using Google before asking about shit like this.

Edited by Amun
More details and a bit of hate <3
Link to comment
Share on other sites

3 hours ago, Amun said:

To declare a method you just have to add its return type and name in the corresponding class body.

ex:

class CItem {

public: // access

void someMethod(); // your method's declaration

}

 

Defining it:

void CItem::someMethod()

{

// do work

}

 

Also, you should probably try using Google before asking about shit like this.

I tried to do it myself and google it, if I wrote here there is a reason.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.