Skip to content

Instantly share code, notes, and snippets.

View alexandermyasnikov's full-sized avatar
💞

Alexander Myasnikov alexandermyasnikov

💞
View GitHub Profile
set number
set showcmd
set tabstop=4
set colorcolumn=80
#include <iostream>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
void print(const boost::system::error_code& e,
boost::asio::deadline_timer* t,
int* count)
{
@alexandermyasnikov
alexandermyasnikov / main.cpp
Last active August 29, 2015 14:22
Multithreaded Applications (std::thread, C++11)
#include <iostream>
#include <thread>
#include <vector>
#include <string>
#include <atomic>
#include <mutex>
#include <chrono>
#include <ctime>
#include <fstream>
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <sstream>
using namespace std;