Advertisement
Guest User

Untitled

a guest
Dec 4th, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1. #include <iostream>
  2. #include <GL/glew.h>
  3. #include <GLFW/glfw3.h>
  4. using namespace std;
  5.  
  6. const GLint WIDTH = 800;
  7. const GLint HEIGHT = 600;
  8.  
  9. int main(int argc,char * argv[])
  10. {
  11.     if(!glfwInit())
  12.     {
  13.         cout << "Error Initializating the GLFW" << endl;
  14.         glfwTerminate();
  15.         return 1;
  16.     }
  17.  
  18.     cout << "Welcome" << endl;
  19.     return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement