- Code: Select all
void url(const char *__format, ...)
{
openUrl(__format);
}
![Smile :)](http://game-editor.com/forum/images/smilies/icon_smile.gif)
Thanks!
SuperSonic
void url(const char *__format, ...)
{
openUrl(__format);
}
#define url openUrl
url("url here");
url("www.%s.com", "game-editor");
void setWeb(char*webName, char*formatType)
{
sprintf(wName, webName);
sprintf(fType, formatType);
}
Hblade wrote:OH WAIT.. I see what you mean now!... nvm that is hard xD
void
url (char* first, char* second, char* third)
{
char buffer[30];
sprintf(buffer, "%s.%s.%s", first, second, third);
openUrl(buffer);
}
Aww, that's too badskydereign wrote:The thing is in gE we can't use argument lists. The ellipse operator is supported, but you can't use the varg functions.
Users browsing this forum: No registered users and 1 guest