Skip to content

Instantly share code, notes, and snippets.

View lll-phill-lll's full-sized avatar
🌍

Filitov Mikhail lll-phill-lll

🌍
View GitHub Profile
@lll-phill-lll
lll-phill-lll / super_code.hpp
Created November 4, 2023 18:49
my super duper code
std::string super_duper_function() {
return "Have a good weekend!";
}
@lll-phill-lll
lll-phill-lll / main.c
Created September 24, 2023 19:53
sm02-3 main
#include <stdio.h>
// Пример, чтобы убедиться, что invoke работает
// int invoke(int16_t *arr, int size, int pivot) {
// int sum = 0;
// for (int i = 0; i != size; ++i) {
// sum += arr[i];
// }
//
// return sum;
@lll-phill-lll
lll-phill-lll / callable.cpp
Created June 7, 2022 11:39
callable.cpp example
#include <iostream>
#include <thread>
struct A {
void call_A() {
std::cout << "val: " << val << std::endl;
}
int val;
};
package main
import (
"log"
"os"
)
func main() {
loggerInfo := log.New(os.Stdout, "INFO: ",
log.Ldate|log.Lmicroseconds|log.Lshortfile)