Skip to content

Instantly share code, notes, and snippets.

View pxpc2's full-sized avatar
💭
CANSADO

Pedro D Cardoso pxpc2

💭
CANSADO
  • UnB - Universidade de Brasilia
  • Brasil
  • 16:09 (UTC -03:00)
View GitHub Profile
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include "glcm.h"
#define MAX 1025*1025
void exec()
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "rede.h"
#include "glcm.h"
int main(int argc, char* argv[])
{
// gera os 50 numeros das imagens, onde os 25 primeiros sao pro treinamento e os ultimos pro teste.
int* nums = gerarNumerosAleatorio();
typedef struct neuronio
{
double* p; // conjunto de entradas deste neuronio
double* w; // conjunto de pesos deste neuronio
double b; // bias deste neuronio
double s; // saida deste neuronio
int p_length; // quantidade de entradas
} Neuronio;
typedef struct camada
{
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "rede.h"
#define QT_ENTRADA 536
Rede* rede;
/**
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct Dados
{
char nome[101], telefone[100], endereco[101], cep[100], nascimento[100];
};
struct No
{
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct registro
{
char nome[101],
telefone[11],
endereco[101],
cep[9],
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct registro
{
char nome[101],
telefone[11],
endereco[101],
cep[9],
@pxpc2
pxpc2 / main.c
Created May 27, 2019 00:42
dsfsdfdsf
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct registro
{
char nome[101],
telefone[11],
endereco[101],
@pxpc2
pxpc2 / drezin.c
Created May 25, 2019 19:10
drezin
#include <stdio.h>
#include <stdlib.h>
void criarRegistro(FILE *arq)
{
arq = fopen("dados.txt", "a");
if (arq == NULL)
{
printf("Deu ruim\n");
return;
@pxpc2
pxpc2 / Gabs.java
Created September 6, 2018 03:34
2
package br.unb;
import java.util.ArrayList;
import java.util.Collections;
/**
* @author gabronsio
*/
public class Gabs
{