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 <stdlib.h> | |
| #include <string.h> | |
| #include <ctype.h> | |
| // List of C keywords | |
| const char *keywords[] = { | |
| "auto", "break", "case", "char", "const", "continue", "default", "do", | |
| "double", "else", "enum", "extern", "float", "for", "goto", "if", "int", | |
| "long", "register", "return", "short", "signed", "sizeof", "static", |
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
| package com.proyect.utils; | |
| public enum AlgebraOperators { | |
| SELECTION('σ'), | |
| PROJECT('∏'), | |
| UNION('∪'), | |
| INTERSECT('∩'), | |
| DIFF('−'), | |
| CARTESIAN('X'), | |
| RENAME('ρ'), |
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 "Lista.h" | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| void mensajes(int e, char msg, int p); | |
| void showPolinomicalExpression(float c, int e); | |
| LISTA crearLista() | |
| { | |
| LISTA L; | |
| L = NULL; |
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 "Lista.h" | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| void mensajes(int e, char msg, int p); | |
| void showPolinomicalExpression(float c, int e); | |
| LISTA crearLista() | |
| { | |
| LISTA L; | |
| L = NULL; |
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 "Lista.h" | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| void mensajes(int e, int msg, int p); | |
| LISTA crearLista(){ | |
| LISTA L; | |
| L=NULL; | |
| return L; | |
| } | |
| Nodo_Lista *crearNodoLista(){ |
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 <stdio.h> | |
| #include "Stack.h" | |
| PILA crearPila() | |
| { | |
| PILA S; | |
| S = (PILA)malloc(sizeof(Pila)); | |
| if (S == NULL) | |
| { |
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 <stdlib.h> | |
| #include "Queue.h" | |
| // CREACION DE UNA COLA VACÍA | |
| COLA crearCola(){ | |
| COLA C; | |
| C = (COLA)malloc(sizeof(Cola)); | |
| if( C == NULL){ | |
| exit(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 <stdlib.h> | |
| #include "Queue.h" | |
| // CREACION DE UNA COLA VACÍA | |
| COLA crearCola(){ | |
| COLA C; | |
| C = (COLA)malloc(sizeof(Cola)); | |
| if( C == NULL){ | |
| exit(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 <stdlib.h> | |
| #include "Queue.h" | |
| // CREACION DE UNA COLA VACÍA | |
| COLA crearCola(){ | |
| COLA C; | |
| C = (COLA)malloc(sizeof(Cola)); | |
| if( C == NULL){ | |
| exit(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 <stdlib.h> | |
| #include "Queue.h" | |
| // CREACION DE UNA COLA VACÍA | |
| COLA crearCola(){ | |
| COLA C; | |
| C = (COLA)malloc(sizeof(Cola)); | |
| if( C == NULL){ | |
| exit(0); |
NewerOlder