Jump to content

Recommended Posts

  • Premium

Hi !

I try to compile this code part and i get some errors. Some help ?

if (ch->GetParty())
	{
		#include "party.h"
		TMemberMap::iterator it;
		std::string listOfPlayers;
		
		for (it = m_memberMap.begin(); it != m_memberMap.end(); ++it)
			listOfPlayers += " - " + it->second->strName;
	}
cmd_general.cpp:2426: error: 'TMemberMap' has not been declared
cmd_general.cpp:2426: error: expected `;' before 'it'
cmd_general.cpp:2429: error: 'it' was not declared in this scope
cmd_general.cpp:2429: error: 'm_memberMap' was not declared in this scope

I have included "party.h".

Thank you !

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.