Skip to content

Instantly share code, notes, and snippets.

View agr-shrn's full-sized avatar

Sharan Agrawal agr-shrn

  • New York University
  • Jersey City, New Jersey
View GitHub Profile
@agr-shrn
agr-shrn / .block
Created February 19, 2016 15:43
GRN Visualization
license: gpl-3.0
@agr-shrn
agr-shrn / opengl_functions.rst
Created December 18, 2015 19:33 — forked from dufferzafar/opengl_functions.rst
OpenGl Functions Manpages. Taken from: http://www.cs.uccs.edu/~ssemwal/glman.html. Use Pandoc to convert to pdf: pandoc -V documentclass=report ~/opengl_functions.rst -o ~/opengl_functions.pdf

glBegin

Name

glBegin, glEnd - delimit the vertices of a primitive or a group of like
#include<stdio.h>
#include<string.h>
#include<ctype.h>
char NFAtab[30][30][30];
char DFAtab[30][30],fin[30];
int NFA_states,DFA_states,NFA_symbols=-1,outputs,dfa_finals[40],s;
void read()
{
#include<stdio.h>
#include<ctype.h>
#include<string.h>
int max,no_st;
char mat[40][40],out[40],inp[40],str[40];
void read()
{
FILE *fp;
#include<stdio.h>
#include<ctype.h>
#include<string.h>
# define states 30
# define inputs 30
char mat[states][inputs][2];
char inp_str[50],out_str[50];
int no_st,no_inp=-1,len;
#include<stdio.h>
#include<ctype.h>
#include<string.h>
char inp[40],mat[40][40],regex[40];
int no,row;
void read()
{
int i=0,j;
#include<stdio.h>
#include<string.h>
#include<ctype.h>
char mat[30][30][30];
char fin[30];
char inp[30];
int no_st,no_out,maxj=0,len;
void read()
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
fstream obj;
char ch,str[30],input;
int k=0,initial=9,final[5],num_stats=0,num_inputs=0,num_final,q_prev,q_new,i=0,j=0,mat[5][5];
------SIMPLE DFA ACCEPTING------
#include <iostream>
#include <fstream>
using namespace std;
int main()
#include<iostream>
using namespace std;
struct node
{
int data;
struct node *next;
};