Skip to content

Instantly share code, notes, and snippets.

View Romain-P's full-sized avatar
🈴
/home

- Romain-P

🈴
/home
View GitHub Profile
# Admiral Business Machines 1954-2042
# Six inverter gate
.chipsets:
input i0
input i1
input i2
input i3
input i4
input i5
//
// EPITECH PROJECT, 2018
//
// File description:
//
//
#include "Parser.hpp"
#include <string>
//
// EPITECH PROJECT, 2018
//
// File description:
//
//
#include "Parser.hpp"
#include <string>
//
// EPITECH PROJECT, 2018
//
// File description:
//
//
#include "Parser.hpp"
#include <string>
--[[ AntiCCv3 EPvP Pand0r]]--
--[[ Settings ]]--
local Spells1 = {"Scatter Shot", "Blind", "Paralysis", "Gouge"}
local Spells2 = {"Silence", "Counterspell", "Silencing Shot", "Strangulate", "Garrote", "Solar Beam", "Spell Lock"}
local Spells3 = {"Intimidating Shout"}
local Spells4 = {"Kick", "Rebuke", "Wind Shear", "Pummel", "Mind Freeze", "Skull Bash"}
local Spells5 = {"Deep Freeze"}
local ShowInfo = true; -- Prints information about taken actions in Chatwindow
local Delay = 0.002; -- The Delay the Script waits for casting in seconds.
@Romain-P
Romain-P / test.cpp
Created January 18, 2018 19:39
algo
else if (is_operator(c)) {
if (operators.empty() || operators.top() == LEFT) {
operators.push(c);
} else {
while (!operators.empty() &&
operators.top() != LEFT &&
OPS.at(c)._precedence <= OPS.at(operators.top())._precedence) {
operators.pop();
if (!operators.empty())
operands.push(operators.top());
#ifndef DROID_HPP_H
# define DROID_HPP_H
# include <string>
# include <cstddef>
# include <iostream>
class Droid {
private:
std::string _id;
#include "Borg.hpp"
#include "Federation.hpp"
#include <string>
#include <iostream>
Borg::Ship::Ship() {
std::cout << "We are the Borgs. Lower your shields and surrender yourselves unconditionally." << std::endl;
std::cout << "Your biological characteristics and technologies will be assimilated." << std::endl;
std::cout << "Resistance is futile." << std::endl;
}
/*
** String.c for in /home/romain.pillot/projects/cpp_d03/ex00
**
** Made by romain pillot
** Login <[email protected]>
**
** Started on Fri Jan 5 08:07:34 2018 romain pillot
** Last update Fri Jan 5 13:00:49 2018 romain pillot
*/
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include "String.h"
static void assign_s(String *this, const String *str);
static void assign_c(String *this, const char *s);
static void append_s(String *this, const String *ap);
static void append_c(String *this, const char *ap);