Hi,
Program works fine,but memory validator reports UNINITIALIZED READ on CProfiles profile;
Could you please help me with this?
Here is my code:
inside profiles.cpp
#include "profiles.h"
CProfiles profile; // Here it reports the problem
KeyProfile* keyProfile=&profile;
//-------------------------------------------------------------
int CProfiles::Init()
{
// other code
inside profiles.h
class CProfiles: public KeyProfile
{
public:
CProfiles();
~CProfiles();
int Init();
};
extern CProfiles profile;