glutcreatewindow

Why does Valgrind not like my usage of glutCreateWindow?

I'm using the following code... 169: const char *title = Title.c_str(); 170: glutCreateWindow(title); ... Valgrind gives me the following ... ==28841== Conditional jump or move depends on uninitialised value(s) ==28841== at 0x6FF7A4C: (within /usr/lib64/libGLcore.so.180.44) ==28841== by 0x6FF81F7: (within /usr/lib64/libGLcore.s...

Visual Studio 2008 with Vista, GLUT projects gives error on runtime

I'm sure that there is nothing wrong with my project. Because I have tried it on my ex computer with visual studio 2005 and windows xp pro, and it works error-free. I can compile my project. There is no errors on build phase.But when I try to run my project it says "*.exe has stopped working". Then I runned it on debugger mode. I saw t...