If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
pin3
Posts: 108 Joined: Fri Oct 06, 2006 8:50 pm
Contact:
Post
by pin3 » Thu Feb 26, 2009 3:06 pm
How do I pass a stringc object to a function?
Code: Select all
void ParseText()
{
}
irr::core::stringc STc = irr::core::stringc(editbox->getText());
ParseText(STc);
Acki
Posts: 3496 Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:
Post
by Acki » Thu Feb 26, 2009 3:24 pm
how about learning a bit more of C/C++ !?!?!
Code: Select all
void ParseText(irr::core::stringc theString)
{
}
Sylence
Posts: 725 Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:
Post
by Sylence » Thu Feb 26, 2009 3:24 pm
Code: Select all
void ParseText( const stringc& str )
{
}
You should really learn at least the basics of c++ if you want to use a graphics engine like irrlicht.
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
arras
Posts: 1622 Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:
Post
by arras » Thu Feb 26, 2009 5:31 pm
You should really, really learn the basics of c++! But in meanwhile you can ask here if you don't understand something or have some problem. Others will generaly happily help you ...even if with some coments like this
(...as far as you keep polite tone and honor rules of course)