Skip to content

Instantly share code, notes, and snippets.

Avatar

PypeBros

View GitHub Profile
@PypeBros
PypeBros / Equationduseconddegre.cpp
Last active Feb 15, 2018 — forked from Arkios366/Equationduseconddegre.cpp
Ceci est un programme permettant de calculer les équations du second degré
View Equationduseconddegre.cpp
/**************************************************\
* Programme réalisant des calculs du second degré. *
* Réaliser par: Thomas Bastin *
* Le 31/01/2018 *
\**************************************************/
#include <iostream>
#include <math.h>
#include <string>
#include <cctype>
@PypeBros
PypeBros / test-fgets.c
Created Feb 27, 2020
why ? don't you trust fgets(3) manpage ?
View test-fgets.c
#include <stdio.h>
#include <string.h>
int showChar(char c) {
switch (c) {
case '!'...'~':
fprintf(stderr, "'%c ", c);
break;
case 0:
fprintf(stderr, "\\0 ");
You can’t perform that action at this time.