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
/* | |
* File: menu.c | |
* Author: Hernandez Gabriel | |
* | |
* Created on 5 de julio de 2016, 00:59 | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> |
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 <SPI.h> | |
#include <MFRC522.h> | |
#define RST_PIN 9 //Pin 9 para el reset del RC522 | |
#define SS_PIN 10 //Pin 10 para el SS (SDA) del RC522 | |
MFRC522 mfrc522(SS_PIN, RST_PIN); //Creamos el objeto para el RC522 | |
void setup() { | |
Serial.begin(9600); //Iniciamos la comunicación serial | |
SPI.begin(); //Iniciamos el Bus SPI |
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.Runtime.InteropServices; | |
using System.Collections.Generic; | |
namespace SetAppVolumne | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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 <cstdlib> | |
#include <iostream> | |
using namespace std; | |
//Prototipos de funciones: | |
void datos_const(); | |
int ganador(int,int,int,int); | |
void empate(int equip1,int &puntos_equip1,int &puntos_equip2,int &puntos_equip3,int &puntos_equip4); | |
void tercer_lugar(int,int,int,int); |
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 <cstdio> | |
#include <cstdlib> | |
/* Para uso de la estructura */ | |
typedef char cadena[20+1]; | |
enum Equipos{ | |
Rusia = 1, | |
Alemania, | |
Brasil, |
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 "dart:core"; | |
Stream<Map<int, int>> getRandomNumbers(int seed, int modulus, int increment, int multiplier, int max) async* { | |
int prevxn = seed; | |
int result = 0; | |
for(int i = 1; i <= max; i++) | |
{ | |
result = (multiplier*prevxn + increment) % modulus; | |
yield {i : result}; |