|
-
August 5th, 1999, 12:04 PM
#1
defining fuction
Could someone please tell me how to define this function. I got this error and don't have the code or knowledge on how to define this function.
class COurApp ublic CWinApp
{ public:
virtual BOOL InitInstance();
// error- InitInstance local class member function must be defined within the class
};
Thanks
-
August 5th, 1999, 02:39 PM
#2
Re: defining fuction
Hi Joe,
in your COurApp.cpp (or whatever the name of the file is) you need to define it.
BOOL COurApp::InitInstance()
{
// code here
}
Martin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|