Skip to content

Instantly share code, notes, and snippets.

View su8's full-sized avatar

su8

  • defunct
View GitHub Profile
#include <stdlib.h>
#include <time.h>
#include <iostream>
#include <fstream>
#include <string>
#include <windows.h>
//used to maximize screen
#pragma comment(lib,"kernel32.lib")
#pragma comment(lib,"user32.lib")
#include <iostream>
#include <cstring>
#include <cctype>
#include <cstdlib>
#include <string>
#include <fstream>
using namespace std;
const int MAX_UCHASTNICI = 30;
@su8
su8 / game.cpp
Last active March 15, 2025 12:34
/*
Copyright 03/13/2025 https://github.com/su8/0verknigh7
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
char *idx = buf + strlen(var);
get/setAttribute
referemce_wrapper
text edit0r
hellxcb border rgb
extraction functions
peripherial functions
-static-libc++ compile flag
wget https://github.com/USER/REPOSITORY/pull/1.diff
memcpy snprintf allptr+=
char *str = buf + strlen(Var);
get/setAttribute
referemce_wrapper
text edit0r
hellxcb border rgb
extraction functions
peripherial functions
-static-libc++ compile flag
#**************************************************************************************************
#
# raylib makefile for Desktop platforms, Raspberry Pi, Android and HTML5
#
# Copyright (c) 2013-2019 Ramon Santamaria (@raysan5)
#
# This software is provided "as-is", without any express or implied warranty. In no event
# will the authors be held liable for any damages arising from the use of this software.
#
# Permission is granted to anyone to use this software for any purpose, including commercial
#include "raylib.h"
#include <string>
struct AnimData
{
Rectangle rec;
Vector2 pos;
int frame;
float updateTime;
float runntingTime;
/*#include <iostream>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <string>
#include <ctime>
#include <filesystem>
#include <iostream>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <string>
#include <ctime>
#include <filesystem>
@su8
su8 / battleships.cpp
Created March 11, 2025 19:26 — forked from veesa/battleships.cpp
My first C++ programme... Battleships!
#include <iostream>
#include <ctime>
#include <cstdlib>
#include <string>
#include <vector>
using namespace std;
class Boat
{