witam. mam problem z kompilacja serwera do Tibi. c++
wywala mi taki blad:
commands.cpp: In member function `bool Commands::showExpForLvl(Creature*, const
std::string&, const std::string&)\\':
commands.cpp:729: error: `_i64toa\\' undeclared (first use this function)
commands.cpp:729: error: (Each undeclared identifier is reported only once for
each function it appears in.)
commands.cpp: In member function `bool Commands::showManaForLvl(Creature*,
const std::string&, const std::string&)\\':
commands.cpp:744: error: `ltoa\\' undeclared (first use this function)
make: *** [commands.o] Błąd 1
w howto do kompilacji pisze:
you can use sprintf(buf, \\"%i\\", info) in the place of itoa or i64toa
ale nie wiem co z tym zrobic
![Sad :(](http://forum.linux.pl/Smileys/default/sad.gif)
bledne linie:
729: _i64toa(player->getExpForNextLevel(), buf, 10);
744: ltoa((long)player->getManaForNextMLevel(), buf, 10);
niewiem jak to zrobic, nie znam sie na c++. prosze o pomoc. pozdrawiam