|
-
April 1st, 1999, 02:11 PM
#3
Return a char
Hi here is my problem.
class VRLessonRecord
{
private:
char Nom[ 64]; Has to be char.
char PathLecon[ 64];
public:
CString GetPath();
CString GetName();
};
CString VRLessonRecord::GetName()
{
return Nom; //error how do I return a char pointer?
}
CString VRLessonRecord::GetPath()
{
return PathLecon;
}
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
|