This file contains 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 <GL/glut.h> | |
using namespace std; | |
int pntX1, pntY1, pntX2, pntY2, choice = 0; | |
double x, y, length, xinc, yinc; | |
int round(double d) |
This file contains 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; | |
namespace _1.Tic_Tac_Toe | |
{ | |
public class TicTacToe | |
{ | |
public char[,] gameBoard = new char[3,3]; | |
public char choice; | |
public int player = 0; |
This file contains 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); |
This file contains 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 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 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 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 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 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 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 }; |
OlderNewer