blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
247
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
4
111
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
58
visit_date
timestamp[ns]date
2015-07-25 18:16:41
2023-09-06 10:45:08
revision_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
committer_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
github_id
int64
3.89k
689M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
25 values
gha_event_created_at
timestamp[ns]date
2012-06-07 00:51:45
2023-09-14 21:58:52
⌀
gha_created_at
timestamp[ns]date
2008-03-27 23:40:48
2023-08-24 19:49:39
⌀
gha_language
stringclasses
159 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
10.5M
extension
stringclasses
111 values
filename
stringlengths
1
195
text
stringlengths
7
10.5M
7d5a26400406a8765d839383a4b5c84357b33a99
6b40e9dccf2edc767c44df3acd9b626fcd586b4d
/NT/ds/security/protocols/kerberos/parser/kerbparser.cxx
753f1dec7316564e532ce37fc4d9e9d1b9162181
[]
no_license
jjzhang166/WinNT5_src_20201004
712894fcf94fb82c49e5cd09d719da00740e0436
b2db264153b80fbb91ef5fc9f57b387e223dbfc2
refs/heads/Win2K3
2023-08-12T01:31:59.670176
2021-10-14T15:14:37
2021-10-14T15:14:37
586,134,273
1
0
null
2023-01-07T03:47:45
2023-01-07T03:47:44
null
UTF-8
C++
false
false
17,618
cxx
kerbparser.cxx
//============================================================================= // // MODULE: Kerbparser.cxx // // Description: // // Bloodhound Parser DLL for Kerberos Authentication Protocol // // Modification History // // Michael Webb & Kris Frost Date: 06/04/99 // Mark Pustilnik Dat...
a4a5b3ebeb827435fb12d52f2682c467c6c6482d
30150c1a4a99608aab496570e172bdce4c53449e
/064_namespace/math_utils.h
5858ee5ccc355b48e3a8fb56929bc34eca7087e8
[]
no_license
gergokutu/cplusplus-tutorials
88334ba9b1aa8108109796d69ab5e8dd94da62c6
11e9c15f6c4e06b8e97ce77a732aec460d0251eb
refs/heads/master
2020-09-04T17:46:03.954635
2020-01-14T11:44:15
2020-01-14T11:44:15
219,837,606
0
0
null
null
null
null
UTF-8
C++
false
false
396
h
math_utils.h
#ifndef MATH_UTILS #define MATH_UTILS struct Rectangle { double length; double width; }; // namespace here (not around the struct!) // and into implementation file // apply namespace in the usage file (main file) namespace utilz { double area(double length, double width); double area(double length); double ...
fe79c863d4fabb2077848bb5b5c1159296d455a0
2471e75f11f0bc60372d900930941c239be60de4
/source/libraries/SnifferOTA/SnifferOTA.cpp
583f847e57194a955383fa6b6ccc6c60aef6f900
[ "MIT" ]
permissive
aavn/AirSniffer
ffc9d416608f3bb8780fcbb974409d630799f2d5
3e55f7c110378f5a512c361b9b8b7ce95ff99adf
refs/heads/master
2021-07-03T19:49:45.268867
2020-08-19T08:06:28
2020-08-19T08:12:55
142,540,765
1
1
MIT
2020-08-20T03:08:46
2018-07-27T07:06:04
C++
UTF-8
C++
false
false
7,926
cpp
SnifferOTA.cpp
#include "SnifferOTA.h" #include "SnifferOTA_staging.h" #include <WiFiClientSecure.h> #include <ArduinoJson.h> HTTPUpdateResult checkAndUpdate(String currentVersion){ HTTPUpdateResult result = HTTP_UPDATE_NO_UPDATES; WiFiClientSecure client; Serial.println("\nAttempt to check for update from the remote...
aaf433fdb8fab5b445700e4a89dc52e85256d53e
41ad38f6a5686339877f47b88273469c1cf1b04a
/UsernameModule.cpp
e170bad9337fb2b6e2a60aeb24dfca2b3cfc826c
[]
no_license
sayakura/42__System_Monitor
8ff94d8a72ff413fabaa25904b34dd5e83666d32
2d716d4a359ce98128ac262dcb6f80dc7c7f3c96
refs/heads/master
2020-05-22T12:46:58.250450
2019-05-13T05:01:34
2019-05-13T05:01:34
186,348,202
0
1
null
null
null
null
UTF-8
C++
false
false
2,613
cpp
UsernameModule.cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* UsernameModule.cpp :+: :+: :+: ...
c0c84429687d0adc4f97475c282fef6bc60d0e3d
830424898160e4a763c3f57d60af549a90edbebb
/SofaHighOrderTopology/BezierTriangleSetGeometryAlgorithms.cpp
181f959e96e8a47ade228eaf8899c8397cf558b5
[]
no_license
sofa-framework/SofaHighOrder
5757b435ec2053e17ac6ba89ac265810c5aa5527
5bc51b9255c4f965224bb047b987f3aed394f4e3
refs/heads/master
2023-08-28T03:42:41.982451
2019-04-11T07:04:38
2019-04-11T07:04:38
86,061,804
0
0
null
null
null
null
UTF-8
C++
false
false
1,064
cpp
BezierTriangleSetGeometryAlgorithms.cpp
#define SOFA_HIGHORDERTOPOLOGY_BEZIERTRIANGLESETGEOMETRYALGORITHMS_CPP #include "BezierTriangleSetGeometryAlgorithms.inl" #include <sofa/defaulttype/Vec3Types.h> #include <sofa/core/ObjectFactory.h> #include "initHighOrderTopology.h" namespace sofa { namespace component { namespace topology { using namespace sofa::d...
43a46d58ac1126359c3cd0ea293233392c931688
3912e69afbe91860a09bab2d8fa3d31263055766
/test_3_3_3_1.cpp
c9b31da264617267f2ca5ecd5a43b061ee1671d7
[]
no_license
MagicSen/C_Plus_Plus_Primer
db4faa61d94aabc6c2ca6d66f9c93882ee7b573a
31d5ef74ebe143228ce71579ebd32eb5f1850896
refs/heads/master
2016-09-05T15:54:24.761932
2014-10-18T07:43:57
2014-10-18T07:43:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
395
cpp
test_3_3_3_1.cpp
#include <iostream> #include <vector> #include <string> using std::cout; using std::cin; using std::endl; using std::vector; using std::string; int main() { // vector<int> sm; // int temp=0; vector<string> sm; string temp = ""; while(cin >> temp){ sm.push_back(temp); } for (auto j : sm) { cout << j << " ";...
2d546afc56c806a7a0e634adc742c3c12453839a
4021cc20733c8ead5c235d1f89e6a95ef1cf7386
/campion.edu/talent/main.cpp
17a277fe0e04bcdd92865b8743808834717c8f4d
[]
no_license
MicuEmerson/AlgorithmicProblems
9462ca439f2c3b8dcf5bfccf5e3f061b3e0ff645
918a52853dd219ba315d1cb4a620cf85ed73b4fd
refs/heads/master
2020-12-24T11:46:37.771635
2016-12-23T18:14:30
2016-12-23T18:14:30
73,013,087
2
0
null
null
null
null
UTF-8
C++
false
false
2,000
cpp
main.cpp
#include <iostream> #include <fstream> #include <algorithm> #include <stdlib.h> #include <stdio.h> using namespace std; FILE *fin, *fout; typedef struct { int nr; int cateCifre; } vvv; int n,dim; vvv v[15005]; int isOk(int x) { int i,nrCifre=0,cate1=0,cate2=0,cate3=0,gasit=0; int f[10]; for(i=0;...
79122c67f7663ebd49fc1ea463d20ae5d5845d8b
2ba5be9f967d5bea47f7feee67e2647eea332833
/PROJ/src/imagetools/filter.h
859d59b02c4eb44671f814398e7ddce2c5553fd1
[]
no_license
phantomx999/Program-Design
a2f88f3a3986665b6f5962215df8458766c2cafc
decd4ceb8af8bf126b5e86fefe24b3632db02e18
refs/heads/master
2020-05-28T07:39:28.409184
2018-12-21T16:13:46
2018-12-21T16:13:46
188,924,358
0
0
null
null
null
null
UTF-8
C++
false
false
1,209
h
filter.h
/* filter.h Copyright November 2018 by Andrew Steinbrueck */ #ifndef IMAGETOOLS_FILTER_H_ #define IMAGETOOLS_FILTER_H_ #include <mingfx.h> #include <iostream> #include <deque> #include <string> #include <vector> #include <map> #include "imagetools/color_data.h" #include "imagetools/pixel_buffer.h" #include "imaget...
a68fb81d18dc5d718df9e6446680963aa05631a3
6b6c477aa28e496c7dd8a948e8e15ed8731f06c3
/cslibs_kdl_data/include/cslibs_kdl_data/dynamic_calibration_io.h
beae1ee8b447526278483d1c7c133cce8d39f33b
[]
no_license
cogsys-tuebingen/cslibs_kdl
9b5f57ccc30e93e46173b9c87f81ff347245a034
a71ab9a1f6f7b854d17d4fdc0c4d7b01c72bec65
refs/heads/master
2022-09-23T15:48:32.669752
2021-02-14T13:08:45
2021-02-14T13:08:45
173,914,079
5
0
null
null
null
null
UTF-8
C++
false
false
439
h
dynamic_calibration_io.h
#ifndef CS_DYNAMIC_CALIBRATION_IO_H #define CS_DYNAMIC_CALIBRATION_IO_H #include <cslibs_kdl_data/dynamic_calibrated_parameters.hpp> namespace cslibs_kdl_calibration { class DynCalibrationIO{ public: DynCalibrationIO() {} static void save(std::string name, const DynamicParametersCollection &params); stati...
ef01a64c5e49d1f84dee2892cba1142f9126483a
c05dbee04cbebad230b6fc771716641e6dcccd1a
/src/Tests/LoggerTests.h
222f7288fa7e5ebcf9569cae14fd1a86bbefb9c7
[]
no_license
LBONTEN/LNJ_DREAMTEAMFEVER
ace7a8db5e8aa9dc257fb33df8b32e9775248103
7e706c8ba17ab80b2325de36d2bd7f760bbb9e12
refs/heads/master
2022-11-10T21:42:48.117443
2019-06-19T11:42:49
2019-06-19T11:42:49
172,958,170
0
0
null
null
null
null
UTF-8
C++
false
false
2,238
h
LoggerTests.h
// // Created by Joren Van Borm on 2019-06-18. // #ifndef LNJPSE_PROJECT_LOGGERTESTS_H #define LNJPSE_PROJECT_LOGGERTESTS_H #include "../Logger.h" #include "fileHelpers.h" #include <fstream> #include <string> #include <gtest/gtest.h> /** * Test fixture for logging * (uses a seperate Logger instance) */ class LogT...
680f21dc2ef33cd7f02c81c62be8a686268689bb
98ec42398374ef91666550255e4958be69820cae
/emilib/al_lib.hpp
c3a473702bf7b719c28c23f7fe0ba26c12b5b053
[ "LicenseRef-scancode-public-domain-disclaimer", "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-public-domain" ]
permissive
Zabrane/emilib
fde23b7e00f345db7c8a9b4e5b390f686885eff6
0d90f4c0cd44813f6898b417bf3f4ef574a5b136
refs/heads/master
2022-04-23T10:52:29.257760
2020-04-23T10:13:57
2020-04-23T10:13:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,817
hpp
al_lib.hpp
// By Emil Ernerfeldt 2002-2018 // LICENSE: // This software is dual-licensed to the public domain and under the following // license: you are granted a perpetual, irrevocable license to copy, modify, // publish, and distribute this file as you see fit. // Wrapper around OpenAL, a library for playing sounds. // H...
1faf77b52f7a92a4b7563cb217c39ed4a2cee5c9
4bcbe082e60c6e2ea8d3653bc05e6c9119fa2663
/balld/CElapsedTimer.h
241f43067de1ec75a2b46d2cf7a071fad5894c7a
[]
no_license
snowcicada/collect-ball
cb9e760bc78a3da9311b811d200bad174bfc15f7
4b68ae82dfe93a3cff7dbc5f9f05d4590e6abe9d
refs/heads/master
2020-12-03T09:22:42.289366
2017-06-28T02:20:01
2017-06-28T02:20:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
216
h
CElapsedTimer.h
#pragma once #include <stdhdr.h> class CElapsedTimer { public: CElapsedTimer(); ~CElapsedTimer(); time_t ElapsedSecs(); void Start(); private: time_t m_iStartTime; bool m_bStart; };
2b2dc421d2b62d3c1211b276d0deff1c1d1c17d0
0097cf26bfaae8855d9910d0cd662ff16b50aa53
/src/physics/AbstractForceGenerator.hpp
63e5e365fbf52714bae943d4b13bde2e6b32ca15
[ "Zlib" ]
permissive
benzap/Kampf
a5e5f5152685d55d76e355550d79ebaa6d655425
9cf4fb0d6ec22bc35ade9b476d29df34902c6689
refs/heads/master
2021-01-17T16:55:35.956298
2016-07-21T22:17:48
2016-07-21T22:17:48
1,658,628
3
0
null
null
null
null
UTF-8
C++
false
false
1,316
hpp
AbstractForceGenerator.hpp
#ifndef ABSTRACTFORCEGENERATOR__HPP #define ABSTRACTFORCEGENERATOR__HPP //DESCRIPTION /* Includes an abstract for force generators within the physics system. Force generators are containers which assign certain forces to registered physics components. */ //CLASSES class AbstractForceGenerator; //INCLUDES #incl...
730eb55d5eb67019ab2c9ff1e02301e7674eeced
341b20dba0b178f4679c882f68edc47f4a8cabc7
/classes/BlastEffect.h
fb7f62b05110781457ccbcb608008262b2edd0eb
[]
no_license
SergeyRad/XanthicStars
2b0667792020c1a7fcf2fc459581cfd85973eb03
0f94fb4199db4379aa5db519326e167cc81671fb
refs/heads/master
2020-12-31T05:24:12.553600
2016-05-03T17:32:59
2016-05-03T17:32:59
57,985,230
0
1
null
2016-05-03T17:57:47
2016-05-03T16:46:02
C++
UTF-8
C++
false
false
222
h
BlastEffect.h
#pragma once #include "tilemovi.h" class BlastEffect : public Tilemovi { public: BlastEffect(void); ~BlastEffect(void); void data(void); bool behavior(float time); void drawBlastEffect(sf::RenderWindow* window); };
227e7bc69472bd54d49d725d2faaf5d00a5e2d79
11dcfef0769506062ae9658bbbcfef68dbe79e8d
/src/Modele/include/StrategieNeutre.hpp
0ff7388d1cddbdc6e5163e7d60e730b47abe6fbe
[]
no_license
Soulei/GrenouilleCpp
232994e27a015a5f7649eaeba50a2b41c04b9b04
88ed68ae340a5e4db04ad4d13e354de5333befe6
refs/heads/master
2021-01-18T01:49:00.768305
2016-11-14T23:01:54
2016-11-14T23:01:54
68,293,659
0
2
null
null
null
null
UTF-8
C++
false
false
1,520
hpp
StrategieNeutre.hpp
#ifndef StrategieNeutre_hpp #define StrategieNeutre_hpp #include "StrategieAbstraite.hpp" namespace grenouilloland { /** * @class StrategieNeutre StrategieNeutre.hpp * @brief StrategieNeutre du Jeu Grenouilloland. * * Declaration de la classe StrategieNeutre réprésentant la stratégie neutre d'un nénuphar du jeu...
2888df50e6e7986bd78a78b5fdcd7cad244427b2
293902682d7ee13be81ada6c28ef6b840983ac33
/CORAL_SERVER/CoralSockets/src/ThreadManager.cpp
807a6b99c1a845ded675410b518a597be9a94f79
[]
no_license
cms-externals/coral
d17cba45fff7f34d7a1ba13ab3bb371e0696c1af
a879b41c994fa956ff0ae78e3410bb409582ad20
refs/heads/cms/CORAL_2_3_21py3
2022-02-26T18:51:25.258362
2022-02-23T13:19:11
2022-02-23T13:19:11
91,173,895
0
4
null
2022-02-14T13:20:11
2017-05-13T12:47:54
C++
UTF-8
C++
false
false
6,593
cpp
ThreadManager.cpp
// $Id: ThreadManager.cpp,v 1.9.2.3 2010/12/20 14:04:40 avalassi Exp $ #include "CoralServerBase/InternalErrorException.h" #include "CoralBase/boost_thread_headers.h" #include "ThreadManager.h" using namespace coral::CoralSockets; #include <iostream> #define LOGGER_NAME "CoralSockets::ThreadManager" #include "logger...
d83c640213e1f6a8dd5f2485870cf0727cfcb0da
0d4180498063d0b4a129170b5e885e79ab7de0b9
/wxGui/ItkVtkPipeline.h
8bd35f3fdef8d9e99ad3048a5fbd7064defd1546
[]
no_license
CISMM/ImageTracker
dd0038feaca23de0cf4aa17db50e95b170b0ca31
ad7efce0443daab8992721785edbb25cf9fe25ff
refs/heads/main
2023-06-27T10:55:41.556083
2021-07-29T13:07:17
2021-07-29T13:07:17
390,725,337
1
0
null
null
null
null
UTF-8
C++
false
false
1,855
h
ItkVtkPipeline.h
#pragma once #include <vector> #include <wx/wx.h> #include "itkDataObject.h" #include "itkLightObject.h" #include "vtkProp.h" #include "vtkPropCollection.h" #include "vtkRenderer.h" #include "Logger.h" /** * Links an itk data object (image) to a vtk visualization (renderer). * Specific subclasses handle data tra...
364d773f669ae2e16037eb0a6325142e2389b385
a3adc35e580f9f8b97469843c478faa45eae0cd3
/94.二叉树的中序遍历.cpp
524d982fe838d4780cf7a1c1378cd178df8d8936
[]
no_license
tbswang/leetcode
6378175e37b1982ebeff742873e43dddeeed0ca7
d3fc46de8cdebd2abb3eb47fc72be0ea2eede84b
refs/heads/master
2022-11-04T16:43:00.130285
2022-10-24T12:37:06
2022-10-24T12:37:06
131,710,787
1
1
null
null
null
null
UTF-8
C++
false
false
1,818
cpp
94.二叉树的中序遍历.cpp
/* * @lc app=leetcode.cn id=94 lang=cpp * * [94] 二叉树的中序遍历 */ #include <stack> #include <vector> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode() : val(0), left(nullptr), right(nullptr) {} TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} TreeNode(int...
71a15b9dfa2879cdd398243d6d690f8175270c95
e56517bae3da931689281154901b94ac6eaa7329
/model_render.h
9387002354c192ba553d7b52fab236235bcaeef8
[]
no_license
xsoma/necrozma
8a60a6f9f96f800f4918b606bd6fe0dd66bb1d39
0f0df3902c00e85b4bbf4e051825cda041b27045
refs/heads/master
2023-04-10T17:30:04.684490
2021-04-22T18:38:04
2021-04-22T18:38:04
360,646,556
6
3
null
null
null
null
UTF-8
C++
false
false
6,740
h
model_render.h
#include "DLL_MAIN.h" typedef unsigned short ModelInstanceHandle_t; struct ModelRenderInfo_t { Vector origin; Vector angles; char pad[0x4]; IClientRenderable* pRenderable; const model_t* pModel; matrix* pModelToWorld; const matrix* pLightingOffset; const Vector* pLightingOrigin; int flags; int entity_index; ...
fd231d11a584bf72f15a1abb7771f234ac68d86a
e52762a18d34707470cf6af2356a6bf0db6726c4
/Online19/discshop.cpp
0f7c1325c3d160c0db2cccbf798be3fbc8dae9ae
[]
no_license
geckods/ICPC
0f8296c877d9af2410b45607353047df70afd5b7
9861386a98b2c968cddc53cc351fbf89f05fbc65
refs/heads/master
2021-04-19T14:20:51.531833
2020-03-24T04:24:46
2020-03-24T04:24:46
249,612,161
0
0
null
null
null
null
UTF-8
C++
false
false
785
cpp
discshop.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main(){ #ifndef ONLINE_JUDGE freopen("input", "r", stdin); freopen("output", "w", stdout); #endif ios_base::sync_with_stdio(false); cin.tie(NULL); ll t; cin>>t; for(int test=0;test<t;test++){ ll n; cin>>n; ll ans=LLO...
690c93157768312bbe8616bb3cb346cfb5c5bde3
cd2eb0fa3f751739e2eefccf8a1899e6f3b46f51
/src/multiplication_field.hpp
0d8070d6d7c47b0cfdb913761dbc4e4ddc6ba0f6
[]
no_license
takah29/arm-assembler
42aa885993ea188b3000e041319ad7807691595c
bc248561514390b2d4df19b6508b170a102c7897
refs/heads/main
2023-04-13T19:59:21.367230
2021-02-10T16:22:52
2021-02-10T16:22:52
316,786,442
0
0
null
null
null
null
UTF-8
C++
false
false
979
hpp
multiplication_field.hpp
#ifndef _MULTIPLICATION_FIELD_H #define _MULTIPLICATION_FIELD_H #include <string> #include <vector> #include "field.hpp" #include "types.hpp" class MultiplicationField : public Field { uint32_t cond; // 4bit uint32_t op; // 2bit uint32_t funct; // 6bit uint32_t...
820fda1c79ce7984ddc3c844c5dff1c6aa9a4dde
9e8b380f7d73ae1f93c88bfbc0a744498109f8fc
/src/File/OBJReader.h
84c568daedc9b5b1c698cbcadb11af4f8f4e952f
[]
no_license
fredrb/OBJReader
429f2b4ace65ac68fd26d7ab7ddec7b8b2fb339a
bf3e98f94561a3de11eeb1c028ee81eb519bad35
refs/heads/master
2021-08-28T19:33:11.351125
2017-12-13T02:55:43
2017-12-13T02:55:43
105,011,791
1
0
null
null
null
null
UTF-8
C++
false
false
1,090
h
OBJReader.h
#ifndef OBJ_READER_H #define OBJ_READER_H #include <iostream> #include <vector> #include "MTLReader.h" typedef struct { float x, y, z; } t_vector; typedef struct { float x, y, z; } t_vector_normal; typedef struct { unsigned int point_index; unsigned int normal_index; unsigned int texture_index; } t_face; type...
f422a419a3ddfe8f9baca0b83f57796ae6ce7a81
4a8388cd5cb9bd7f0ac5799615ece2dad91c8190
/signal_test/main.cpp
cbc0bd01b9b1ab8cae67479ec9f6e335421c1321
[]
no_license
gitgaoqian/C
c137989dfa1efc050a037b981deb449f4eae5c34
5b9e4b4e1de0030f548be944119f8c9eccb6757a
refs/heads/master
2023-02-21T06:07:50.817670
2021-01-24T08:28:50
2021-01-24T08:28:50
154,327,811
0
0
null
null
null
null
UTF-8
C++
false
false
891
cpp
main.cpp
//signal的举例函数:使用定时器settimer和getttimer #include <signal.h> #include <unistd.h> #include <stdio.h> #include <sys/time.h> int sec; void sigroutine(int signo) { switch (signo) { case SIGALRM: printf("Catch a signal -- SIGALRM \n");//每一秒输出一次 break; case SIGVTALRM: printf("Catch a signal -- SIGVTALRM \n");//每0.5秒输出一次 break;...
08017b42ea4b3c60b2df58a05b638f0dca000e68
00e4707809ee0c26f6139cf7497b40b2c874ff5e
/class/io/Sof/sof_02.cc
c4a4e6b89d51a6d8f6be9423a8529699a9c0189d
[]
no_license
5l1v3r1/hdphmm_lib
01dee591de8c48b644992723ba95f7c348ab016a
6e5e0af9b01f258fc91014af028d02de2eb1fb96
refs/heads/master
2021-08-31T16:56:59.228160
2017-12-22T04:34:41
2017-12-22T04:34:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
21,691
cc
sof_02.cc
// file: $isip/class/io/Sof/sof_02.cc // version: $Id: sof_02.cc 8121 2002-04-17 20:22:34Z huang $ // // isip include files // #include "Sof.h" #include <Console.h> // method: diagnose // // arguments: // Integral::DEBUG level: (input) debug level for diagnostics // // return: a bool8 value indicating status // bool...
dda7de6ca843fc9505044f713aa1a6ece7946a28
29750d3a04607e2d342db85479bd0e6fefdee219
/Game/highscorerecord.h
066072f32bdb2da709597a2121d00fa52b8799c4
[ "MIT" ]
permissive
sethballantyne/Plexis
eeca7fc30feed80f0c5991f4d30e3f939241c7f6
49b98918d9184321ba0dd449aded46b68eedb752
refs/heads/master
2022-10-05T08:25:30.451069
2020-06-06T02:45:07
2020-06-06T02:45:07
104,973,327
2
0
MIT
2020-06-06T02:45:08
2017-09-27T04:51:22
C++
UTF-8
C++
false
false
3,819
h
highscorerecord.h
// Copyright(c) 2018 Seth Ballantyne <seth.ballantyne@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files(the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy...
338926f450d193e724346f5c6b52d4128cfa5027
5c8645d9c4deee4e77c7a9ca649d24c49794ce6f
/CPP/1-100/Q1_TwoSum.cpp
f2ba8b20da991dc4099f969a7bf69618e980f6b5
[]
no_license
XiandaChen/LeetCode
51e9c851f739a5e47195745a2dddc87462a0efbf
fb8b5c67b3876f4a6752cdbe8c8b8979e185ab93
refs/heads/master
2022-10-23T20:34:56.375847
2022-10-17T06:06:27
2022-10-17T06:06:27
205,062,375
0
0
null
null
null
null
UTF-8
C++
false
false
407
cpp
Q1_TwoSum.cpp
class Solution { public: vector<int> twoSum(vector<int>& nums, int target) { unordered_map<int, int> umap; for (int i = 0; i < nums.size(); i++) { int complement = target - nums[i]; if (umap.count(complement)) { return {i, umap[complement]}; br...
61d5e9a09d3ef06b33c05b26711d2c60439a5793
b00ca3ef0aec0c161d11ae655957aed863fcb292
/C++/2156.cpp
3de11c7eebb7b79e4390272667f39db7b9b58352
[]
no_license
tmdghks9574/Algorithm
52b711915d1aa902e09216436adc02d038e95af9
0394cee78449a23f878b33154da543393bb6b24a
refs/heads/master
2021-07-19T04:10:06.512655
2020-08-10T05:44:17
2020-08-10T05:44:17
201,771,779
1
0
null
null
null
null
UTF-8
C++
false
false
555
cpp
2156.cpp
#include<iostream> #include<algorithm> using namespace std; int main() { int *drink = new int[10001]; int *DP = new int[10001]; int numcase; cin >> numcase; for(int i = 1; i <= numcase; i++) { cin >> drink[i]; } DP[0] = 0; DP[1] = drink[1]; DP[2] = drink[1] + drink[2...
0eb775a200d8b995cb492656029ff5673e947d7d
e83631ad9bc3989c42f6cb9f0349a79c08037164
/animal.cpp
b6e9ca924a1015b94f83e2c55abb4759aec195a3
[]
no_license
KatyaKaravaeva/HW_AVC2
2cb9207675264e085f06ab38cc6436bbd8302618
5a9d08b75cdabf51e9aa24df26f12bb2b27c95c6
refs/heads/master
2023-08-21T02:59:58.912617
2021-10-23T16:50:56
2021-10-23T16:50:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,113
cpp
animal.cpp
// // Created by kikin on 21.10.2021. // #include "animal.h" #include "beast.h" #include "bird.h" #include "fish.h" //------------------------------------------------------------------------------ // Entering language parameters from a file. Animal *Animal::StaticIn(FILE *file) { Animal *sp = NULL; ...
b7ac392264e34efd1d0db4e22e9489cbce8f3193
2c97fc62eab1f78c4a5d1a83826a75209ebb6d39
/1比赛题目/codeforces round 506 div 3/C.cpp
7f0b679f11116153a7f19a5247644760e3565915
[]
no_license
GaisaiYuno/My-OI-Code-1
f32932f1004e593ffee0b0e97cffd25d9e2851bf
c57ec4e2aaa1d770ee9490a42710d1cf71a153f2
refs/heads/master
2020-12-31T23:13:46.913582
2020-02-08T01:09:46
2020-02-08T01:09:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
743
cpp
C.cpp
#include<iostream> #include<cstdio> #include<cstring> #define maxn 300005 #define INF 0x7fffffff using namespace std; int n; int l[maxn],r[maxn]; int main(){ scanf("%d",&n); for(int i=1;i<=n;i++){ scanf("%d %d",&l[i],&r[i]); } int maxl,smaxl,minr,sminr; maxl=smaxl=0; minr=sminr=INF; int posl,posr; for(int i...
6d9b3ceb20197ccc9be8ef9b390c86893bdd42aa
58f9da8b0745afbfc668ef3ebe5f8fdfaf94d2e6
/leetcode/leetcode14.cpp
cc5a682b0e950e3c8ce9d96c11eaed42dcb2e60b
[]
no_license
dongyangli1226/problem_solving
6dcad4cd6581dda671ff78758947798e09493377
3d3fd9411046179c35b7608d7ef63eef1898159c
refs/heads/master
2020-03-19T07:26:43.866906
2018-12-03T02:28:28
2018-12-03T02:28:28
136,113,978
0
0
null
null
null
null
UTF-8
C++
false
false
701
cpp
leetcode14.cpp
//longest common prefix #include <iostream> #include <vector> using namespace std; string longestCommonPrefix(vector<string>& strs) { string res = ""; char c; //return empty string if no string in strs if(strs.size() == 0) return res; //loop into the chars of first string in strs for(int i=...
0e76e0b28749dc8b10f6e67aae821b3b31392c83
de56a68d56ec23a9a1068758b05bc051211fd01e
/ofs/master/file/File.h
617e2dff0e86ec9deecc85926b7a069e7cc50759
[ "MIT" ]
permissive
ooeyusea/zookeeper
e3b36ce4c69acc0640205ad829af5fdb06d7c3c3
6dc5297ba2248d809b2b0344085f2e00331e0a61
refs/heads/master
2020-04-26T21:50:20.718312
2019-08-28T15:37:29
2019-08-28T15:37:29
173,853,264
0
0
null
null
null
null
UTF-8
C++
false
false
856
h
File.h
#ifndef __FILE_H__ #define __FILE_H__ #include "hnet.h" #include "Node.h" #include "OfsId.h" #include "RefObject.h" namespace ofs { class File : public Node, public RefObject { public: File() : Node(false) { _id = IdGenerator::GenerateId(); } File(int64_t id) : Node(false), _id(id) {} ~File() {} virtua...
e68eae40000a5c03565a912e3d590bc17f669187
4f4913b4905029b94166e899439c928d87c805f8
/circunferencia.cpp
f57024edaaa3faa866d2c8f224c28ce26802634e
[]
no_license
dirgnisally/grafica
43c9312b051884c566c01f12cafc15ef05b35b1c
aab3399e579395eed5f01ef59694d0f9f113927a
refs/heads/master
2020-08-10T21:46:00.924865
2019-10-11T12:12:01
2019-10-11T12:12:01
214,427,032
0
0
null
null
null
null
UTF-8
C++
false
false
2,825
cpp
circunferencia.cpp
#include <GL/glut.h> // GLUT, include glu.h and gl.h #include <iostream> using namespace std; typedef struct paleta_de_cores{ //estrutura criada com a finalidade de manter a paleta de cores a ser utilizada na função MidPointCircle GLfloat cores[3]; }cor; cor paleta; void reshape(int width, int height){ glView...
ed43574e1987d0836f3cf7d26b8097d62251aa77
407a4e7b0533e9c25c57952ef4c6b7b6bb19d1c1
/ArtScience Genetico/ArtScience_GeneticAlgorithm/ArtScience_GeneticAlgorithm.ino
4746622c020f9b72373089008cd7d73e8c29e476
[]
no_license
AndresDuran53/arduino_examples
efa6fedb623e1a92b2056fadb914bac3b3e9b5a0
9095d947f913356a04e7913b220c10479a98f61a
refs/heads/master
2020-05-20T06:17:35.997695
2019-05-07T15:19:56
2019-05-07T15:19:56
185,426,087
0
0
null
null
null
null
UTF-8
C++
false
false
2,250
ino
ArtScience_GeneticAlgorithm.ino
//Tomas de Camino Beck //www.funcostarica.org #include "Chromosome.h" #include <Adafruit_CircuitPlayground.h> #define N 10 //crea la poblacion Population pop(N); byte mejorChromosoma; int generacionesSinCambios = 0; //prende los pixles dependiendo de los bits en el cromosoma void setPixels(int a) { for (int i = ...
04ab31801a34571c3bdc978e4a5269ccc2e25419
30aa9ed19847a7830f3a566e30c6924fb4334556
/LPCLibraryProject/src/ScratchWork.cpp
cbeaede5443f95d624d444e8d45a3657cf403928
[]
no_license
rogeliomolina1/LPC_Projects
825648b54ec96793cc6c5541927a5d0d024b7424
1e6c36a0bc36939ed1ffd54e586ad6ce251ab9bd
refs/heads/master
2022-12-12T04:22:48.073991
2020-09-08T05:31:53
2020-09-08T05:31:53
293,704,910
0
0
null
null
null
null
UTF-8
C++
false
false
1,344
cpp
ScratchWork.cpp
/* * ScratchWork.cpp * * Created on: Sep 27, 2016 * Author: rogel */ //#include <iostream> //#include "lpclib.h" //using namespace std; // // //struct Point //{ // double x; // double y; //}; // //void Triangle(GraphicsWindow * win, // Point a, Point b, Point c, int dep...
a28b8a94ba5510f8bc4ee8a68200e39a9a38b0ae
877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a
/app/src/main/cpp/dir7941/dir22441/dir22442/dir22443/dir22444/dir22630/file22700.cpp
1bfe38f4c319f831f3abbc5570ad00c343e05058
[]
no_license
tgeng/HugeProject
829c3bdfb7cbaf57727c41263212d4a67e3eb93d
4488d3b765e8827636ce5e878baacdf388710ef2
refs/heads/master
2022-08-21T16:58:54.161627
2020-05-28T01:54:03
2020-05-28T01:54:03
267,468,475
0
0
null
null
null
null
UTF-8
C++
false
false
115
cpp
file22700.cpp
#ifndef file22700 #error "macro file22700 must be defined" #endif static const char* file22700String = "file22700";
f53b5872a1c7a17381647b8bbcddd9e142816daf
5a8e8a8ed3c1d5f48cab80c8d699a4736c3aa119
/example/TestCMD.cpp
8ed8f4657cc01d1f8008a10f0a6f84d53d77b5a2
[]
no_license
ooklasd/CommandPattern
8bc04e2e8f2d9b957feff61a4d50a90ff0a776ff
c98b1bbde9638ec7912f777342e02a94791e6b28
refs/heads/master
2021-05-09T05:37:07.973693
2020-03-18T03:27:38
2020-03-18T03:30:02
119,315,843
0
0
null
null
null
null
GB18030
C++
false
false
233
cpp
TestCMD.cpp
#include "TestCMD.h" #include "CommandManager.h" //TestCMD.cpp文件,此时ArgType为上面Json::Value _XXX_CMD_REGISTER(TestCMD); bool TestCMD::doit(const ArgType& arg) { //处理逻辑 auto doc = getDocument(); return true; }
4bbd2aff7fcfd21defa7ac78844334d8be2fe422
539be065df60cd17a095c3af61a8e443a4988bf0
/Elementary Algo/Math/main.cpp
3b3e44e59fd7a905aa8aa93399108dcd1cf7759b
[]
no_license
Luodian/LeetCode
b80743ebe6a7685eb113bc2d63d16827133de8c2
35fc66c4dc7d400ad76fcd893eb55d92ab540e87
refs/heads/master
2020-03-22T22:19:17.468061
2019-09-29T11:14:12
2019-09-29T11:14:12
140,745,405
1
0
null
null
null
null
UTF-8
C++
false
false
3,272
cpp
main.cpp
#include <iostream> #include <cstdio> #include <iomanip> #include <string> #include <cstring> #include <algorithm> #include <cstdlib> #include <vector> #include <queue> #include <stack> #include <cmath> #include <bitset> #include <unordered_set> #include <numeric> #include <set> #include <list> #include <map> using na...
e7a8102b3893c8b06b93133145018f147614ec87
37172696a71c0eb32ba63244481db7294b27d419
/908.cpp
9f3674e1302e1973f35b916dea001a0e134e2843
[]
no_license
ivanumen/Zadachi
53da71eeb5e441ffeedbb4fb87e1a6fce3daaca2
aff9090ce153e9b2ea4278c9025faa852468798e
refs/heads/master
2023-03-11T00:03:44.304448
2021-03-03T13:08:44
2021-03-03T13:08:44
287,325,354
0
0
null
2021-03-03T13:08:45
2020-08-13T16:11:17
C++
UTF-8
C++
false
false
548
cpp
908.cpp
#include <iostream> #include <vector> using namespace std; int delenie6(int number) { vector <int> positiveNumber(number); int sumpositiveNumber = 0; int kolpositiveNumber = 0; for (int i = 0; i < number; i++) { cin >> positiveNumber[i]; if (positiveNumber[i] > 0 && positiveNumber[i] % 6 == 0) { sumpositi...
25d7d1d2d8745aebac6ad7a8fe30715b48f02235
5ee5275410bc50cd794fa2990fb6a4b1375fb95e
/AnalogReadSerial/vanIntro/vanIntro.ino
1ffb48b39f4f3985246c510c2a08e379d960c351
[]
no_license
popov95s/HumanCable
cdfb3dc474c83a866defb3022b414409ee4fad49
4426ee43e0ccf18b41ea5dd1a70864d08a770a00
refs/heads/master
2021-01-20T02:25:22.102648
2017-05-16T08:09:19
2017-05-16T08:09:19
89,404,224
0
0
null
null
null
null
UTF-8
C++
false
false
1,645
ino
vanIntro.ino
/* AnalogReadSerial Reads an analog input on pin 0, prints the result to the serial monitor. Graphical representation is available using serial plotter (Tools > Serial Plotter menu) Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground. This example code is in the public ...
97700802e6d4f81f0954f0015f80741fb3a8d09b
f4dd0a6de36666c8669bc677a3b5c83077a635dc
/src/libs/kdmp-parser/src/lib/kdmp-parser.h
20cb239b17bd0bb11bd9039236dfa6903dd1deb0
[ "MIT" ]
permissive
0vercl0k/wtf
f1c42189bee27c6030c2cfa098a2eda050255295
9823579ef764b0b3c0af2f71b61d5aa47fb3de51
refs/heads/main
2023-07-19T17:59:45.759383
2023-07-09T04:21:04
2023-07-09T04:21:04
384,769,357
1,244
117
MIT
2023-07-09T04:21:06
2021-07-10T18:53:57
C++
UTF-8
C++
false
false
15,469
h
kdmp-parser.h
// Axel '0vercl0k' Souchet - February 15 2019 #pragma once #include "filemap.h" #include "kdmp-parser-structs.h" #include <cstdint> #include <cstdio> #include <optional> #include <unordered_map> namespace kdmpparser { using Physmem_t = std::unordered_map<uint64_t, const uint8_t *>; struct BugCheckParameters_t { u...
73ef3446f69e1a9d4820df7e1eb7a21f5636bcd4
bea17df170e61e9ecc43010e0a5ee521c78a1c5c
/BinarySearchTree/NodeBST.cpp
51374b709852d3b4581d2ab20d64bd5afdbc81b9
[]
no_license
AhmedHamdy-e21/Mars-Missions-Management
ba12ac87a64e4261d356073c685e2d3b7cb46071
6f5ec45b0a16b7ab5ea1b5b87f4737791e70b55e
refs/heads/main
2023-02-16T12:39:26.129595
2020-12-12T10:42:14
2020-12-12T10:42:14
314,981,462
0
0
null
null
null
null
UTF-8
C++
false
false
67
cpp
NodeBST.cpp
// // Created by raspberry on 2020-11-30. // #include "NodeBST.h"
0c8a288769886af996fbcd15889ebbaa8d3fc7ef
bdc67ddec677652859d5af62fb9be76e232064b8
/c++ learning/Others/2to8(1373번).cpp
6ad156fb5438191a7e6d1241fc0ecc2655cecf09
[]
no_license
vvonth/Algorithm
e1491bf95740fb6037ae4834c7bd05d38db11c88
7847ffd9ae32410507b93226e424b6a3886c38ae
refs/heads/master
2023-02-16T18:31:36.631210
2021-01-10T03:35:25
2021-01-10T03:35:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
465
cpp
2to8(1373번).cpp
#include<iostream> #include<algorithm> using namespace std; char nu[400001]; int main(void) { string s; cin>>s; int a=0; int m=s.size(); for(int j=m-1;j>=0;j-=3) { if(j-1<0) nu[a++]=(s[j]-'0'); else if(j-2<0) nu[a++]=(s[j-1]-'0')*2+(s[j]-'0'); else...
35e526292dc2f75e583adb62ca2c78c0cb7fd903
9d4a4bc4af1280a5967cfe6d39f22b2e2becaac9
/terms/codeup/sorts/codeup/4-1-I.cpp
74497a74b2e8f46d4f623c2213990f379fd58051
[]
no_license
wayne155/Algorithm
41bce3d7b75d802da136280e2e6f767d630aad55
c2df04a2a14431c314cb6715b959badc1aeb640a
refs/heads/master
2023-08-05T03:17:00.030994
2021-09-11T08:05:42
2021-09-11T08:05:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,444
cpp
4-1-I.cpp
// // Created by dell on 2021/6/6. // #include <iostream> #include <cstring> #include <algorithm> using namespace std; struct Student{ char id[24]; int m; //解决的题目总数 int solved_list[10]; //解决的题号 int score; //分值 }stu[1010]; bool cmp(Student a, Student b){ if(a.score != b.score) return a.score>b....
ea9b8f9f94cd34a6cfd287726509d3b1346bb290
3897d70c8b7b16f36f67c891b187bcf900f5426a
/EP1/EP1/main.cpp
de8e231a91b1cd59996423f614134b377a897f62
[]
no_license
NewBar/Numerico
f49526a6e78d802a73b1942a0ae4b92521677574
40d2a8ba654359f3a317745256f59a7e5d9d7f95
refs/heads/master
2020-05-30T10:50:44.445287
2019-06-01T03:11:39
2019-06-01T03:11:39
189,683,704
0
0
null
null
null
null
UTF-8
C++
false
false
9,130
cpp
main.cpp
#include <iostream> #include <stdlib.h> #include <math.h> #include <fstream> #include "rotacao_givens.h" #include "matriz.h" #include "treino.h" using namespace std; int main() { int tarefa, modo; int n, m, p; cout << "Para tarefa digite 1, para principal digite 2:"; cin >> modo; if(modo == 1){ ...
8a430080926bc3682abb693d71811cc79af58a7b
71fca665b684e25d7b6a1497b74242864496ed6a
/Algorithms/Implementation/c++/06.serviceLane.cc
e60322302c5f21ea6ea47436ed64f9c5e8e801fb
[]
no_license
manojk16/hackerRank
64e102aa8c708c74f2efce8c237face7d36faff3
0e4fccc3740e6b8adfdda0cb3deb55a5393571df
refs/heads/master
2020-03-18T03:55:02.472335
2018-06-15T07:36:05
2018-06-15T07:36:05
134,262,191
0
0
null
2018-05-21T11:50:18
2018-05-21T11:50:18
null
UTF-8
C++
false
false
2,810
cc
06.serviceLane.cc
/* Calvin is driving his favorite vehicle on the 101 freeway. He notices that the check engine light of his vehicle is on, and he wants to service it immediately to avoid any risks. Luckily, a service lane runs parallel to the highway. The length of the service lane is N units. The service lane consists of N segment...
8f984cbada1938a11019cc1a9925580138b00f6d
8a510c42a0661952af0098aac4824dca6a3992b5
/software/arduino/Main/EepromModule.ino
b61a26c8dfdf67a9d528474af89971bc6ecdbac0
[]
no_license
dossiersolutions/team-bjorn
bedf9da0b0f506495557fd89067e1b94999b5342
090a9a7ec1808e42ea7bc12ec04b9dc8d56b690f
refs/heads/master
2020-04-07T20:06:16.513563
2018-12-07T15:04:37
2018-12-07T15:04:37
158,675,296
1
0
null
null
null
null
UTF-8
C++
false
false
4,776
ino
EepromModule.ino
#include <EEPROM.h> #define EEPROM_MIN_ADDR 0 #define EEPROM_MAX_ADDR 1024 #define DEBUG_EEPROM false boolean EepromModuleWriteString(String data, int address){ if(DEBUG_EEPROM){ Serial.println(); Serial.print(F("EepromModule: Writting ")); Serial.print(data.length()); Serial.print(F(" bytes to "))...
7c20a213c862cbb811e755dbe33f2dd9d3f63036
c43aa45c8fb06fead80b5af8de59425d9ef3db05
/Project 2 - Template/Joint Project 2/MainMenu.cpp
a3f5121bb9aa9210f15ec408a94aa1a8d5762ff7
[]
no_license
powerb/Practice
951cbcccffc627259e532e1b43522f7b1b3b881c
c165fc5d6b2d884eb97887a094fa468b586c2321
refs/heads/master
2022-05-24T10:10:42.860364
2020-05-01T15:45:11
2020-05-01T15:45:11
260,474,166
0
0
null
2020-05-01T14:18:41
2020-05-01T14:07:38
null
UTF-8
C++
false
false
3,078
cpp
MainMenu.cpp
#include "MainMenu.h" /// <summary> /// setup font and message. /// /// Used to get a reference to the font and /// load texture and setup sprite and text /// for each button and positions on screen void MainMenu::initialise(sf::Font& font) { m_topOffset = 50; m_verticalSpacing = 100; m_buttonWidt...
fce6d1fedea254c64e4af29a20f86057381c7cb6
204bc4fe1d6cb71f29e7c6b579f30160107121e7
/Src/WorldPad/WpStylesheet.cpp
3f51ccb0011b836e4b9e6caccf8b33a3d0e0bd87
[]
no_license
sillsdev/WorldPad
5ab38c0162e03b7652b7c238a4571774e4d0efc9
79762436d0b9420d1e668943ed35cdefad716227
refs/heads/master
2020-06-03T04:42:19.274488
2012-10-22T12:02:38
2012-10-22T12:03:49
6,078,880
7
3
null
null
null
null
UTF-8
C++
false
false
7,393
cpp
WpStylesheet.cpp
/*--------------------------------------------------------------------*//*:Ignore this sentence. Copyright (C) 2000, 2001 SIL International. All rights reserved. Distributable under the terms of either the Common Public License or the GNU Lesser General Public License, as specified in the LICENSING.txt file. File: Wp...
ecfad9b81be520fe688960a01aeb45e9def315ca
6e972d80d2739c8a606265aa90e9b2f1e55dca48
/TravelingSalesPerson/middleearth.h
bb17fb17ddcdbdfef5bd56fea55af5bf53043ff4
[]
no_license
vrk7bp/ProgramAndDataRepresentationSpring2013
b9ba18328bc767d500780795ad3c86a536b239a3
f02892613199daa7e8fda162c195abe24c1f5221
refs/heads/master
2020-08-23T16:27:25.936468
2013-07-13T22:59:04
2013-07-13T22:59:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,898
h
middleearth.h
//Venkata-Gautam Kanumuru, vrk7bp, middleearth.h, April 22nd, 2013 //Provided for both the In-Lab and the Post-Lab, only doxygen comments were added. #include <iostream> #include <vector> #include <string> #include <map> #ifndef MIDDLEEARTH_H #define MIDDLEEARTH_H using namespace std; // see the comments in the la...
034f4937e42f679ef9e63a75a77803da6f6121a7
63e4f2529d171a0fd475d090e998eef0b2ee43dd
/src/ball.cpp
a3d14382c7fa0cc6bcc4d17916c222565cbe146c
[]
no_license
Elzapat/qt-pong
31542e4d933594a15b13c49a313d56d83fdd1c73
92e3e16910a51162072386922431ebc4db411045
refs/heads/master
2023-04-28T17:40:03.955794
2021-05-22T13:34:11
2021-05-22T13:34:11
349,416,127
18
0
null
null
null
null
UTF-8
C++
false
false
6,177
cpp
ball.cpp
#include "../include/ball.h" Ball::Ball() : vx(0.f), vy(0.f), is_moving(false), ball_speed(Config::get<qreal>("ball_speed")), QGraphicsRectItem( 0, 0, Config::get<quint16>("ball_width"), Config::get<quint16>("ball_height") ) { this->setBrush(Config::get<QColor>("ball_color")); // I...
71f43c5da45cdf7536da02eed45ba4cd7a7714ba
f26ef5f176c2e9d9fe3fbbc9a04e4e17a2189a48
/C++/LIBRAS.CyberGlove/include/vhandtk/vhtPairTable.h
9c1cff434fb2987c25b345521384f3addf18256d
[]
no_license
haroldogtf/LIBRAS.CyberGlove
9df17fee91a3d318d0eb4161d9702eeea23fa4c8
a1f7fc92efce0a9221bfc2037c37b9b926bc9f0e
refs/heads/master
2021-01-15T10:06:51.297507
2016-05-09T02:19:32
2016-05-09T02:19:32
53,633,766
8
1
null
null
null
null
UTF-8
C++
false
false
3,909
h
vhtPairTable.h
#ifndef VHT_PAIR_TABLE_H #define VHT_PAIR_TABLE_H /******************************************************************** FILE: $Id: vhtPairTable.h,v 1.11 2002/08/28 23:16:22 jsilver Exp $ AUTHOR: C. Ullrich DATE: 1998 DESCRIPTION: - a data structure for managing all possible collision pairs TODO: - ...
a9cbcf2b6cfd1f3407c55ee927aee626d57e1052
11699e958323a73eadde7be208a10852b1675080
/include/cross_section_2016.h
95ab5be05d9c322220367e00e2e13a1d7ece4578
[]
no_license
ywkao/tqHGG
b934da2de00a0e94cde462fd7ee128452ab6c77a
fdfd3f7fe40514738063d8c021a467d651025d4c
refs/heads/master
2023-03-26T07:39:42.523098
2021-03-10T16:49:51
2021-03-10T16:49:51
159,181,010
1
0
null
null
null
null
UTF-8
C++
false
false
6,702
h
cross_section_2016.h
#ifndef __CROSS_SECTION_2016_H__ #define __CROSS_SECTION_2016_H__ #include <string> using namespace std; //NOTE: these are final cross section values with the branching fraction(s) taken into account. float GetLuminosity_2016(){ return 35.92; } float GetXsec_2016(char* dataset){ if((string)dataset == "DYJetsT...
ae8449634af6eda1071af093d0955fe840347c83
aad28fa1140e713c8591db5a383ac5f6605f743b
/19 Отрезок/Отрезок.cpp
319cd3594c9835034f325c46c10ab8de09d18fa8
[]
no_license
DaniilMuntyan/Solutions_e-olymp
d7ad45357d4f999c853efefcd47c39bc17e33664
7a318572e13f2e6103a2ade49c8ce9c5210caad9
refs/heads/master
2021-02-28T15:22:58.506994
2020-03-07T21:42:50
2020-03-07T21:42:50
245,708,666
3
0
null
null
null
null
UTF-8
C++
false
false
361
cpp
Отрезок.cpp
#include <bits/stdc++.h> using namespace std; long long gcd(long long a, long long b) { if(a==0 || b == 0) return a+b; if(a > b) return gcd(a%b,b); else return gcd(a,b%a); } int main() { long long x1,x2,y1,y2,res; cin >> x1 >> y1 >> x2 >> y2; res = gcd(abs(x2 - x1), abs(...
af08a45ad34f3d75f5345220398f8b5c73ffacd9
d0e4275244e0eba2b0c1fc2c518e04f0212e3bac
/uva/good_colum.cpp
a8e69df51eda835702e4db7226a0c342d8b1a5ab
[]
no_license
IamYourAlpha/CONTEST-CODES
0b34ba29ef7cfa725539c069bc8a1e3ba5b8e54f
e8b12e08af53fcff4bdc08cc7a42eecd5598a83d
refs/heads/master
2021-06-08T13:00:35.511893
2021-02-26T07:44:45
2021-02-26T07:44:45
97,600,150
0
0
null
null
null
null
UTF-8
C++
false
false
630
cpp
good_colum.cpp
#include <bits/stdc++.h> using namespace std; int n, m, i, j, ans; string s[1001]; bool b[1001], z; void solve(){ scanf("%d %d", &n, &m); for(i = 0 ; i < n ; i ++){ cin >> s[i]; } b[0] = !b[0]; for(i = 0 ; i < m ; i ++){ z = 0; for(j = 0 ; j < n-1 ; j ++){ if(!b[j+1]) ...
145c06292307a0f3a105d2f259fbda60301303c6
c1b03b59b3974058e3dc4e3aa7a46a7ab9cc3b29
/src/module-doxygen/Class_structure.cpp
6e3b6f8fbc4014ac9e4f705a4f123ea384f831da
[]
no_license
gura-lang/gura
972725895c93c22e0ec87c17166df4d15bdbe338
03aff5e2b7fe4f761a16400ae7cc6fa7fec73a47
refs/heads/master
2021-01-25T08:04:38.269289
2020-05-09T12:42:23
2020-05-09T12:42:23
7,141,465
25
0
null
null
null
null
UTF-8
C++
false
false
3,811
cpp
Class_structure.cpp
//============================================================================= // Class_structure.cpp //============================================================================= #include "stdafx.h" Gura_BeginModuleScope(doxygen) //----------------------------------------------------------------------------- // O...
f488bc8abd301af81db83ed56e3d621827b5d100
79dd7d57e2cac14e8a948268605e1be0e74a7d25
/move_arm_warehouse/src/trajectory_stats.cpp
63047bc40acdd37ca01f2807fc97a4fd054d40cb
[]
no_license
shaun-edwards/arm_navigation_experimental
2f473a6683a2dd9b38f7b1765f6e0bb2ddf5cb7e
f4ccaf716962fe8e356c87c00984cf6510a1783b
refs/heads/master
2021-01-24T23:01:17.125537
2014-09-04T04:01:15
2014-09-04T04:01:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,886
cpp
trajectory_stats.cpp
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2011, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following...
364113d74b44e71e6c92fc99868b64f1669d2f23
379c42365ee91f04cff3a83a21489f7a59b46694
/src/all_mods.cpp
6d5910ca0b3b614b14aa93533b1b604e7bfaf32f
[ "MIT" ]
permissive
Cyclic3/murk
d75ed0358983066b32e7fa719a5e25ca132c5c14
fd2f71a4b258be71ef828f1223ddb76cc4ec8254
refs/heads/master
2020-07-01T18:33:56.963381
2020-01-31T16:19:50
2020-01-31T16:19:50
201,256,850
2
0
null
null
null
null
UTF-8
C++
false
false
2,746
cpp
all_mods.cpp
#define MURK_MOD_MAKE_NAME_INTERNAL(A, B, C) A##B##C #define MURK_MOD_MAKE_NAME(A, B, C) MURK_MOD_MAKE_NAME_INTERNAL(A,B,C) #define MURK_MOD_REGISTER(MOD, ...) \ void __attribute__((constructor)) MURK_MOD_MAKE_NAME(_,__COUNTER__,_mod_register)() { ::murk::mod::manager::register_path(MOD, __VA_ARGS__); } #include "m...
8094e55d5c7eb56ffaed8212e7a77af164ce48ce
57941eaa60dad87c7a1b25f5fb83b252f5c30076
/宝探しゲーム/宝探し/Hard.cpp
65f8854a15d3a9ff3192d09f54d90192689e538f
[ "BSD-3-Clause" ]
permissive
Dhikigame/games
8e25f6d71527c3ba85f4721e3d2f4797417159df
7a8af5e50deb130bb34a00d3b529a1daa5ec4d29
refs/heads/master
2021-01-10T19:14:23.271724
2015-07-10T12:58:10
2015-07-10T12:58:10
37,386,188
2
0
null
null
null
null
SHIFT_JIS
C++
false
false
18,661
cpp
Hard.cpp
#include "GV.h" void Hard(){ if (boxcount == 0){ for (i = 0; i <= 3; i++){ for (j = 0; j <= 3; j++){ boxstoreH[i][j] = box;//1ゲームごとに初期に”閉じた宝箱”をセット } } } DrawRotaGraph(320, 240, 1.0, 0.0, Draw2, TRUE); /* 宝箱を描画 右が配列の場合の配置 □ □ □ □ [0][0] [0][1] [0][2] [0][3] □ □ □ □ [1][0] [1][1]...
ba012aa5fb5f91e6a2883d85584d41a53a8ffd83
7addc813ddaa31ed381f1d2f9fa94a7915857fea
/Data Structures/Linear/Linked List/question7.cpp
84f43213e7a5bb40ebe3f087db1cc6b93f023092
[]
no_license
JasbirCodeSpace/Spider-Task-2
595127ee45c9282753ebf69921ee8015a465cf0c
637f6d0d2a8924950036327ebb2b959f6c227b81
refs/heads/main
2023-03-11T09:54:35.486541
2021-02-25T19:28:02
2021-02-25T19:28:02
329,349,675
0
0
null
null
null
null
UTF-8
C++
false
false
490
cpp
question7.cpp
//Question: https://practice.geeksforgeeks.org/problems/remove-duplicates-from-an-unsorted-linked-list/1 Node* remove_duplicates(Node* root){ Node *prev = NULL, *curr = root; unordered_set<int> unique; while(curr!=NULL){ if(unique.find(curr->data) != unique.end()){ prev->next =...
360e3040cf811e8ed377e5e9dd52750eac416de4
9ada6ca9bd5e669eb3e903f900bae306bf7fd75e
/case3/ddtFoam_Tutorial/0.004050000/Xi
315b0273a5792d01ed9927c230698150ed218e58
[]
no_license
ptroyen/DDT
a6c8747f3a924a7039b71c96ee7d4a1618ad4197
6e6ddc7937324b04b22fbfcf974f9c9ea24e48bf
refs/heads/master
2020-05-24T15:04:39.786689
2018-01-28T21:36:40
2018-01-28T21:36:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
98,759
Xi
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | ...
e77eae330c2d7484453f766b6af58355f37cf250
2bc4c97e10261e63ff843b5032d2abd5bab27233
/Code/utilities/AStarSearch.cpp
e7b496c755b5e4fbeb72619f86f0f0dac910e09f
[]
no_license
rcame/IndividualProject
0d9427f08a2b884ec75c6da393ce1a35d4cd6c77
48b465b22617e2754b79912e63f48f7eb914fb20
refs/heads/master
2021-01-21T13:29:21.006027
2016-04-29T12:14:27
2016-04-29T12:14:27
45,307,703
0
1
null
2015-11-01T19:47:54
2015-10-31T15:48:53
CMake
UTF-8
C++
false
false
4,404
cpp
AStarSearch.cpp
// // Created by richard on 12/03/16. // #include "AStarSearch.h" AStarSearch::AStarSearch(int **terrain) { this-> terrain = terrain; } shared_ptr<TerrainNode> AStarSearch::aStarSearch(int startX, int startY, int endX, int endY, int* cantTraverse, int cantTraverseSize) { ...
c5ca26a0edd1ef7de4291992ef093f7992fa7d92
1e0c5f921640e1d318a67174d2bdc52cf6d26034
/CoreLibrary/linux/ThreadLinux.cpp
d2ddb4a0a142f44079800bf8c0ad442492413f93
[]
no_license
chaabaj/CPPLibrary
6463ad8500c0e799524fbbcc66d56babe0ed25af
b7150aaa364c421c047cc99fabf12643b83e8570
refs/heads/master
2016-08-04T10:01:05.204468
2014-03-24T20:43:33
2014-03-24T20:43:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,424
cpp
ThreadLinux.cpp
#include <cstring> #include <ctime> #include <climits> #include <cerrno> #include "CoreLibrary/Thread/AThreadException.hpp" #include "CoreLibrary/Thread/linux/ThreadLinux.h" ThreadLinux::ThreadLinux() { std::memset(&_thread, 0, sizeof(pthread_t)); } ThreadLinux::~ThreadLinux() { } bool ThreadLinux::waitThread(lon...
e9169f21c13c268fec0f718298a1e4647b71c436
197cc77bc27f7178dccfe45491e75dd5a5b6d1a0
/src/Primitive.h
37b09950146b559c1ddaacfd7b44d46b67e5a575
[]
no_license
RickyBoyd/cg-raytracer
0264ada7f1e41af5c250ad1692aeecc25536cc65
37a9289ed0655d00125c8df2ef61ef06fe6d4619
refs/heads/master
2021-06-12T18:26:28.543929
2017-05-04T13:03:39
2017-05-04T13:03:39
80,721,593
1
0
null
null
null
null
UTF-8
C++
false
false
769
h
Primitive.h
#pragma once #include <glm/glm.hpp> struct Intersection { glm::vec3 position; float distance; int index; glm::vec3 normal; float u, v; // Barycentric coordinates }; class Primitive { public: float reflectivity_; float refractive_index_; virtual ~Primitive() = default; virtual glm::vec3 GetAmbientColour(con...
c7a1f17043f7fb789bd3c7024a94e6559bf6097d
6657a3d37192ba684d44939e50d822477bd80d5f
/EliCrane Level 4 HW Submission/4.3/Exercise1/Exercise1/Exercise1.cpp
179d9b4d9cfaa4421e04fc532d8e3560a7f35695
[]
no_license
eli-crane-89/CPP_Advanced
801fa7dda29f885f651fc108a4ca04ff2847b83a
86d086a1b2ff0d206e509ede2d192329186e3dc5
refs/heads/master
2021-09-14T21:12:20.154826
2018-05-19T22:19:06
2018-05-19T22:19:06
124,994,555
0
0
null
null
null
null
UTF-8
C++
false
false
5,335
cpp
Exercise1.cpp
#include <random> #include <iostream> #include "RandomFunction.hpp" template<typename T> void printVec(std::vector<T> v) { for (auto it = v.begin(); it != v.end(); it++) { std::cout << *it << " "; } std::cout << std::endl; } int main() { // Generate uniform random variates in interval [A, B] double A = 0.0; ...
b2041bb028748e6e0183bd60858cbe6ac7d7ae7b
fb4c7407f26c57a0151ce49b67d40e404ea069f7
/week1/10.cpp
7bc5b6f5a3121c9140fac962b808115807d4f941
[]
no_license
yudeeeth/Pdfquestions
1a6539e55824f961207818961844ef77d4c1437b
818a1ee50c6406ec62a13bbefc24ba329c54e881
refs/heads/master
2023-05-09T16:40:08.875451
2021-06-05T11:19:35
2021-06-05T11:19:35
352,121,601
0
0
null
null
null
null
UTF-8
C++
false
false
347
cpp
10.cpp
#include<bits/stdc++.h> using namespace std; string reverseWord(string str){ int start,end; start = 0; end = str.size()-1; char temp; while(start<end){ temp = str[start]; str[start] =str[end]; str[end] = temp; start++; end--; } return str; //Your cod...
7024d26dc027cb37d0567c6751bf41aff0d6c654
7d58240e3fd0a9ba58a7da5008e7ce96a9b205cd
/ResourceAware/resInfoMonitor.cpp
d3df5bc3690530746d0ec843875873f6f3520295
[]
no_license
chentaogithub/ResEneAwareOpt
af1456b74af23d137ec15c22f09be28dd9c3707b
3f6a97171fd28c51d74237d1ecd8fb602b0b4c0e
refs/heads/master
2021-02-04T14:14:10.013090
2020-03-25T08:58:56
2020-03-25T08:58:56
243,673,866
0
0
null
null
null
null
UTF-8
C++
false
false
3,232
cpp
resInfoMonitor.cpp
// // Created by lynne on 2/27/20. // #include <iostream> #include <dirent.h> #include <climits> #include "resInfoCollection.h" using namespace std; using namespace RESOURCE_INFO; struct ResInfoSchema{ SysTimeInfo sysTimeInfo; SysMemInfo sysMemInfo; SysDiskInfo sysDiskInfo; SysNetInfo sysNetInfo; ...
0ebe00839f4aaf5d897a9903ff4ba618123a09b4
84e124f86b33a62d67f40feba6e4ecd71a60a80a
/InsertionSort.h
18ef8d8acc84c5a17b2f2ec99bb51729e4bc2985
[]
no_license
Bai-BaiBai/Algorithm
8e087d2d0db28d4e6f41d300e1c220b56eb70fc2
7636928ed5d958fbf52158073d4cca2889f6d256
refs/heads/master
2020-05-24T16:29:04.374544
2020-01-03T14:56:48
2020-01-03T14:56:48
187,358,838
1
0
null
null
null
null
UTF-8
C++
false
false
1,021
h
InsertionSort.h
// // Created by BaiZehong on 2019/5/8. // #ifndef ALGORITHM_INSERTIONSORT_H #define ALGORITHM_INSERTIONSORT_H #include <iostream> using namespace std; /** * 插入排序 */ namespace InsertionSort{ template <typename T> void insertionSort(T arr[], int n){ for (int i = 1; i < n; ++i) { T e = a...
45e4f5e26a1993cbfb449ebe6080c3d7d92c0266
4d96e1fb172b878ef898ce7771125c98c880234a
/rclst.cpp
063f8788e1d4e29e4d236727763dda9ed477be89
[]
no_license
evgenykol/otus_cpp_16
0f539b0bcaeac28bb12685ede32133994f614e27
c8b79609bb895d4a568b81800e039cc1e378719f
refs/heads/master
2020-03-17T03:43:30.902153
2018-09-15T20:58:06
2018-09-15T20:58:06
133,247,881
0
0
null
null
null
null
UTF-8
C++
false
false
3,650
cpp
rclst.cpp
#include <iostream> #include <vector> #include <fstream> #include <dlib/rand.h> #include "version.h" #include "rlib.h" using namespace dlib; int main(int argc, char* argv[]) { try { std::vector<sample_type> samples; std::vector<sample_type> initial_centers; std::vector<double> label...
6a4722afa13561b3966e3fa7431ff658d3ce18a2
e583a8f85ce903df675db46e783719354bc608fb
/others/fisher-yates-shuffle/code/fisher-yates-shuffle.hpp
2a759542c78a7e066abef1c522bd7f8b4140e49c
[]
no_license
h-hg/data-structure-and-algorithm
4b2da6f896279f7cc89d5098602ee4f03db233a9
8ec31f6c77c71c9948a65ba6fee41e09ae239f84
refs/heads/master
2022-06-27T08:31:10.894936
2022-06-10T01:55:15
2022-06-10T01:55:15
249,697,468
5
0
null
null
null
null
UTF-8
C++
false
false
489
hpp
fisher-yates-shuffle.hpp
#ifndef _FISHER_YATES_SHUFFLE_H #define _FISHER_YATES_SHUFFLE_H #include <algorithm> #include <ctime> #include <cstdlib> static auto _ = []() { srand(time(0)); }; // return random number in [minVal, maxVal] int random(int minVal, int maxVal) { return rand() % (maxVal - minVal + 1) + minVal; } template <typename ...
db6c06daec7eca2e14fa8c5e6a7cd8823e7a5159
24679881f8ad5af84c76b77753f0670313686a0e
/src/EmyChat/node_names.cpp
04319d364d11cdc310358c31bb703a38ee337203
[ "MIT" ]
permissive
beegee-tokyo/Emy-Chat
8ceeb2f4dca2a48a93b17336cf4ada27e01fb12b
8bb4e2e7b8e4801b469cad5ad1aa1f0429fb42c7
refs/heads/master
2021-02-10T00:44:58.508878
2020-03-12T07:14:44
2020-03-12T07:14:44
244,339,218
4
0
null
null
null
null
UTF-8
C++
false
false
3,006
cpp
node_names.cpp
#include "main.h" /** The list with all known names */ namesList *namesMap; /** Index to the first free name entry */ int namesListIndex = 0; /** Max number of nodes in the list */ int _numOfNames = 0; /** * Initialize list of node names * @param numOfNames * max number of node names */ void initNodeNames(int ...
7522f5a62f4d02d07727e3eb1ffe57614d1ffadb
4db165b7859b4db00b3a6bbe174ad286f9b23813
/C++ Tasks/A10P3/A10P3/City.cpp
5d3ca4f60760087bff5299c852287b8d39ca968f
[]
no_license
osobiehl/C-and-C-
1461d947fe5375cf05d546699e76b5deb9fc20b9
69a934a62052ca8541339eaa5092a697e8205c87
refs/heads/master
2022-12-16T11:33:15.357872
2020-09-10T14:44:59
2020-09-10T14:44:59
294,438,857
0
1
null
null
null
null
UTF-8
C++
false
false
757
cpp
City.cpp
/* CH-230-A a10 p3.[c or cpp or h] Jose Biehl j.biehl@jacobs-university.de */ using namespace std; #include <iostream> #include "City.h" void City::setName(string& newname){ name = newname; } void City::setInhabitants(long int& newinhabitants){ inhabitants = newinhabitants; } void City::setMayor(string& newm...
92f8d0499f373adc23a5e4d436866302beb44e30
c19e2b7d95394bf491ff9c3ab6c9516ebc3903df
/extras/attic/src/sensors/opticalflow/lpf_opticalflow.hpp
1da77811bf377c1f5f857a4fab37bfb73a414ec2
[ "MIT" ]
permissive
nobelmanaye/Hackflight
66268d9a980160b10855c9d7c889ba1747527e2d
17d2bf7c769ae05e21d857335f5c11868e3db39e
refs/heads/master
2023-05-04T02:28:28.614423
2021-05-20T20:25:37
2021-05-20T20:25:37
369,320,938
0
1
MIT
2021-05-20T20:25:38
2021-05-20T19:46:06
Java
UTF-8
C++
false
false
3,079
hpp
lpf_opticalflow.hpp
/* Support for PMW3901 optical-flow sensor with low-pass filter Copyright (c) 2018 Simon D. Levy This file is part of Hackflight. Hackflight 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, ei...
488c2a153428ef6ab58e02495e2e8e1bcb590339
db5219feafd31f3b782e6ef0cbb3865ddf594f1c
/Files/Functions_pointers.cpp
196922edb7541671cea8b4013b1c8edb74417b53
[ "Apache-2.0" ]
permissive
Ninosauleo/tutorialC-
cab397716cd5ac4b65ed0c8ea687b21eee59ffbb
fd76ff79bb80da78649d0e3da31966c24bc8063d
refs/heads/master
2021-07-14T22:42:14.547036
2020-07-15T12:48:53
2020-07-15T12:48:53
84,781,743
0
0
null
null
null
null
UTF-8
C++
false
false
1,040
cpp
Functions_pointers.cpp
#include <iostream> using namespace std; //void multiplyBy(int &, int); int * multiplyBy(int *, int); void multiplyArrayBy(int *, int, int); int main() { /* int a = 10; int *b = multiplyBy(&a, 5); *b = 999; cout << a << endl; cout << *b << endl; */ int array[10]; //cout << size...
c910e95495aa3a678c05d82b6387233c5080cac5
5e64f5acb358b5400647ca97203ec58e58d38730
/main.cpp
11dfb79f8b6387c45b83ea204c5b2d0c66413117
[]
no_license
yuliyacz/oop-examples
c88b898570c7e700cd1d075a8057f04ec729ade1
b9757efccc8d78c14b68feefa4f94b9cd3eb713d
refs/heads/master
2021-06-11T14:15:28.659916
2016-12-05T17:21:44
2016-12-05T17:21:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,977
cpp
main.cpp
#include <iostream> #include <vector> #include <fstream> #include <limits> #include "Room.h" #include "Person.h" #include "Reservation.h" #include "Date.h" #include "Hotel.h" #include "priklady/Student.h" #include "priklady/Cislo.h" #include "priklady/GumovePole.h" using namespace std; int main() { //Hotel rese...
ee9aa027b492fd73d5bc14f1ee151c092838ddf7
e65a4dbfbfb0e54e59787ba7741efee12f7687f3
/devel/electron23/files/patch-services_device_hid_hid__service.cc
0830326cab3c5a733628dded393625e0ea7fb059
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
freebsd/freebsd-ports
86f2e89d43913412c4f6b2be3e255bc0945eac12
605a2983f245ac63f5420e023e7dce56898ad801
refs/heads/main
2023-08-30T21:46:28.720924
2023-08-30T19:33:44
2023-08-30T19:33:44
1,803,961
916
918
NOASSERTION
2023-09-08T04:06:26
2011-05-26T11:15:35
null
UTF-8
C++
false
false
1,012
cc
patch-services_device_hid_hid__service.cc
--- services/device/hid/hid_service.cc.orig 2022-11-30 08:12:58 UTC +++ services/device/hid/hid_service.cc @@ -20,6 +20,10 @@ #if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && defined(USE_UDEV) #include "services/device/hid/hid_service_linux.h" +#elif BUILDFLAG(IS_OPENBSD) +#include "services/device/hid/hid_se...
0ce50fd9691fcc13e7eb4ead994fa4d8baab026e
0224a30ff811a65e452a32143ed1d7a73aebc3be
/src/checkpoints.h
c9bdefa19a098d6eabe0fdf8d988f81781985534
[ "MIT" ]
permissive
xiaolin1579/TDC
893667bfd0bc83e43cb11b0e7a03eb41572837c2
c5aadc1676cc9bdb7e558500c55944d3a78fb8be
refs/heads/TDC
2022-10-06T09:07:45.172219
2020-05-30T04:58:52
2020-05-30T04:58:52
267,499,071
0
0
MIT
2020-05-28T10:51:14
2020-05-28T05:12:24
null
UTF-8
C++
false
false
1,563
h
checkpoints.h
// Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_CHECKPOINT_H #define BITCOIN_CHECKPOINT_H #include <map> class uint256; class CBlockIndex; /** Block-chain c...
fd475137b5c0e9dc9cabc8d8295b3d1de063b020
3c3b2f787577c78a022c473456caeab85f678de8
/main.cc
0a20a245c9979c08de3f4955d05e3a2c21e84af7
[]
no_license
Brubrobra/commentCounter
1238e121c73f7b357921c6cdba604d1659b28a05
632dfc01670042e910334580fb291d0ac4d15d53
refs/heads/master
2020-08-22T13:01:37.618959
2019-10-21T03:10:41
2019-10-21T03:10:41
216,400,218
0
0
null
null
null
null
UTF-8
C++
false
false
3,295
cc
main.cc
#include <iostream> #include <string> #include <fstream> #include <sstream> #include <stdlib.h> #include <vector> #include "utils.h" using namespace std; int main(int argc, char* argv[]){ string fileToRead;/* the name of file to read */ if(argc < 2){ cout<< "ERROR: expecting a file name" << endl; exit(1);/* no ...
34e5b2b08fd03de826290e35c7ee0d8e226d3a39
fa224b83a4f2bf1f969233a5f0ea7547ca8abde4
/namename4.cpp
d9023fde2d229d3c6843e0679c58a8fcb7e4510a
[]
no_license
stamhoffman/coursera
b54af6b9e518a9a1e84a04ab7cf61b7a8a2caa21
3eda5219488c28310e1b50a346b1ac4180b15f70
refs/heads/master
2020-12-12T16:35:08.122022
2020-01-15T21:33:16
2020-01-15T21:33:16
234,176,049
0
0
null
null
null
null
UTF-8
C++
false
false
4,491
cpp
namename4.cpp
//#include <algorithm> //#include <fstream> //#include <iostream> //#include <iterator> //#include <map> //#include <set> //#include <string> //#include <vector> // using namespace std; // class Person { // public: // Person(std::string first_name, std::string last_name, int year) { // data[year]["first_name"] = ...
2d554ab72789bfd771037567811eb0364b804b12
88dc4ff0c8427ae59f5c4f5e2a3572e7e1316951
/TetriusClone/BitMapObject.cpp
e915ef9fea48572f1d60e32c14ce0f2199b80a96
[]
no_license
Ethoe/Cpptris
596398fdf036be7d73aa4f84818bc3f704436b58
34e66d3458c82a610dec4c62f6dca98d010a5ba0
refs/heads/master
2021-01-13T18:12:28.590980
2020-02-24T23:47:40
2020-02-24T23:47:40
242,452,681
0
0
null
null
null
null
UTF-8
C++
false
false
1,301
cpp
BitMapObject.cpp
#include "bitmapobject.h" BitMapObject::BitMapObject() { hdcMemory = NULL; nextBitMap = NULL; oldBitMap = NULL; iWidth = 0; iHeight = 0; } BitMapObject::~BitMapObject() { if (hdcMemory) Destroy(); } void BitMapObject::Load(HDC hdcCompatible, LPCTSTR lpszFilename) { if (hdcMemory) Destroy(); hdcMemory = ...
e9f74bf815efe1a6ce5c6882b5271f6e76473dd1
a8fecb3a9ba96cb697209bf7d219d2b5ae91ca5d
/Leetcode/Leetcode_Problems/Remove_duplicates_from_sorted_array/main.cpp
0f44a06d319ef2cc84e3ed9d363b9644cf6bb040
[]
no_license
sabasarwar/Coding_Practice
c7344e5d41d4ada9bea720d72ba0e49a8af7551d
182b1c605c39cc75e5e4a7818d82159895c8d217
refs/heads/master
2022-11-17T20:27:39.488304
2020-07-15T15:50:50
2020-07-15T15:50:50
257,617,997
1
0
null
null
null
null
UTF-8
C++
false
false
1,483
cpp
main.cpp
/* ----------------------- Problem Statement ----------------------------- Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. Do not allocate extra space for another array, you must do this by modifying the input array in-place with O(1) extra m...
0af047951b2a7cabe650704b413940c31772ec9b
9df48ca30c98a45eed8aecc99ef79af11c3a7348
/editor/include/Ressources/Manager.hpp
1fbd2761fc076451812f253b13f9378e0aa1c577
[]
no_license
benit8/NETiles
8818870ca5e5f48cf6412644e11bca2729d3faea
fca2e60e5a0dd369a13cef1b19baaf2a799330f0
refs/heads/master
2020-03-31T03:32:15.724203
2018-11-22T17:36:37
2018-11-22T17:36:37
151,868,553
0
0
null
null
null
null
UTF-8
C++
false
false
1,304
hpp
Manager.hpp
/* ** EPITECH PROJECT, 2018 ** NETiles / Editor ** File description: ** Ressources / Manager.hpp */ #pragma once //////////////////////////////////////////////////////////////////////////////// namespace Ressource { class Manager; } //////////////////////////////////////////////////////////////////////////////// ...
08184b64e900773a6d74843f97cfa76c37ac867b
4e99979e6f68580d93bea46b0addcf83b31da473
/src/environment.cpp
fdcf62cee7ce0f40506ff88757b322f2b3ff1280
[]
no_license
Marconefs/SFND_Lidar_Obstacle_Detection
0838234bf7aed7740d5523949d933b2c77a2bfed
305312e445cb6059f8206c2dca01ca72f32f26f1
refs/heads/main
2023-06-10T09:34:17.356700
2021-06-17T02:29:00
2021-06-17T02:29:00
377,312,899
0
0
null
null
null
null
UTF-8
C++
false
false
8,949
cpp
environment.cpp
/* \author Aaron Brown */ // Create simple 3d highway enviroment using PCL // for exploring self-driving car sensors #include "sensors/lidar.h" #include "render/render.h" #include "processPointClouds.h" // using templates for processPointClouds so also include .cpp to help linker #include "processPointClouds.cpp" #inc...
f062158cf74eefb8c39fbd9c1b37c098d19e0176
ebeade2609e56126da910684fd41085b85f981d3
/Src/GaussianBlurConstantBuffer.cpp
4ef6842398382fde138f2d77882ec9df5fbc8648
[]
no_license
patrickjamescarr/DirectX_Engine
3364e3d68dffd9365cc781d1246038f242ad4044
bf98fcb8708658e462eaa00e8e5f5c03a035cf49
refs/heads/main
2023-08-15T17:52:27.860256
2021-10-08T12:18:11
2021-10-08T12:18:11
345,572,176
0
0
null
null
null
null
UTF-8
C++
false
false
715
cpp
GaussianBlurConstantBuffer.cpp
#include "pch.h" #include "GaussianBlurConstantBuffer.h" GaussianBlurConstantBuffer::GaussianBlurConstantBuffer(DX::DeviceResources & deviceResources, BlurBufferType blurParams) : m_blurParams(blurParams), m_deviceResources(deviceResources) { if (!m_blurBuffer) { m_blurBuffer = std::make_unique<Pix...
d6c2befcc84a7770a27d015a39c5e2c0cf12c6d5
01137c4b6adf4b9249c3a07b0c26aebd1dba17dc
/searching/main.cpp
c2ecffdbb852b2170ac305917ad645a9893a2e62
[]
no_license
electronicblocks/soucecodes1
d52991c0ad86d824674d3aadf62e69e5cdbfd839
45bb542f42192170a7f270bd3edec7fe3bc1132f
refs/heads/master
2021-07-15T02:35:43.418331
2017-10-14T02:40:02
2017-10-14T02:40:02
106,891,645
0
0
null
null
null
null
UTF-8
C++
false
false
1,134
cpp
main.cpp
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: main.cpp * Author: alphacoder * * Created on 12 October, 2017, 7:18 AM */ #include <cstdlib> #include <iostream> ...
b94c0e278853c651b37ee522eccb68c30e8dd316
5235ae66b46cfd628a0988ea10730b33c81c2e91
/static_cast_object/Main.cpp
682aa0a2eda108b514dd5be835a216afea63c65b
[]
no_license
anstn1993/c-_practice
c761234303a439da3df8839abda1133c8afed5c4
d2f4a7c77778fd9a4415eaa239eac8e55f77f176
refs/heads/master
2022-03-18T21:40:50.599718
2019-12-12T09:34:02
2019-12-12T09:34:02
223,435,607
0
0
null
null
null
null
UTF-8
C++
false
false
558
cpp
Main.cpp
#include <iostream> #include "Animal.h" #include "Cat.h" #include "Dog.h" using namespace std; using namespace samples; int main() { Animal* pet1 = new Cat(2, "Nyaong"); Animal* pet2 = new Dog(9, "Nuri"); Cat* cat = static_cast<Cat*>(pet1); Dog* dog1 = static_cast<Dog*>(pet2); Dog* dog2 = static_cast<Dog*>(pet...
4d81de2930ed6136a2b61ac6f1a87238cc3b7995
9732ad51b09956a1770ba827d32e35c03e9deade
/305_Lab8_Q5/test.cpp
a8463aec7c70125bfcc0f5d48a7cc1a9be5a34f8
[]
no_license
shihabawal/JavaLabs
dd1ae3f04cfdaaf4405bf92cc1cb2992e8475a89
d09ce12db46860d3a48d306d76fa303d8017dce6
refs/heads/master
2021-01-22T17:52:49.916508
2017-03-15T07:44:58
2017-03-15T07:44:58
85,040,339
0
0
null
null
null
null
UTF-8
C++
false
false
1,049
cpp
test.cpp
#include <iostream> #include <cmath> using namespace std; bool binarySearchHelper(int *arr, int l, int target, int f = 0) { int mid = (f + l) / 2; if (arr[mid] == target) return true; else if (f > l) return false; else { if (target > arr[mid]) return binarySearchHelper(arr, l, target, mid + 1); else ...
68ae6595c241016608cfd5ebf73abd5f22234da4
9c6cf683c9da8e2b4bffea4aec4201c931b123fc
/WinOGL/Ten.h
fa9b5af68001ac9e9bfcfb04a9c0b41a2ed3c720
[]
no_license
jun-vcl/WinOGLGit-master
3c5759914598f97299a657ade979d7d6309fc1b9
393a7cac61e102f15466a9cf3a5542a014d9a089
refs/heads/master
2023-08-29T11:03:36.784486
2021-10-28T09:32:03
2021-10-28T09:32:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
283
h
Ten.h
#pragma once class CTen { public: CTen(); ~CTen(); CTen(float x, float y); private: float x; float y; CTen *next_ten = NULL; public: void SetNextTen(CTen *CTen); CTen *GetNextTen(); float GetTenX(); float GetTenY(); void SetTenXY(float x, float y); void FreeTen(); };
e6e9ca929faeafa61e45d846bf4a8a4efbf4f4b8
66e4cf01bcaf0c302bf8de0534dd3328642f55d9
/src/ClassicalLayout.h
7f121de3264b71c1ec8ee1226bd446a8c02024b6
[ "MIT" ]
permissive
StoneAndFish/GraduationProject
f9c115390919d5422d0ab95e83762452c30febd1
89cc28487cb79e449f37d21d430c10c07a9f06a9
refs/heads/master
2021-06-22T03:16:10.862757
2017-08-16T04:49:43
2017-08-16T04:49:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,531
h
ClassicalLayout.h
#pragma once #include "Layout.h" #include "Results.h" #include "ofImage.h" #include "octree.h" #define MAX_COLOR 1024 class ClassicalLayout : public Layout { public : ClassicalLayout(); virtual ~ClassicalLayout(); virtual void BeginLayout(float width, float height, BaseMaterial *m, Results *r); protected: void ...
da97bb652b39bbb0e9c12a3fda8960e7a42f727f
6e803f33939a3257d6ab4f4ff4f67199669767f1
/Tutorial/ResourceFontTexture.cpp
3cf35d3136b8dd74f4f25bff86e5c571a774ca92
[]
no_license
Eresor/Cziczaka
ffe52d1add43f37f8d3e7c8f78e54fe527d1da98
0242920337d53c92c365755bce5b125f6f7a36d4
refs/heads/master
2021-01-17T12:57:05.408453
2016-08-02T11:39:26
2016-08-02T11:39:26
57,378,600
0
1
null
2016-07-06T12:41:26
2016-04-29T11:09:19
C
UTF-8
C++
false
false
1,530
cpp
ResourceFontTexture.cpp
#include "ResourceFontTexture.h" ResourceFontTexture::ResourceFontTexture(const std::string& t, ResourceFont font, SDL_Renderer * renderer, Color color) :text(t) { LoadResource(t, font, renderer, color); } bool ResourceFontTexture::LoadResource(const std::string& text, ResourceFont font, SDL_Renderer * renderer, ...
53f991ead1f7e816b30d4630997094b121f50072
46f60616e995cc87a08cef9122f89ed70f4fcff2
/shadFails/FixedSet.cpp
f6253ac3255bd74f74a78deb32c5698fcde3f4d3
[]
no_license
UPML/Fails
2ed42f813ac259c413af222c6d32541ca906f4cd
01175ec338a52b90464f57cb28b920fb2739a24b
refs/heads/master
2021-05-07T13:56:41.881340
2017-11-09T10:10:22
2017-11-09T10:10:22
109,727,973
0
0
null
null
null
null
UTF-8
C++
false
false
6,585
cpp
FixedSet.cpp
#include <iostream> #include <vector> #include <cassert> #include <cmath> #include <random> template<typename T> class Optional { public: Optional &operator=(const T &value); bool IsAssigned() const; T GetValue() const; private: bool assigned_ = false; T value_; }; std::vector<int> ReadVector(s...
df91a78cc826c4cf3bbc91483dc70ea3ce724eb4
9d1e27d4b8a144a600ae237c75497eb519732c24
/FF3_Monster_Sim/main.cpp
6e75e8f730514784da32b67e72259a1d83114cce
[]
no_license
LeeCombs/FF3_Monster_Sim
a07c245c47d7af9be9261127594f0a19dfa1a25b
d5b7e7ff57182a601c4e3fd898beecfb7e9a786d
refs/heads/master
2021-01-25T10:39:29.933956
2018-03-28T17:33:46
2018-03-28T17:33:46
123,367,599
0
0
null
null
null
null
UTF-8
C++
false
false
1,109
cpp
main.cpp
#include <SFML/Graphics.hpp> #include <iostream> #include <string> #include "Monster.h" #include "Spell.h" #include "SpellManager.h" using namespace std; using namespace ff3j; int WinMain() { sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!"); sf::CircleShape shape(100.f); shape.setFillColor(...
6a42dbfcb62d13844fc8c071209818f191ef034a
ef3c529e0110134027462d78902263b306c95838
/TwofoldStarter/src/checkers.cpp
ccff965d55a44dabc7cd730822a6b7d6fcd91ce5
[]
no_license
aviidlee/twofold_oberwolfach
f41fdd7f89037b9954da082507c2086f43215d3f
74cc114283377f1037f98184647b127e4c91f69b
refs/heads/master
2021-01-10T14:01:42.566727
2015-11-12T13:39:31
2015-11-12T13:39:31
45,023,258
0
0
null
null
null
null
UTF-8
C++
false
false
2,234
cpp
checkers.cpp
/* * checkers.cpp * * Created on: 14 Aug 2015 * Author: alexi_000 */ #include "checkers.h" void zero_initialise(int n, int* array) { for(int i = 0; i < n; i++) { array[i] = 0; } return; } /** * Return true iff there are no repeated vertices (and thus every vertex * occurs exactly once) */ bool ch...
278cd72489260bc2519084dc9ca98e3db1cffbc7
12a68f4c08a5f31d5a3fe81dd80f5dae49939ca6
/vjudge/scdp/E.cpp
60071a847a457020f0754d3b6ae3e56a2bf372e0
[]
no_license
xLLLxLLLx/LAumcakzying
b3ba174c50de40614dbec505f13c266f2842dd2c
fa698bc6f4f9af5b98c884a6b9ef0922d49e699f
refs/heads/master
2020-03-22T23:13:46.313799
2018-07-30T13:21:27
2018-07-30T13:21:27
140,797,191
0
0
null
null
null
null
UTF-8
C++
false
false
870
cpp
E.cpp
#include<iostream> #include<cstdio> #include<algorithm> #include<cstring> #define LL long long using namespace std; const int N=22,M=110; const LL INF=7e18; LL dp[1<<N]; int n,m; LL b; struct qx{ LL pr; LL num; LL ct,k; }a[M]; bool comp(qx xx,qx yy){ return xx.k<yy.k; } int main(){ scanf("%d%d%lld",&n,&m,&b); f...
fe223674db9b7b430dba5397fe0b2145b93b0117
137c22b59942cba8393467ebc6f5843bcbbe3537
/timeoffset.h
37ec8e5461c8ba5843ff3cf31f1ef453ab576d73
[]
no_license
SergeyStaroletov/NaiveHTM
bfa258edd3635bf3f89c2ea5ca0d3430a913e168
3c1c39324db452da6f8e091c8244d118c2ad3a76
refs/heads/main
2023-05-27T21:13:25.937891
2021-06-08T06:43:25
2021-06-08T06:43:25
358,036,968
0
1
null
null
null
null
UTF-8
C++
false
false
567
h
timeoffset.h
#ifndef __TIMEOFFSET_H #define __TIMEOFFSET_H #include "brain.h" #include "stdlibs.h" namespace brain { class TimeOffset : public IOffset { private: float offset_; float scale_; public: TimeOffset(); PropertyID::Enum getPropertyId(); IOffsetPtr getInverted(); void SetData(float offset, ...
ad2e51fd6c9a56a4aad4b085a75c124457aef770
cbd0d93632b38f6ed242766bb56dbc0b29f3f0a2
/src/IStrategizer/Expression.cpp
6d32ceb9ce258f687e4e2d1e5bd72eeb2b0ffab6
[ "Apache-2.0" ]
permissive
RtsAiResearch/IStrategizer
97b60c6d12d3cd71dbd952e45b37746fee8b61a6
2005060d40190041e4d541e23b6148336241d690
refs/heads/master
2020-05-17T08:24:29.666200
2017-03-06T06:42:53
2017-03-06T06:42:53
3,828,751
15
2
null
2017-03-06T06:42:53
2012-03-26T01:31:58
C++
UTF-8
C++
false
false
686
cpp
Expression.cpp
#include "Expression.h" #include "ObjectFactory.h" using namespace IStrategizer; //---------------------------------------------------------------------------------------------- IClonable* Expression::Clone() { Expression* clone = static_cast<Expression*>(g_ObjectFactory.Create(GetObjectLayout().TypeName())); ...
afee71c02fb8cf0574b88f63f459fdef4880482a
ac507e24073717f0f2f43480101be5db0213c2c4
/pwiz/analysis/frequency/PeakDetectorNaive.hpp
eaa94f958a1b8cd7f338aa83ace6b0b323124861
[ "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
ProteoWizard/pwiz
7adbd5a276b49d5f0271eb8cfddbd6d21ee31318
f708f62d098c33ef60a76d92b038fde74361570a
refs/heads/master
2023-08-27T20:42:37.708268
2023-08-25T18:30:50
2023-08-25T18:30:50
124,952,577
185
92
Apache-2.0
2023-09-14T20:39:46
2018-03-12T21:16:01
C#
UTF-8
C++
false
false
1,953
hpp
PeakDetectorNaive.hpp
// // $Id$ // // // Original author: Darren Kessner <darren@proteowizard.org> // // Copyright 2006 Louis Warschaw Prostate Cancer Center // Cedars Sinai Medical Center, Los Angeles, California 90048 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in complian...
cd46bcea0f3c310345de14051d8738bfe9bc26d8
3c15c28e5f0ab855ec63de9992a9151725e11a41
/Arrays/Calculate factorial of large numbers !! (Using Arrays).cpp
6c4b0ec27ef82a1bd046c8d14b1febe8e1d56e30
[]
no_license
vidhichadha2507/PenCode
e8ac87d073804eb0f65621781c047524d80e9d21
0e493a37a6cf863dc6de59cccf18a51924dc0e5d
refs/heads/main
2023-07-30T14:00:21.256157
2021-09-30T19:12:54
2021-09-30T19:12:54
412,207,591
0
0
null
2021-09-30T19:54:25
2021-09-30T19:54:24
null
UTF-8
C++
false
false
913
cpp
Calculate factorial of large numbers !! (Using Arrays).cpp
#include <bits/stdc++.h> using namespace std; #define max 10000 int main() { int n, c, j, k, x, i; int a[max]; cout << "Enter the number: "; cin >> n; j = 0; // j will be pointing to new index created to stored carry a[0] = 1; for (i = 2; i <= n; i++) { c = 0; //carry when each n...
0e65951f2a1f4c22017d2c0acd54dfab1bc81f72
0f5565700d4be50bbafa12f57b82e673044b6d40
/015_3Sum.cpp
2e6d6919ca80a4378fece41eabd8abcfce2bc4b1
[]
no_license
liqiang311/leetcode
791fa037cbfa442b4c858c34b166abda6fee4463
f4931e529694b07b9a45426a03f91fad600d5e07
refs/heads/master
2021-01-01T18:20:17.332079
2017-08-16T15:52:42
2017-08-16T15:52:42
98,309,760
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
2,353
cpp
015_3Sum.cpp
/* Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: Elements in a triplet (a,b,c) must be in non-descending order. (ie, a ¡Ü b ¡Ü c) The solution set must not contain duplicate triplets. For example, give...
07f86e056d2527dbeceecb4ea141e2832a169c0d
b24f4a308a8e0e88a2ed72bfbaaad1a9418b3fa6
/src/problem_7.cpp
8da3a8442773a4a7bd06121f15f139c323185ebb
[]
no_license
wichtounet/spirit_x3_tests
79d351bda48cfce452c968389de250d7f07274cd
0bfb7d8ffc0074d36887d7317c311be10bfb0906
refs/heads/master
2021-01-21T14:01:39.930594
2016-05-01T09:24:49
2016-05-01T09:24:49
18,881,037
1
0
null
null
null
null
UTF-8
C++
false
false
1,679
cpp
problem_7.cpp
#include <string> #include <boost/spirit/home/x3.hpp> #include <boost/spirit/home/x3/support/ast/variant.hpp> #include <boost/spirit/include/classic_position_iterator.hpp> #include <boost/fusion/include/adapt_struct.hpp> #include <boost/fusion/adapted/boost_tuple.hpp> namespace x3 = boost::spirit::x3; typedef std::s...
84d347b64ef699c116278de12c88f4dfdd40b12f
ea2ce158d5cf8d55371450d8a2348491a2ceaed1
/include/Game.hpp
32929520ccd9623fe3205b06757affd47069639a
[]
no_license
selivni/prac_6_1
14092a44092f85bbcf86c66d791e353c59a78f9b
cf022197fa8d4c62426868f6cf95dd85434efbf2
refs/heads/master
2020-05-20T14:46:24.572202
2017-10-17T20:13:00
2017-10-17T20:13:00
84,485,217
0
0
null
null
null
null
UTF-8
C++
false
false
1,429
hpp
Game.hpp
#ifndef gameprotector #define gameprotector #include <utility> #include <unistd.h> #include "Utility.h" #include "Graphics.hpp" #include "Bot.hpp" class Game { static const int piecesDefault = 12; static const int boardSizeVert = 8; static const int boardSizeHor = 8; static const int blackTurnTime = 300; static...