Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / dbPrint a String?

Author
Message
ReiKumar
16
Years of Service
User Offline
Joined: 23rd Sep 2008
Location:
Posted: 13th Nov 2008 19:54 Edited at: 13th Nov 2008 19:55
Quote: "1>c:usersreidocumentsvisual studio 2008projectswelcome screenwelcome screenstart.h(95) : error C2665: 'dbStr' : none of the 2 overloads could convert all the argument types
1> c:program files (x86)the game creatorsdark gdkincludedarksdktext.h(37): could be 'char *dbStr(float)'
1> c:program files (x86)the game creatorsdark gdkincludedarksdktext.h(38): or 'char *dbStr(int)'"


Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 13th Nov 2008 22:42
Check your other one - I did it for you. dbStr only takes int or float, not std::string. Instead, replace dbStr with (char *)introtext.c_str();

Login to post a reply

Server time is: 2024-09-30 11:38:58
Your offset time is: 2024-09-30 11:38:58