Install Dev C++ and OpenGL | It Works

Channel:
Subscribers:
121,000
Published on ● Video Link: https://www.youtube.com/watch?v=RTk6W67dyR4



Duration: 5:42
152,467 views
0


How to Install the free compiler Dev C++ and the free graphics library OpenGL on Windows 10.

Download Dev C++: http://www.mediafire.com/download/jvca73gqgg0l783/Setup_DEVC%2B%2B+5.4.1.rar
Right click this link to download zip of glutming: http://chortle.ccsu.edu/Bloodshed/glutming.zip

Raycaster Part 1 tutorial: https://youtu.be/gYRrGTC7GtA

-lglu32 -lglut32 -lopengl32

Replace less than sign with actual less than sign. YouTube prevents me from adding it here.

---C Code---
#include "LESS THAN SIGN" stdio.h "GREATER THAN SIGN"
int main()
{
printf("Hello World!!!\n\n");
system("pause");
}


---OpenGL Code---
#include "LESS THAN SIGN" GL/glut.h "GREATER THAN SIGN"
void display()
{
glClear(GL_COLOR_BUFFER_BIT);
glColor3f(1,0,0);
glBegin(GL_POLYGON);
glVertex2f(100,300);
glVertex2f(100,100);
glVertex2f(200,100);
glVertex2f(200,300);
glEnd();
glFlush();
glutSwapBuffers();
}

int main(int argc, char** argv)
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGBA);
glutInitWindowSize(640,640);
glutCreateWindow("OpenGL");
glutDisplayFunc(display);
gluOrtho2D(0,640,0,640);
glClearColor(0.5,0.7,0.5,0);
glutMainLoop();
return 0;
}







Tags:
OpenGL (API)
Dev-C++ (Software)
Windows 8 (Operating System)
C (Programming Language)
install opengl
dev cpp
install dev c++
free compuler
first opengl
beginning opengl
3d opengl
install
start programming
starting opengl
install dev c++ and opengl
compile c++
Computer
Tutorial
programming
video games
programming video game
Video Game (Industry)
Microsoft Windows (Operating System)
Games
Maker
Desktop
Software (album)
Minecraft (Award-Winning Work)