No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Well, Hello Again! I'm now using pure C++, too hard But well. I just love how you can manage everything Windows have, is like owning Windows. But well, i have some issues: [CODE] extern "C" __declspec(dllexport) char *getValue(char *valueName) { HKEY hKey = HKEY_LOCAL_MACHINE; LPCSTR lpSubKey = "SOFTWARE\\Dantom\\BYOND"; PHKEY phkResult; … |
|
Well, i'm working on a text Editor. I'm still a little nooby with C++. I'm trying to create a Goto Line Command. Would someone give me an example of how to do it? Thanks :P |
|
[CODE="CPP"] int BattleSituation::getHPData(int player, int slot) { PokeBattle &p = this->poke(player,slot); return p.lifePoints(); } int callGetDataHP(const BattleSituation&situation, int id, int pokeslot) { return situation.getHPData(id, pokeslot); } QScriptValue ScriptEngine::getBattleData(int id, int pokeslot) { if(!loggedIn(id) || pokeslot < 1 || pokeslot > 6) { return myengine.undefinedValue(); }else{ return callGetDataHP(getHPData, id, pokeslot); } … |