Skip to content

Instantly share code, notes, and snippets.

View AndreyArthur's full-sized avatar
💻

Andrey Arthur Sousa e Silva AndreyArthur

💻
  • Santos-SP, Brazil
View GitHub Profile
@AndreyArthur
AndreyArthur / forca.alg
Last active May 16, 2024 13:06
Algoritmos
Algoritmo "forca"
// Disciplina : Algoritmos
// Professor : João Alfredo
// Descrição : Programa que simula o jogo da forca.
// Autor(a) : Andrey Arthur Sousa e Silva
// Data atual : 14/05/2024
Var
// Seção de Declarações das variáveis
palavra, chute_anterior, chute, letra : caractere
e_posicao, foi_usada : logico
@AndreyArthur
AndreyArthur / strings.zig
Created May 11, 2024 20:03
Zig strings beginner cheat-sheet.
// When I was starting to learn Zig, strings were such a pain in the ass, so I
// made this little guide for you to understand better what each type of string
// does and why some of them seems to be "wrong".
//
// I will assume that you already know how pointers, const, var, comptime and
// the stack works. You don't need to be an expert, but I will not waste time
// detailing these concepts.
//
// Sorry for the English mistakes, I'm far from being a fluent English speaker,
// but what counts is the information.