How do I setup my project so that it opens a window instead of console?
#include <GL\glew.h>
#include <GL\glfw.h>
int main()
{
glfwInit();
glfwOpenWindow(0, 0, 0, 0, 0, 0, 0, 0, GLFW_WINDOW);
glfwTerminate();
return 0;
}
This code opens a window but it also opens a console, how do setup my project so that only window appear? Using VS 2010.