   OpenGL/C++ Question
  Having a problem, it's explain in the comments   string contentstring = "ASDASD";//stores the first letter of the string contentstring  char first = contentstring[0];//tells opengl to print ASDASD glPrint("ASDASD", cnt1);    /*if "A" is pressed, it will change the Y coord, and move the text on the screen.However if I use if (keys['first']), which should only move when I hit A, it just moves without any keypress */if (keys['A']){  space+=0.01f;}   
  You do realize that keys[first] is different from keys['first'], right?   ;Quote:Original post by SiCraneYou do realize that keys[first] is different from keys['first'], right?Problem solved, thanks ><   