input variable

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.
Post Reply
guest

input variable

Post by guest »

how do we get a user input in irrlicht and assign it to a pointer.is there any input gui like textbox?Or we have to use std c++ functions?Please help.
guest

Post by guest »

Was trying to declare a global s32 variable pointer and assign it to SColor
as one of the color value
SColor(10,100,&mypointer,255);
The compiler says cannot convert from const int to int *. How to do this?Please somebody help.
knightoflight
Posts: 199
Joined: Sun Aug 24, 2003 5:47 pm
Location: Germany

Post by knightoflight »

why dont you use normal variables, i dont understand ?
int green=0;
or
irr:s32 green=0;
guest

Post by guest »

normal variables work fine. But I wanted to do it with pointers.Want to change the value from anywhere. I am not an expert.Any way to get input from the gui?
Post Reply