Skip to content

Instantly share code, notes, and snippets.

View uael's full-sized avatar
🔬

Lucas Abel uael

🔬
View GitHub Profile
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
typedef enum e_priority {
PRIMARY = 0,
UNARY,
MULTIPLICATIVE,
ADDITIVE,
SHIFT,
#include <unistd.h>
int main(int ac, char **av) {
char brank, *ptr, *input, optab[4096] = {0};
if (ac <= 1) {
write(1, "\n", 1);
return 0;
}
ptr = optab;
@uael
uael / jetbrains.sh
Last active December 16, 2021 08:23
#!/bin/sh
if [ -d "/opt/phpstorm" ]; then rm -rvf /opt/phpstorm/*; else mkdir /opt/phpstorm; fi
curl -L "https://data.services.jetbrains.com/products/download?code=PS&platform=linux" | tar xz -C /opt/phpstorm --strip-components=1
cat > /usr/share/applications/jetbrains-phpstorm.desktop <<'EOL'
[Desktop Entry]
Type=Application
Name=Phpstorm
Icon=/opt/phpstorm/bin/phpstorm.png
Exec=gksudo "/opt/phpstorm/bin/phpstorm.sh" %f
Categories=Development;IDE;

A313 - NAHIM/LUCAS

Exercice 1

ecritCar :

void ecritCar(Character c) {
    System.out.print(c);
}

ecritRectangle :