Авто | Видео-блоги | ДТП, аварии | Для маленьких | Еда, напитки |
---|---|---|---|---|
Животные | Закон и право | Знаменитости | Игры | Искусство |
Комедии | Красота, мода | Кулинария, рецепты | Люди | Мото |
Музыка | Мультфильмы | Наука, технологии | Новости | Образование |
Политика | Праздники | Приколы | Природа | Происшествия |
Путешествия | Развлечения | Ржач | Семья | Сериалы |
Спорт | Стиль жизни | ТВ передачи | Танцы | Технологии |
Товары | Ужасы | Фильмы | Шоу-бизнес | Юмор |
These steps will install the free compiler Dev c++ and the free graphics library OpenGL on Windows 8 or 10 64 bit OS.
If you have 32bit Windows 7, I believe you add the glut32.dll to the system32 folder.
link 1 Dev c++: http://www.mediafire.com/download/jvca73gqgg0l783/Setup_DEVC%2B%2B+5.4.1.rar
link 2 glutming: http://chortle.ccsu.edu/Bloodshed/glutming.zip
-lglu32 -lglut32 -lopengl32
If you know of any other options or alternatives, please comment below to help people get started. Thank you!
This worked fine for me and I have had no problems, but as with any program, use at your own risk.
C Code
#include 'LESS THAN SIGN' stdio.h 'GREATER THAN SIGN'
int main()
{
printf('Hello World!!!nn');
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;
}
Видео Install Dev C++ OpenGL for Free | Really Works in 2020!! канала 3DSage
If you have 32bit Windows 7, I believe you add the glut32.dll to the system32 folder.
link 1 Dev c++: http://www.mediafire.com/download/jvca73gqgg0l783/Setup_DEVC%2B%2B+5.4.1.rar
link 2 glutming: http://chortle.ccsu.edu/Bloodshed/glutming.zip
-lglu32 -lglut32 -lopengl32
If you know of any other options or alternatives, please comment below to help people get started. Thank you!
This worked fine for me and I have had no problems, but as with any program, use at your own risk.
C Code
#include 'LESS THAN SIGN' stdio.h 'GREATER THAN SIGN'
int main()
{
printf('Hello World!!!nn');
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;
}
Видео Install Dev C++ OpenGL for Free | Really Works in 2020!! канала 3DSage
Gta gta-sa sanandreas gtasa gta-vc gta3 gtavc asi grand-theft-auto gta-vice-city gta-iii grandtheftauto plugin-sdk gta-san-andreas san-andreas vice-city vicecity Updated Sep 25, 2020 C.
Dev C 2b 2b Gta San Andreas
00:05:43
Dev C 2b 2b Gta 5
Поделиться