mike55 Posted February 26, 2007 Posted February 26, 2007 Hi all I am trying to implement an example of the singleton pattern using the code at the following site: http://www.codeproject.com/cpp/singletonrvs.asp. I am getting the following error: error C2061: syntax error: identifier 'getInstance' The error is occuring in the main method when I try and call the method getInstance. Any suggestions on how to solve this problem? Mike55. Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
Leaders snarfblam Posted February 26, 2007 Leaders Posted February 26, 2007 The code you linked to is C++. Have you translated it? If so, could we see your translated code to try to identify the problem? Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.