Skip to content

Instantly share code, notes, and snippets.

View Shahadat3031's full-sized avatar
🎯
Focusing

Shahadat Hossain Shahadat3031

🎯
Focusing
View GitHub Profile
@TapasyRabeya
TapasyRabeya / sigle server.cpp
Created January 8, 2018 16:37
An implementation for simulating single queue single server problem
#include <stdio.h>
#include <stdlib.h>
struct node {
int time_arr , arrivel , sertime, timeserbeg , timeQ , timesevend , timespend ;
node(){}
};
node seg[10000];
@emileber
emileber / Resource.cpp
Last active January 24, 2017 19:36
Resources or assets manager template in C++. Uses a Singleton pattern template as well, which I'm not fond of, but works really well in this particular case. Feel free to use it in your own personal or commercial code. The whole lib is available at https://github.com/PrismalStudio/PrismalUtils
/**
* @file Resource.cpp
* @brief Implementation of Resource methods. Mainly getters/setters.
* @author E. Bergeron
* @date 2012-02-13
* @copyright Prismal Studio 2008-2013 www.prismalstudio.com
*/
#include "Resource.h"