Skip to content

Instantly share code, notes, and snippets.

View Nikolas0606's full-sized avatar

</Nikolas> Nikolas0606

  • Brazil
View GitHub Profile
@Nikolas0606
Nikolas0606 / index.html
Created March 27, 2018 14:29
Attempt to recriate website
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Digitalização de Documentos</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="stylebassoli.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
@Nikolas0606
Nikolas0606 / all.c
Created March 23, 2018 13:57
I'm really bored... Everything i learned in C so far, (2 weeks with C)
#include <stdio.h>
#include <locale.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <conio.h>
int espaco();
int fatorial(int n);
int main()
@Nikolas0606
Nikolas0606 / ac.c
Created March 22, 2018 13:22
Analise Combinatoria simple em C
#include <stdio.h>
#include <math.h>
#include <locale.h>
#include <stdlib.h>
#include <conio.h>
int fatorial(int n);
int espaco();
int main()
{
@Nikolas0606
Nikolas0606 / calc.c
Created March 20, 2018 14:00
Basic Calculator in C (Testing conio.h, stdlib.h , system color, system clear, getch.... etc)
#include <stdio.h>
#include <locale.h>
#include <conio.h>
#include <stdlib.h>
int espaco();
int main(){
int num, num1,num2;
setlocale(LC_ALL,"Portuguese");
system("color 0A");
@Nikolas0606
Nikolas0606 / gym.c
Created March 12, 2018 14:36
Gym plan in C (Basic with statments, functions, switch, and other)
#include <stdio.h>
#include <locale.h>
#include <math.h>
int caixa();
int linha();
int main(){
char nome[100], sobre[100];
float peso, meta;
int idade,exer,num;
setlocale(LC_ALL,"Portuguese");
@Nikolas0606
Nikolas0606 / what.c
Created March 7, 2018 13:21
I'm really bored ( C whatever)
#include <stdio.h>
#include <locale.h>
#include <math.h>
int main(int argc , char ** argv){
setlocale(LC_ALL, "Portuguese");
char nome[100];
int esc,i, j, num, dogo, k, rows;
float quadrado, cubo, raiz_quad, raiz_cub;
@Nikolas0606
Nikolas0606 / testeagain.c
Created March 5, 2018 14:57
Functions with IF's
#include <stdio.h>
#include <locale.h>
#include <math.h>
float mediaaluno (float nota1,float nota2);
int main(int argc, char ** argv){
int sem;
char name[100];
float nota1, nota2, media;
setlocale(LC_ALL, "Portuguese");
printf("\nEscolha o nome do aluno\n");
@Nikolas0606
Nikolas0606 / functions.c
Created March 5, 2018 14:31
Testing functions and char[] in C(using dev++)
#include <stdio.h>
#include <locale.h>
#include <math.h>
float mediaaluno (float nota1,float nota2);
int main(int argc, char ** argv){
char name[100];
float nota1, nota2, media;
setlocale(LC_ALL, "Portuguese");
printf("\nEscolha o nome do aluno\n");
scanf("%s", &name);
@Nikolas0606
Nikolas0606 / media.c
Created March 2, 2018 13:50
Testing IF and ELSE
#include <stdio.h>
#include <locale.h>
#include <math.h>
int main(int argc, char * argv[]){
setlocale(LC_ALL, "Portuguese");
int peso1, peso2;
float media, nota1, nota2;
printf("\nQuanto você tirou na primeira prova?\n");
scanf("%f", &nota1);
@Nikolas0606
Nikolas0606 / tabuada.c
Created March 2, 2018 12:59
Tabuada Basica com C
#include <stdio.h>
#include <locale.h>
int main(int argc, char ** argv){
setlocale(LC_ALL, "Portuguese");
int num1, i , j;
printf("\nEscolha uma das tabuadas abaixo:\n");
printf("Tabuada do 1\n");
printf("Tabuada do 2\n");
printf("Tabuada do 3\n");