![Page 1: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/1.jpg)
VISUAL STUDIO Amjad Alsuhaim
![Page 2: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/2.jpg)
1. Download the visual studio 2012 from the following link :
https://www.microsoft.com/en-us/download/details.aspx?id=34673
click download.
![Page 3: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/3.jpg)
3- Open the exe file.
4- Click on agree checkbox.
5- click on INSTALL.
![Page 4: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/4.jpg)
6- Wait until it finish (it may takes several hours and it will request you to restart your computer ).
![Page 5: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/5.jpg)
7- Click LUNCH
![Page 6: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/6.jpg)
You have to register you product click register online
![Page 7: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/7.jpg)
Sing in using your Microsoft account and fill the form then click on continue.
![Page 8: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/8.jpg)
YOU WILL GET YOUR PRODUCT KEY COPY IT THEN PASTE IT IN THE VISUAL STUDIO WINDOW .
![Page 9: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/9.jpg)
OPENGL
![Page 10: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/10.jpg)
1- Download the OpenGL library from here:
https://www.dropbox.com/s/p1dv8sgwswdbv4a/glut-3.7.6.zip?dl=0
![Page 11: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/11.jpg)
2- Open the zip file.
3- Extract the file to the desktop.
![Page 12: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/12.jpg)
4- Open the folder.
5- Copy the glut.h to this path C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include
You will get a warring message click on Continue
![Page 13: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/13.jpg)
6- Copy the glut32.lib to this path C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib
You will get a warring message click on Continue
![Page 14: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/14.jpg)
7- Copy the glut32.dll : If you have 32-bit operating system go to this path C:\Windows\System32\
If you have 64-bit operating system go to this path C:\Windows\SysWOW64\
You will get a warring message click on Continue
![Page 15: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/15.jpg)
COMPILING OPENGL/GLUT PROGRAMS:
![Page 16: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/16.jpg)
Open visual studio and create a new project: choose File | New from the File
Menu
select the Projects tab
open visual C++ tap
choose Win32 Console Application
fill in your Project name
Click ok
Project Name
![Page 17: VISUAL STUDIO - WordPress.com · Open visual studio and create a new project: choose File | New from the File Menu select the Projects tab open visual C++ tap choose Win32 Console](https://reader030.vdocuments.site/reader030/viewer/2022041011/5ebd690167371842774e5181/html5/thumbnails/17.jpg)
Click finish.
include glut in the header of your file source (#include <glut.h>)