This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
enum AlgSettings : int32_t | |
{ | |
ONE_WAY = 0x01, | |
ANOTHER_WAY = 0x02, | |
BOTH_WAYS = 0x03, | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstdint> | |
#include <string> | |
using namespace std; | |
auto enumerate() | |
{ | |
return [=]() mutable { cout << "enumerate\n"; }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import struct | |
TypeMap = { | |
"float": "f", | |
"int32": "l", | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by romanm on 8/19/2017. | |
// | |
#include "ConcreteMachine.h" | |
struct State0 : BaseState<MyEvent> | |
{ | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Elem | |
{ | |
int a; | |
int b; | |
} ee; | |
struct Cont | |
{ | |
Elem e1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <errno.h> | |
#include <signal.h> | |
volatile sig_atomic_t got_usr1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" VIM Configuration File | |
" Description: My vimrc config file, for C++, python dev etc. | |
" Author: Roman Maslennikov | |
" Based on: 'Minimal .vimrc for C/C++ developers' | |
set langmenu=en_US.UTF-8 | |
set nocompatible " be iMproved, required | |
filetype off " required | |
NewerOlder