I'm an absolute beginner in C and opengl and was trying out a test program. When I included glut.h
#include <GL/glut.h>
I got this error:
Redeclaration of C++ builtin short line 50 glut.h
Is my glut.h defective or am I doing something wrong
--------------------------
The best answer to your...
How come this code:
$text = "abcdefghijklmnopqrstuvwxyz";
$text =~ tr/a-z/1-{26}/;
print "$text\n";
produces this output:
123456789:;<=>?@ABCDEFGHIJ
?
--------------------------
The best answer to your question will definitely be RTFM.
I'm trying to find a function in perl that takes only the first character typed in STDIN, returns it, then just moves on, like the C++ getch().
Is there any way to do this?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.