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 <ctype.h> | |
char s[50]; | |
int top = -1; | |
push(char elem) { | |
s[++top] = elem; | |
} |
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 <stdlib.h> | |
struct node{ | |
int i; | |
struct node *link; | |
}*first,*n,*ptr,*tptr; | |
void infront(void){ | |
ptr = (struct node*)malloc(sizeof(struct node)); |
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 <stdlib.h> | |
struct node{ | |
int i; | |
struct node *rlink,*llink; | |
}*first=NULL,*n,*ptr,*tptr,*nptr; | |
void infront(void){ | |
if(first==NULL){ |
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 <stdlib.h> | |
struct node{ | |
int i; | |
struct node *link; | |
}*top=NULL,*front=NULL,*rear=NULL,*ptr,*n,*tptr; | |
void stack(); | |
void queue(); |
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 <stdlib.h> | |
void menu(void); | |
struct node{ | |
int i; | |
struct node *lc; | |
struct node *rc; | |
}*root; | |
void buildtree(struct node *ptr){ |
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
//error on line 142 | |
#include <stdio.h> | |
#include <stdlib.h> | |
void menu(void); | |
struct node{ | |
int i; | |
struct node *lc; | |
struct node *rc; | |
}*root = NULL,*parent; |
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 <Servo.h> | |
#include <Stepper.h> | |
#define LINE_BUFFER_LENGTH 512 | |
// Servo position for Up and Down | |
const int penZUp = 80; | |
const int penZDown = 40; | |
// Servo on PWM pin 6 |
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
import processing.core.*; | |
import processing.data.*; | |
import processing.event.*; | |
import processing.opengl.*; | |
import java.awt.event.KeyEvent; | |
import javax.swing.JOptionPane; | |
import processing.serial.*; | |
import java.util.HashMap; |
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
var campo = document.getElementsByClassName("input")[1]; | |
contador = 0; | |
function dispatch(target, eventType, char) { | |
var evt = document.createEvent("TextEvent"); | |
evt.initTextEvent (eventType, true, true, window, char, 0, "en-US"); | |
target.focus(); | |
target.dispatchEvent(evt); | |
} | |
function spam(){ | |
if (contador<100){ // |
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
/*To accept friends*/ | |
javascript: | |
var inputs = document.getElementsByClassName('_42ft _4jy0 _4jy3 _4jy1 selected _51sy'); | |
for(var i=0; i<inputs.length;i++) | |
{ | |
inputs[i].click(); | |
} | |
/*------------------------------------------------------------------------------------------------------*/ |
OlderNewer