This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <GL/glut.h> | |
static GLfloat spin = 0.0; | |
static GLfloat spin_speed = 1.0; | |
float spin_x = 0; | |
float spin_y = 1; | |
float spin_z = 0; | |
float translate_x = 0.0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <iostream> | |
#include <math.h> | |
#include <Windows.h> | |
#include <GL/glut.h> | |
using namespace std; | |
bool isWin, isLost; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <iostream> | |
#include <GL/glut.h> | |
using namespace std; | |
int minX, minY, maxX, maxY; | |
int fstX, fstY, sndX, sndY; | |
int code1[4] = { 0, 0, 0, 0 }; | |
int code2[4] = { 0, 0, 0, 0 }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <math.h> | |
#include <iostream> | |
#include <vector> | |
#include <GL/glut.h> | |
using namespace std; | |
int pntX1, pntY1, choice = 0, edges; | |
vector<int> pntX; | |
vector<int> pntY; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
namespace BasicProductManagement | |
{ | |
class Product | |
{ | |
private static ArrayList arrItems = new ArrayList(); | |
private string ProductID; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
namespace Bank_Management | |
{ | |
class DOB | |
{ | |
private int day = 0; | |
private int month = 0; | |
private int year = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <math.h> | |
#include <iostream> | |
#include <vector> | |
#include <GL/glut.h> | |
using namespace std; | |
int pntX1, pntY1, choice = 0, edges; | |
vector<int> pntX; | |
vector<int> pntY; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <iostream> | |
#include <GL/glut.h> | |
using namespace std; | |
int pntX1, pntY1, r; | |
void plot(int x, int y) | |
{ | |
glBegin(GL_POINTS); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <GL/glut.h> | |
int x = 50, y = 50; | |
bool isBlack = true; | |
void whiteBox(int x, int y) | |
{ | |
glBegin(GL_LINE_LOOP); | |
glVertex2i(x, y); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <GL/glut.h> | |
int x = 250; | |
int y = 100; | |
void drawRedShoe(void) | |
{ | |
glBegin(GL_POLYGON); | |
glColor3f(1.0, 0.0, 0.0); |