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
8672c782c9783229090ae6f4a49f3c8afb0cc860
e4417f38ab4f54f8f3099261c80bc36f0c0ba703
/resources/sources/Game/MapPartManager.cpp
2c3d8786e9363427d3bd61fbc6e5afd1a50f48af
[]
no_license
Codibri/HardrockHoliday
65b68ca81312903e33dc4e0e307a4050e81789a0
5c9b4f92196ba0f2da010b0da91633f4f7347589
refs/heads/master
2016-09-05T13:22:02.351272
2015-01-16T01:51:05
2015-01-16T01:51:05
26,432,093
0
0
null
null
null
null
ISO-8859-1
C++
false
false
3,329
cpp
MapPartManager.cpp
#include "Game\MapPartManager.h" MapPartManager::MapPartManager() { mLastMapPartLoaded = false; mCheck = false; } MapPartManager::~MapPartManager() { } void MapPartManager::setScene(CScene* scene){ mScenePtr = scene; } void MapPartManager::initWithActiveLevel(Level* level, Vektoria::CRoot* root){ mActiveLeve...
98f9115ff94cb8fcddb9908b06cb141961eac6c4
598e1b350648db9fc0b3ce8a5a75b4a7d2382b65
/JsonApp_Andrusenko_2020/JsonLibrary/BoolValue.cpp
7808d08c7de80e15ab77af6365842658dfd459b6
[]
no_license
Maureus/CPP_Andrusenko
d629e39d192434c3fd465a417e1c7fbb3ef56395
ad69042e8f0d21868344d8f046efbd12d9c8f2a4
refs/heads/main
2023-02-11T06:25:59.207782
2021-01-05T17:28:35
2021-01-05T17:28:35
300,827,284
0
0
null
null
null
null
UTF-8
C++
false
false
416
cpp
BoolValue.cpp
#include "pch.h" #include "api.h" BoolValue::BoolValue(bool value) { this->value = value; } bool BoolValue::get() const { return value; } std::string BoolValue::serialize() const { return value ? "true" : "false"; } BoolValue BoolValue::deserialize(const std::string& value) { if (value == "true") { return Bo...
2afeea75238ba5eb1b4f3e35b3c2ff7a872f8ee6
359242f0fe641d6d98411132515f22d7490a5790
/Programs-Btech/DS/Queue by 2 stacks.cpp
d1405bec843d64c87b632677c2fd01ecf7923324
[]
no_license
sudhanshu-jha/c-cplusplus
ae0fdc75475590761f54123e3f084641b50a96d9
272e7e9b3437906bb5fbbddbb1c2296c86fb5572
refs/heads/master
2020-03-06T17:23:50.113916
2019-01-19T13:12:56
2019-01-19T13:12:56
126,989,057
0
0
null
null
null
null
UTF-8
C++
false
false
1,967
cpp
Queue by 2 stacks.cpp
#include <iostream> #include "Stack.h" using namespace std; int main() { stack<int> S1; stack<int> S2; int choice,item,item1; do { cout<<"Enter your choice"<<endl; cout<<"1: Enqueue"<<endl; cout<<"2: Dequeue"<<endl; cout<<"3: Display"<<endl; cout...
8e8538e1a62adf1c3dcebcb06e5884a31fa62bbf
568048d9134c6d5b24cd2682a3a5d5f7ede226be
/pocky/jni/src/PockyGame.cpp
dffe20180d5bdb294733d072e786853b3a6637ad
[]
no_license
nheffelman/Pocky
8e47153dfa9b2239bd58aba9154f0cb211acafc7
e0111f7038daf7b28b5069d4b2d0c5b3eccf5e8f
refs/heads/master
2021-04-15T09:25:57.036315
2011-12-13T19:05:01
2011-12-13T19:05:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
22,476
cpp
PockyGame.cpp
/* * PockyGame.cpp * * Created on: Dec 4, 2011 * Author: psastras */ #include "../include/PockyGame.h" #include <pineapple/jni/extern/Engine.h> #include <pineapple/jni/extern/Compile.h> #include <pineapple/jni/extern/Common.h> #include <pineapple/jni/extern/GL.h> #include <pineapple/jni/extern/GLText.h> #in...
09bc68ddc45031b9237d8a6e010f9e5704b11707
71b21a371a7d0e133be611868b38d5abbcb33c02
/Tool/ToolUIScript.h
f2849223f044a8e334f316f110e86e157b464d7f
[]
no_license
snrkgotdj/Tera_SoulLike
7ad77694b7425609688408bf6e5319be3907a2c6
b513f4e451d6f838392389d8fc913c1856d28e21
refs/heads/master
2020-04-08T14:11:39.370877
2018-11-28T01:50:55
2018-11-28T01:50:55
159,426,065
0
0
null
null
null
null
UTF-8
C++
false
false
284
h
ToolUIScript.h
#pragma once #include "Script.h" class CToolUIScript : public CScript { private: Matrix m_matProj; public: virtual void Start(); virtual int Update(); public: void SetUINumber(UINT _i); public: CLONE(CToolUIScript) public: CToolUIScript(); virtual ~CToolUIScript(); };
57068caa5a4410494bcd4f621123015a294ee802
bd6e36612cd2e00f4e523af0adeccf0c5796185e
/src/core/candoClass.cc
214ad431e15ad1bdedf05d62aae2e0bad15d8aa9
[]
no_license
robert-strandh/clasp
9efc8787501c0c5aa2480e82bb72b2a270bc889a
1e00c7212d6f9297f7c0b9b20b312e76e206cac2
refs/heads/master
2021-01-21T20:07:39.855235
2015-03-27T20:23:46
2015-03-27T20:23:46
33,315,546
1
0
null
2015-04-02T15:13:04
2015-04-02T15:13:04
null
UTF-8
C++
false
false
4,424
cc
candoClass.cc
/* File: candoClass.cc */ /* Copyright (c) 2014, Christian E. Schafmeister CLASP is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later versio...
7b31c1f43759c380a8ec8a7adb69097510febc36
0370b81e9ec3f1b1d4bf0da224a613ff576e8dd4
/CodeForces/R237Div2/D.cpp
658a3a677b54ea84e6f5127ca24126553f0ddd1d
[]
no_license
Rolight/ACM_ICPC
c511bc58ac5038ca521bb500a40fcbdf5468832d
6208a20ea66a42b4a06249d97494c77f55121847
refs/heads/master
2021-01-10T22:08:48.336023
2015-07-17T21:46:48
2015-07-17T21:46:48
27,808,805
2
0
null
null
null
null
UTF-8
C++
false
false
1,982
cpp
D.cpp
#include <cstdio> #include <cstring> #include <iostream> #include <map> #include <set> #include <vector> #include <string> #include <queue> #include <deque> #include <bitset> #include <list> #include <cstdlib> #include <climits> #include <cmath> #include <algorithm> using namespace std; typedef long long LL; const int...
69157a49b1bc219703f8a5f01604ded27472fc5a
5b1f023772fc08c2301dc22c9bfcf866f2d14174
/Windows/Sources/ContextAgent.cpp
d9a1e744683ba4a55747ef09dbacc5f5f8172877
[ "MIT" ]
permissive
FocusCompany/daemon
20651308c27fddba7b19ccc16ca1c202444d08a8
a8004229dcd51641cd971bcb62b56c08fd0eb07a
refs/heads/development
2021-05-15T13:19:00.188649
2018-11-29T11:10:04
2018-11-29T11:10:04
107,158,706
1
0
MIT
2018-11-29T11:10:05
2017-10-16T17:13:36
C++
UTF-8
C++
false
false
2,110
cpp
ContextAgent.cpp
// // Created by Etienne Pasteur on 17/10/2017. // #include "ContextAgent.hpp" #include "FocusSerializer.hpp" #include "FocusContextEventPayload.pb.h" ContextAgent::ContextAgent() : _isRunning(false), _sigReceived(false), _eventListener(), ...
b16c0d3780b6ba6d444c88794a74e08bfb9d4b42
9a55e0ea1d227f0ede63d941a4093fbafd56c523
/components/WS/src/HttpParser.h
614638c9ae8cf34d59c1ba8ddf05d2c2af60e772
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
gustavosinbandera1/turpial-firmware
0f22b05bb48e33edd095455dba1c0ff41d18bbde
eb8bd14999acb2716e66c27a7ab6f835ecb499cf
refs/heads/master
2020-11-27T22:11:07.115497
2020-02-13T14:19:23
2020-02-13T14:19:23
210,370,697
0
0
Apache-2.0
2019-09-23T14:04:15
2019-09-23T14:04:15
null
UTF-8
C++
false
false
978
h
HttpParser.h
#ifndef CPP_UTILS_HTTPPARSER_H_ #define CPP_UTILS_HTTPPARSER_H_ #include "Socket.h" #include <map> #include <string> class HttpParser { public: HttpParser(); virtual ~HttpParser(); std::string getBody(); std::string getHeader(const std::string& name); std::map<std::string, std::string> getHeaders()...
401675222acf1204e1ea50328ffe5c873c083b91
e910c65ddec02e0a14cda848398626c2cd7987ef
/src/数据结构与算法/MyTree.hpp
a4c8052202e9e2ebf69600f626d71ec57ceb6292
[]
no_license
JiangChenrui/mycode
c3d0c2c8939a200ffce71f5d77e35e2a45cfa4b6
ac37cb56f57f9f72a7d5caaa74ca954e4c848fdd
refs/heads/master
2023-01-21T17:55:25.818180
2020-12-01T03:44:57
2020-12-01T03:44:57
280,095,305
0
0
null
null
null
null
UTF-8
C++
false
false
2,491
hpp
MyTree.hpp
#ifndef MYTREE_HPP #define MYTREE_HPP #include <iostream> using namespace std; #define TYPE char //树的节点 struct TreeNode{ TYPE element; //该节点的元素 TreeNode *firstChild; //指向该节点的第一个孩子 TreeNode *nextSibling; //指向该节点的兄弟节点 }; class Tree { public: Tree(TreeNode * r = NULL):root(r){} ...
28068cb54dab5d55d979a91c319283ba75e8aac1
4754fcf030ee22029811b324d0b4109631c432f0
/Control.h
f56246381db6878cdc85d04ac60b90533158b413
[]
no_license
haojialiu/Blacklist-project
b81a208f509e8575ccf10a1da55849cade029911
7c19841ed490026e94a8d83fe12b929617428fd3
refs/heads/master
2020-04-26T12:31:36.171192
2019-03-03T09:06:35
2019-03-03T09:06:35
173,552,583
0
0
null
null
null
null
UTF-8
C++
false
false
1,426
h
Control.h
#ifndef control_H #define control_H #include"model.h" class Control { private: Model _MODEL; public: void process() { while (1) { cout << "输入命令" << endl; cout << "1:插入 " << "2:删除 " << "3:更改 " << "4:查询 " << "6:退出 " << endl; char c ; cin >> c; if (c == '6') { cout << "关闭程序" << endl; re...
e3b04c04b3445ab4d82f89033714c56eaad42109
b6d3e89588fc404988f893d0dc256e5c141bf742
/swtest/kakao/2022kakao/d.cc
4caffa6d82e9668f83a9e7b80646687736969ff2
[]
no_license
ingyeoking13/algorithm
236a526929947fc0a118c795513962e75dd589e3
5bd7575468f4794b1c71baa6c59c45a25bfada2c
refs/heads/master
2023-01-12T07:48:46.135702
2022-12-28T14:57:45
2022-12-28T14:57:45
105,534,031
2
5
null
2022-12-08T06:08:04
2017-10-02T12:54:39
C++
UTF-8
C++
false
false
1,751
cc
d.cc
#include <string> #include <vector> #include <iostream> #include <algorithm> #include <cmath> using namespace std; string buildTree(string str) { int height = 1; int len = str.size(); while(true) { int elem = pow(2, height)-1; if (elem >= len) break; height++; } string suff...
6e892d44a3d8cfd66c3746175682e5cdfda70ae1
60bbec4f781503810a89d8ca1fceac6e9292e558
/Forest/main.cpp
c6ff06c894f767eb29266e0c70bb076d4d8547e9
[]
no_license
Massterr59rus/C-and-C-plus-plus
f1ae9e517a6a0055531b238daedd0d58fe56ecbd
4e23eecb5afd429709db99fd3b38402369d5ff63
refs/heads/master
2021-03-15T04:46:14.393008
2015-03-20T09:57:54
2015-03-20T09:57:54
null
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
4,692
cpp
main.cpp
// Создать класс живущих с местоположением. // Определить наследуемые классы - лиса, кролик и трава. // Лиса ест кролика. // Кролик ест траву. // Лиса может умереть - определен возраст. // Кролик тоже может умереть. // Кроме этого определен класс - отсутствие жизни. // Если в окрестности имеется больше травы, чем кр...
d743d8065c08b79e254e41617359c955da347390
320a98c766f78f0b964f92cf4fb9cc16a9e9a715
/Engine/Include/Component/EffectAssist.h
dd81d5296caeeef03c034a7b6c505ee43806987d
[]
no_license
LipCoding/ProjectGOD
058b217ba7705da3b1d38c2cf40ae67fcf462aaa
c63462d800cbbcb36d7fc0a11d909f77f287c980
refs/heads/master
2022-03-12T21:04:53.374351
2019-10-16T02:53:07
2019-10-16T02:53:07
166,417,935
0
0
null
null
null
null
UTF-8
C++
false
false
4,168
h
EffectAssist.h
#pragma once #include "../PGEngine.h" PG_BEGIN class PG_DLL CEffectAssist { public: enum ASSIST_TYPE { ASSIST_SCALE, ASSIST_ROT, ASSIST_FADE_IN, ASSIST_FADE_OUT, ASSIST_UV_ANI, ASSIST_UV_MOVE, ASSIST_POS, ASSIST_END }; enum EASE_TYPE { EASE_NONE, EASE_SINE_IN, EASE_SINE_OUT, EASE_QUAD_I...
787fec143c9387a5c2bd7640f834a45db275bca5
29c6a2c33739db57e3764bd445be0aa1f10c91c2
/Program-2/Program-2/wumpus-2.5/Agent.h
b664594c082364acfa49b28390676e76da198577
[]
no_license
alanachtenberg/CSCE-420
ec5382cdf4a30fe571a6752ceab8d50b86f70911
91352045bdaf8b3c2b3285020519d05c05f74f76
refs/heads/master
2016-09-05T17:49:01.825586
2015-05-04T22:09:07
2015-05-04T22:09:07
29,836,862
0
0
null
null
null
null
UTF-8
C++
false
false
1,414
h
Agent.h
// Agent.h #ifndef AGENT_H #define AGENT_H #define WORLD_WIDTH 4 #include "Action.h" #include "Percept.h" #include "BayesianNetwork.h" #include "Orientation.h" #include <stack> #include <queue> class Agent { private: struct Position{ int x; int y; }; BayesianNetwork network;//bayesian network to determine w...
01fd8a57feba7967866dd7f5bebc59d6e9032014
6b167a083ec7dacbb7ac5e8038f52a7c35c1e0b8
/src/lib/importex/importex.cpp
a253c9c348f5245395df4bf7e0f08062d1043a87
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause" ]
permissive
niftools/nifskope
6b706f657f3ebaaa76060bb0f1ae0837e1fded79
3a85ac55e65cc60abc3434cc4aaca2a5cc712eef
refs/heads/develop
2023-09-05T18:23:17.061692
2018-02-23T04:16:15
2018-02-23T04:16:15
10,436,113
542
232
NOASSERTION
2023-09-04T08:11:35
2013-06-02T11:44:24
C++
UTF-8
C++
false
false
3,325
cpp
importex.cpp
/***** BEGIN LICENSE BLOCK ***** BSD License Copyright (c) 2005-2015, NIF File Format Library and Tools All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the...
48fa1bb582e64865fa45aba9ec8c8bba2ae1d5ca
32b601fc86c18de429794e632d5f81bebaa4b21f
/Q9.cpp
638b523731f68c48ed52f58b3a2081714a008d36
[]
no_license
jaaniyk/reverse-string
941dc851489c5e8bd365d9ff1751baeb019ba884
d096ddf584c222f8eaf329643535d2fea9c86aca
refs/heads/master
2021-01-14T01:30:51.086034
2020-02-27T11:43:57
2020-02-27T11:43:57
242,557,567
0
0
null
null
null
null
UTF-8
C++
false
false
362
cpp
Q9.cpp
#include<iostream> using namespace std; int main(){ int size; cout<<"enter the size of array :"; cin>>size; int array[size]; cout<<"Enter Array elements:"; for(int i=0; i<size; i++){ cin>>array[i]; } cout<<"Displaying Array Elements....\n"; for(int i =0; i< size; i++){ cout...
7a5d02c4920d764804a998b73c87d7b9d8ec8cc7
b1aff0dc98ba204e18e3a28cf806e22a69aabee9
/src/objetos/armas/Bomba20Kilotons.cpp
f523f9180df22b03a3d3fff3b685059ac98a11b8
[]
no_license
flpduarte/cg-tank-wars-3d
827f697bb7e3aad09dac29f34ad9d701b2d81287
6c02e3c427a9eaa2f169560732a2d1df817d879c
refs/heads/master
2021-06-17T14:33:30.030928
2021-01-12T17:01:33
2021-01-12T17:01:33
134,923,377
0
0
null
null
null
null
UTF-8
C++
false
false
605
cpp
Bomba20Kilotons.cpp
// // Created by Felipe on 11/01/2021. // #include <objetos/armas/Bomba20Kilotons.h> #include <objetos/explosoes/BolaDeFogo.h> // constexpr precisam ser declarados no arquivo CPP para serem iniciados antes da chamada do construtor. constexpr char Bomba20Kilotons::NOME[]; /** * Bomba 20 kilotons: Dobro da forma do M...
89eada9c7bc45dc0fc1e36cc05132c0b6c16a072
12d9335eaee4e7acac078fb314436e3cf0e8b853
/userspace/apps/demo/main.cpp
0c73277cd5808fef168b987afc7cff97e4b5be8e
[ "MIT", "BSD-2-Clause" ]
permissive
FMMazur/skift
385ae04878f18bf7ee8e9a8ee89758de50e79510
8a837fdbdcb6b64215ce1abb3fb6cc5a9881eab5
refs/heads/main
2023-04-21T11:48:19.648979
2021-05-06T19:04:20
2021-05-06T19:29:48
364,786,643
0
0
NOASSERTION
2021-05-06T04:42:24
2021-05-06T04:42:23
null
UTF-8
C++
false
false
162
cpp
main.cpp
#include "demo/DemoApplication.h" int main(int argc, char const *argv[]) { UNUSED(argc); UNUSED(argv); DemoApplication app; return app.run(); }
c03ffba5e26623ed5ec841b64878a62c6cdebb99
90131d07324205ce24748157e4657546ffb09688
/Game.h
06b71c6acc302c5d48d0b82cc14bac5287f5f15d
[]
no_license
chengpeng1999/snake
303704388e2f59c922d7a0c1e229fc2083bda0d1
1f181ffd51d1b551395e3d634527f8628d24ad36
refs/heads/main
2023-03-10T15:24:20.858942
2021-03-01T10:24:21
2021-03-01T10:24:21
343,347,779
0
0
null
null
null
null
UTF-8
C++
false
false
532
h
Game.h
#pragma once #include "Food.h" #include "Snake.h" #include<Windows.h> class CGame { public: CGame(); virtual ~CGame(); void run(); bool checkFailed(); bool checkLevel(); void changeInfo(); void drawGameArea(); void drawGameInfo(); public: static const int KLEFT; static const int KUP;...
e5612cc70045387ec974ddf198f408353934630d
8ca6c5fd41de1f5e5f255a7bbb8659a20850035d
/test/src/test_math.cpp
3bcb0cc1c379926b01728597852e5c737a5f9ce8
[ "MIT" ]
permissive
emrsmsrli/gameboi
482bddd067dabf9cfdbf57d63ddd828e1bac62c7
6448722529bc64184e30a945f0e5ec4203265e10
refs/heads/master
2021-08-15T00:15:11.262161
2021-08-04T14:37:58
2021-08-04T14:37:58
201,642,246
24
0
null
null
null
null
UTF-8
C++
false
false
1,504
cpp
test_math.cpp
#include <gtest/gtest.h> #include "gameboy/util/mathutil.h" TEST(math, mask_test) { ASSERT_TRUE(gameboy::mask::test(0x100, 0x100)); ASSERT_FALSE(gameboy::mask::test(0x100, 0x01)); ASSERT_TRUE(gameboy::mask::test(0xFC, 0x0C)); ASSERT_TRUE(gameboy::mask::test(0x111, 0x110)); } TEST(math, bit_test) { ...
8c743b6e3f70b155a24600c249264b8ae5e7acb5
f838cf744d486aab379767771c1ab233842c187c
/Hackerrank/NWD i NWW/main.cpp
297e27b4e0fbeac4587ae6b363d86461451a0b71
[]
no_license
Busiu/ProblemSolving
574ea488a32a4037fd351330edfb7381b5301eef
c64455ce969d7993cd5049183f6ae7ba3bd92f2a
refs/heads/master
2021-02-13T22:55:02.399346
2020-03-03T21:48:16
2020-03-03T21:48:16
244,742,252
0
0
null
null
null
null
UTF-8
C++
false
false
468
cpp
main.cpp
#include <iostream> using namespace std; int main() { long long int n, a, b, c, d, NWD; cin >> n; for(int i=0; i<n; i++) { cin >> a >> b; c = a; d = b; while(a!=0 && b!=0) { if(a>b) a%=b; else b%=a; ...
7d8b30cb12c5f179561d12b3db9f1880b929bab6
b367fe5f0c2c50846b002b59472c50453e1629bc
/xbox_leak_may_2020/xbox trunk/xbox/private/test/ui/tools/inc/memoryunit.h
52f6d46920aa9bad8d1647c09fa27fa42d5cb1ca
[]
no_license
sgzwiz/xbox_leak_may_2020
11b441502a659c8da8a1aa199f89f6236dd59325
fd00b4b3b2abb1ea6ef9ac64b755419741a3af00
refs/heads/master
2022-12-23T16:14:54.706755
2020-09-27T18:24:48
2020-09-27T18:24:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,694
h
memoryunit.h
/***************************************************** *** memoryunit.h *** *** Header file for our Memory Unit class. *** This class will contain functions and information *** pertaining to an Xbox Memory Unit *** *** by James N. Helm *** March 28th, 2001 *** *************************************************...
7c0742b43192163bd39682f4bbec3fb966e18b48
010905f19364465e606716910ee03a85eefea219
/TMW2017/src/OI.h
65a8accc7d7f83cb36afd1fa57ef4bd2c611b746
[]
no_license
FRCTeam16/TMW2017
6370768af75f5c47483620db36ac705c1a7506c6
f9b57e1f7345aa0e2ad6bd9737bba142af26f69c
refs/heads/master
2021-07-06T06:29:45.177099
2017-05-09T00:00:46
2017-05-09T00:00:46
80,792,469
0
0
null
null
null
null
UTF-8
C++
false
false
2,953
h
OI.h
// RobotBuilder Version: 2.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // C++ from RobotBuilder. Do not put any code or make any change in // the b...
a64e3cc969ce5bc21996d457c32fcb991b019f97
ccf3050509bb661dd2cfcce5fc8bb5817615b449
/src/chesspiece.cpp
b00a2b07013f59d29a772efb2328b9031fab2baa
[]
no_license
smolck/Qt5ChessGame
63c01309e60535f75ded736626f4fec63a9bf498
6396c9b79b32bea13c03de56cbc92561a524ba53
refs/heads/master
2020-05-26T17:04:58.135304
2019-06-26T16:51:31
2019-06-26T16:51:31
188,312,427
0
0
null
null
null
null
UTF-8
C++
false
false
6,894
cpp
chesspiece.cpp
#include "chesspiece.h" #include "validatepiecemove.h" #include <QList> #include <memory> #include <QProcess> ChessPiece::ChessPiece(QGraphicsItem *parent) : QGraphicsPixmapItem(parent), dragOver(false) { setAcceptDrops(true); } void ChessPiece::mousePressEvent(QGraphicsSceneMouseEvent *event) { ...
8e3ad1d5b51ea50d54460bab0659ac9f4a89a929
31d6b871bc2c07542d770ea42199a36870be9224
/temp/server/nodes.h
c18a41969e0e5da0cbad872c648e63f5eacda725
[]
no_license
rohitdureja/Smart-Sensing
6b2543373bc2f66d6052d4780ff207883ba5b0e3
cd39e014e6f031bb6ddfce029d91cb5d99e6595b
refs/heads/master
2020-04-24T14:27:16.502842
2014-05-11T04:49:00
2014-05-11T04:49:00
25,706,229
0
1
null
null
null
null
UTF-8
C++
false
false
1,331
h
nodes.h
#ifndef NODES_H_ #define NODES_H_ #define _(x) #include <queue> #include <string> #include <map> #include <list> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <signal.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <unist...
432c9ee0883957ef7cce4709a8facf170a5dba31
62c7cb1e664abecc1050ec912a3e424277b07654
/RocketAnalyticsLib/src/BinaryReader.cpp
d55efcf8ed8ebb7f48be7b2e6860be5949b82264
[ "MIT" ]
permissive
michaeldoylecs/RocketAnalytics
460a6b17790e23dd87aad8e53f43d7f4a2fcb371
24ad101fd1adc123ea2760930de9144575dbd2a6
refs/heads/master
2020-09-04T10:11:03.987578
2018-09-01T22:20:24
2018-09-01T22:20:24
94,410,186
2
0
null
2018-06-15T05:09:48
2017-06-15T07:02:31
C++
UTF-8
C++
false
false
6,148
cpp
BinaryReader.cpp
/****************************************************************************** * Author: Michael Doyle * Date: 8/13/17 * File: BinaryReader.cpp *****************************************************************************/ #include "../include/BinaryReader.hpp" #include <array> #include <cstring> #include <fst...
c11024f6e272d0e7655a0b5e61602272e0808b0f
d30f2520323cd6bdbd02b7d11c87ddcb7daf6085
/c++/groupAnagrams.cc
9fd7a306e6c0145e8a38b99f7d500d6c587180d0
[]
no_license
liuxieric123/data-structure-and-algorithm
90a2769f59843caf04331caf36387290c9bf8ea5
47253fdbbb242cf9fd7a0254fcb3ffbdbd44656e
refs/heads/master
2020-03-26T19:44:59.878027
2020-01-17T02:44:33
2020-01-17T02:44:33
145,284,198
0
0
null
null
null
null
UTF-8
C++
false
false
1,710
cc
groupAnagrams.cc
class Solution { public: vector<vector<string>> groupAnagrams(vector<string>& strs) { int size = strs.size(); if (size == 0) return vector<vector<string>> {}; unordered_map<string, vector<string>> key_vector; for (auto str: strs) { string tmp = getKey(str); if...
56c38c34f2fee18c6521c6b7b68e1b65d15d4b40
36183993b144b873d4d53e7b0f0dfebedcb77730
/GameDevelopment/3D Game Engine Architecture/Linux/MagicSoftware/WildMagic3/Source/SceneGraph/Wm3Light.h
152d7e3be421f8024e3d9a95f7e92ae3686b3b54
[]
no_license
alecnunn/bookresources
b95bf62dda3eb9b0ba0fb4e56025c5c7b6d605c0
4562f6430af5afffde790c42d0f3a33176d8003b
refs/heads/master
2020-04-12T22:28:54.275703
2018-12-22T09:00:31
2018-12-22T09:00:31
162,790,540
20
14
null
null
null
null
UTF-8
C++
false
false
3,053
h
Wm3Light.h
// Magic Software, Inc. // http://www.magic-software.com // http://www.wild-magic.com // Copyright (c) 2004. All Rights Reserved // // The Wild Magic Library (WM3) source code is supplied under the terms of // the license agreement http://www.wild-magic.com/License/WildMagic3.pdf and // may not be copied or disclosed ...
42d2d52d89a52c0bfa72a309bc440fe6a337a2e3
b26d705f81aff8b2ad6c8e5a975895b1752c90ed
/cpp/1061. 按字典序排列最小的等效字符串.cpp
a343bef18024dbabd33e2ca26fbca6b79eb49387
[]
no_license
zianed/leetcode
61623b1538185d5c23ac2dbb97e230f46dc4f47e
ee143656e218ffea2f15ae7425b4feb29550adb6
refs/heads/master
2021-07-23T16:54:32.067235
2020-09-20T03:33:58
2020-09-20T03:33:58
217,878,948
1
0
null
null
null
null
UTF-8
C++
false
false
3,213
cpp
1061. 按字典序排列最小的等效字符串.cpp
/** 1061. 按字典序排列最小的等效字符串 给出长度相同的两个字符串:A 和 B,其中 A[i] 和 B[i] 是一组等价字符。举个例子,如果 A = "abc" 且 B = "cde",那么就有 'a' == 'c', 'b' == 'd', 'c' == 'e'。 等价字符遵循任何等价关系的一般规则: 自反性:'a' == 'a' 对称性:'a' == 'b' 则必定有 'b' == 'a' 传递性:'a' == 'b' 且 'b' == 'c' 就表明 'a' == 'c' 例如,A 和 B 的等价信息和之前的例子一样,那么 S = "eed", "acd" 或 "aab",这三个字符串都是等价的,而 "aab" 是...
be264fe279048db922c4ea3c9110185274fe8ceb
e5b52bbff31d20e0bc5af9b0126d0cc0ab005d5c
/Kernel/general_assembly.hpp
88c7b90266195fa51cd8e4a42ae55676e2cb1402
[]
no_license
MinusGix/MinuxNotOS
2bcd76524717d96e247f299efd58e8a07cb4fc1c
901e0493d14ed85a977dc07904e187fea2f31031
refs/heads/master
2020-08-29T04:40:42.588784
2019-10-31T10:50:42
2019-10-31T10:50:42
217,930,460
1
0
null
null
null
null
UTF-8
C++
false
false
109
hpp
general_assembly.hpp
#ifndef INCLUDE_GENERAL_ASSEMBLY_H #define INCLUDE_GENERAL_ASSEMBLY_H #include "../Include/stdint.h" #endif
8343f7714a1de4194819bd4dd96906322fc3a15d
211c23bbb8914423134cca963328fc13906940d3
/clang-tools-extra/clang-tidy/readability/ContainerDataPointerCheck.cpp
3a670509ec2e204c980c7f4a1628205b504d5e39
[ "Apache-2.0", "LLVM-exception", "NCSA" ]
permissive
polymage-labs/mlirx
465d8486464858f3b898fa7ffd9e3761b557fd11
d169855eb40142019af5d40162e673f1edeb2363
refs/heads/master
2022-12-19T01:00:02.265620
2022-11-12T01:05:22
2022-11-13T07:09:56
238,610,630
41
8
null
2022-12-06T15:16:05
2020-02-06T04:54:21
null
UTF-8
C++
false
false
4,996
cpp
ContainerDataPointerCheck.cpp
//===--- ContainerDataPointerCheck.cpp - clang-tidy -----------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
7fc664d1188e744a2bd69262916e672eed64c65e
e07976a89008a156878c8016de3d9743558925fc
/C02/ex01/Fixed.cpp
b7bbe499d78f3e9344ca39c8701645da1c831d6d
[]
no_license
joann8/CPP
071975257cf6e79d6dc28abc8686824bb4291a19
0978431cd09a21c2a28f32f36e5ba36096daf697
refs/heads/master
2023-07-10T09:04:38.031587
2021-08-09T15:28:02
2021-08-09T15:28:02
368,610,197
1
1
null
null
null
null
UTF-8
C++
false
false
1,400
cpp
Fixed.cpp
#include "Fixed.hpp" #include <cmath> Fixed::Fixed(void) : _nb(0) { std::cout << "Default constructor called" << std::endl; return ; } Fixed::Fixed(Fixed const & src) { std::cout << "Copy constructor called" << std::endl; *this = src; return ; } Fixed::Fixed(const int i) : _nb(i << Fixed::_bits) //valeur en bi...
b1a35a122f5cf86bba2e1f73ad4157bd066e29b4
a33c767141d8a5ab4452a6ae9c556f60329b576d
/src/Simulation/EXIT/EXIT.hpp
97b39e3d13b67d4897f703c2e3c9cd5be5054f43
[ "MIT" ]
permissive
sqf-ice/aff3ct
6d885bceb43ab88f61c27b2ccf4e04458b800269
fcd41ffd04238e314b48ec5d391265e1407975a8
refs/heads/master
2020-04-22T13:21:11.568787
2019-01-18T14:47:37
2019-01-18T14:52:32
170,405,919
0
1
MIT
2019-02-12T23:13:05
2019-02-12T23:13:05
null
UTF-8
C++
false
false
2,624
hpp
EXIT.hpp
#if !defined(AFF3CT_8BIT_PREC) && !defined(AFF3CT_16BIT_PREC) #ifndef SIMULATION_EXIT_HPP_ #define SIMULATION_EXIT_HPP_ #include <vector> #include <mipp.h> #include "Module/Source/Source.hpp" #include "Module/Codec/Codec_SISO.hpp" #include "Module/Modem/Modem.hpp" #include "Module/Channel/Channel.hpp" #include "Modu...
7d910f6fcaadad4d7dcb8e20f6885d78f6654a6e
43e5b9b997fe79f3289487bd08812990a0a8c221
/GLAC/flow/flow.h
840ac1836fb85b94f34ee15d7f09e955483d6ded
[ "MIT" ]
permissive
hmvege/GLAC
1e3b2e3eab7ed2b0c3b1dd1c0d49b672d21c816f
9bb7466fce408bf51cb98d65f639acd37d034d62
refs/heads/master
2023-07-23T07:12:24.684819
2020-07-01T09:40:55
2020-07-01T09:40:55
90,118,468
5
1
null
null
null
null
UTF-8
C++
false
false
1,190
h
flow.h
/*! * \class Flow * * \brief Class for applying gradient flow on lattice. * * Performs one step with gradient flow on the lattice, see <a href="https://arxiv.org/abs/1006.4518">this paper</a> for a detailed description. * * \author Mathias M. Vege * \version 1.0 * \date 2017-2019 * \copyright MIT Licence */ ...
5e71285e767efd205c3dace6e9b99d29d5836a1b
761af5d51c662c20096c50ae7a00d03ceeab2ac7
/libraries/libsystem/system/Random.cpp
2c270044d1641ee877bac10b231cc3ca72e7c850
[ "Zlib", "MIT", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
cristian-programmer/skift
1eedaec88ba1c09518b7c11110fa4b96a2b2b0eb
daff5533da1610f754305f8805889b536e9efb54
refs/heads/master
2021-06-14T17:02:38.612380
2020-11-08T19:18:25
2020-11-08T19:18:25
162,073,493
1
0
MIT
2018-12-17T04:15:16
2018-12-17T04:15:16
null
UTF-8
C++
false
false
1,140
cpp
Random.cpp
#include <abi/Paths.h> #include <libsystem/io/Stream.h> #include <libsystem/system/Random.h> Random random_create() { Random random = {}; Stream *random_device = stream_open(UNIX_DEVICE_PATH("random"), OPEN_READ); stream_read(random_device, &random, sizeof(Random)); stream_close(random_device); ...
9b54ab6bee9bdfb9329ca623ca66894ced14ce3e
ebb2fd2be1c8d5e17d9edbc4c47c22fbb0fa509f
/IsenburgStreamingMesh/OOC/psreader_dist/inc/psreader_oocc.h
44680c592987867c7e245af508e6380e6e161c15
[]
no_license
adishavit/mesh
e827d95ac0b07bb3a9229da1f548fbe0464059ca
f91b5aafa62dede899b0d6ec25b62d3ffceb8402
refs/heads/master
2021-01-15T10:06:19.652253
2013-01-12T16:27:16
2013-01-12T16:27:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,799
h
psreader_oocc.h
/* =============================================================================== FILE: psreader_oocc.h CONTENTS: Reads a mesh from our oocc compressed format (SIGGRAPH 2003) and provides access to it in form of a Processing Sequence. PROGRAMMERS: martin isenburg@cs.unc.edu COPYRIG...
23ebad0b70523b24e43d858fccb557c36e7df76f
33afac035da1c3fd1fa8ed78695199ede089e17f
/d03/ex03/NinjaTrap.cpp
11d87efa54fd145af584447f763bcc993857152e
[]
no_license
Melchizerderk/PiscineCPP
3ccb5d9de3be5ea442ae7d84b00c801f9fe412ac
68386a18bb6a4294c9f76c9b36cef07564562b19
refs/heads/master
2020-12-24T11:53:15.083941
2015-07-04T15:18:06
2015-07-04T15:18:06
73,010,212
0
0
null
null
null
null
UTF-8
C++
false
false
2,199
cpp
NinjaTrap.cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* NinjaTrap.cpp :+: :+: :+: ...
809f8033d03593156a73f4eb0b9b60045c94e55a
81fea7e421f7a8dce11870ca64d4aed1d1c75e04
/c++03/vector_test2.cpp
9b3105bf51b3a70c057aad8bed74fdbafecc8f5c
[]
no_license
petergottschling/dmc2
d88b258717faf75f2bc808233d1b6237cbe92712
cbb1df755cbfe244efa0f87ac064382d87a1f4d2
refs/heads/master
2020-03-26T14:34:26.143182
2018-08-16T14:00:58
2018-08-16T14:00:58
144,994,456
27
3
null
null
null
null
UTF-8
C++
false
false
706
cpp
vector_test2.cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main (int argc, char* argv[]) { vector<int> v; v.push_back(3); v.push_back(4); v.push_back(7); v.push_back(9); vector<int>::iterator it= find(v.begin(), v.end(), 4); cout << "After " << *it << " comes " << *(it+1) <<...
a8bc8977d9ccd0539bf0940042bc93391a72fd5c
2fe22b3e0e7769b42aeb1f6a6c5c136a210f234d
/native_library/win/WebViewANE/WebViewANE/FreNamespace.h
3b34cbefde0ac3ad60c323c71edf9505ca772dd9
[ "Apache-2.0" ]
permissive
tuarua/WebViewANE
691f950860154fe7c14db4cfa36e1696d0622e5c
1619b4b62a28b0bc4d77439c2980b6ae7a958382
refs/heads/master
2023-01-28T00:14:43.988458
2023-01-14T21:20:40
2023-01-14T21:20:40
78,140,240
209
55
Apache-2.0
2023-01-14T21:21:14
2017-01-05T19:05:47
ActionScript
UTF-8
C++
false
false
117
h
FreNamespace.h
#pragma once // Set FreNamespace to the same as that in your C# Class Library namespace FreNamespace = WebViewANELib;
e60e38fdc16c974b205d30680430522fafb56567
205585c79f4acae688ebac944c6e47d1eb8c619e
/tp_imperativo/src/reserva.h
a962075294e1edfda2248163c748cbe3ef71013f
[]
no_license
matiaschapresto/Algoritmos-I
0c0d37b02fa316dbf7901ea2592d531cfda9a1a2
62ee8f066705101ab937679aaa58651edf6557dd
refs/heads/master
2021-01-21T01:16:09.312926
2014-05-08T14:23:32
2014-05-08T14:23:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,061
h
reserva.h
#ifndef RESERVA_H #define RESERVA_H #include "tipos.h" #include "lista.h" class Reserva { public: Reserva(); Reserva(const DNI documento, const Fecha fechaDesde, const Fecha fechaHasta, const TipoHabitacion tipo); DNI documento() const; Fecha fechaDesde() const; ...
202ef6968894796db9010200d4235cf4cdc79612
50edab9babae446ac188df34a8c37d4fa537e946
/libccif/src/bp/CaInfo.cpp
185b473432ec4fd3bb57ae7e10b956be6c8c296b
[]
no_license
krishnact/projects
e1cae86e05d30ad6bd4935ba7e4c25985f58d5d1
940a17ffa42afc28dbd8af2656e3611b87033116
refs/heads/master
2020-12-24T13:36:24.259601
2019-10-31T14:54:36
2019-10-31T14:54:36
24,039,232
0
0
null
2020-10-13T02:36:47
2014-09-15T02:04:17
C++
UTF-8
C++
false
false
3,332
cpp
CaInfo.cpp
//**// //@Created(date = "Mon Feb 01 22:30:11 EST 2016") // Copyright (2012) Krishna C Tripathi. All rights reserved. // // You are not allowed to read/copy/distribute following code without explicit written authorization from Krishna C Tripathi // //**// #include "stdio.h" #include "CaInfo.h" #ifdef org_him...
584377340df1eba09dda0468dcf10507d16ece01
4dad3e137f89638cc1c13903d2f82cfee9e9a611
/366-FindLeavesOfBinaryTree.cpp
92568da0754d5bcadf97ed2046b5a1ef6f052550
[]
no_license
AbubakirovRA/leetcode
5b510c34b89b207319f65d7a925d37f02c6924a5
6eb9d5a4f978f9bf31a45b356a09b93322e192fd
refs/heads/master
2023-03-16T22:40:06.209726
2019-07-14T05:12:43
2019-07-14T05:12:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,453
cpp
366-FindLeavesOfBinaryTree.cpp
/* Given a binary tree, find all leaves and then remove those leaves. Then repeat the previous steps until the tree is empty. Example: Given binary tree 1 / \ 2 3 / \ 4 5 Returns [4, 5, 3], [2], [1]. Explanation: 1. Remove the leaves [4, 5, 3] from the tree ...
c48b81f4f9b431dc25388aa6010cb15ffaaf66ad
17524586122634768010c67e4df7892017d63137
/pizzeria.cpp
1f8256a7613c3b42ce448ba8f8149261c92a5a24
[]
no_license
julioasp03/pizzeria-JASP-00085518
19413cefad3cef2ff9757b2d1c4e2c8b90776d88
ccbfbf27d9c622bc1caa4f88f51a3c23ebf763a2
refs/heads/master
2020-12-11T22:03:08.480125
2020-02-10T04:47:14
2020-02-10T04:47:14
233,970,552
0
0
null
null
null
null
UTF-8
C++
false
false
18,953
cpp
pizzeria.cpp
#include <iostream> #include <string> #include <vector> #include<algorithm> #define PASSWORD "union" //defino la contrasenia// using namespace std; //creo mis enum// enum maindish{pizza,pasta,lasagna}; enum drink{Beer,soda,tea}; enum entrance{garlicbread,pizzarolls,cheesesticks}; enum payment{cash,card}; //struct para...
df46f969753355937bd6b8258e1315fd899dc799
2c63c061d5e55f5cf134a44ffcfb0a9c2d92b826
/libssco/shift_close.cpp
ac6b3ee4d1a69be93b00709b2697532733fee74e
[]
no_license
axisd/fnsapp
40be8c606596707c459036da3ecf099aaa590fd3
9d98d6b150bd0e59c1bbebf9491e3562514e5b65
refs/heads/master
2021-01-16T18:43:16.105594
2014-12-23T07:06:19
2014-12-23T07:06:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,477
cpp
shift_close.cpp
#include "shift_close.h" using namespace SSCO; ShiftClose::ShiftClose() : SaxSerializerBase("ShiftClose") { } void ShiftClose::serialize (QXmlStreamWriter& __writer) { writeTag(__writer, "id", m_id); writeTag(__writer, "date", m_date); writeOptional(__writer, "kkm_shift_number", m_kkm_shift_number); writeTag...
e7cf2db9d3270ebd6b0bcc3c4dfcd45493763b09
b0df00fc7be37493eb282a1693f7facc534166be
/main.cpp
62011836205f2f9a15cf3f126a8ba6a0e286f097
[]
no_license
mic0331/PFMCPP_Project6
8921338786ad04b17acbc9f68165c9ee5fef5b3c
5614ab33c75a50e332bea150becde260f8f073a9
refs/heads/master
2023-08-25T02:32:15.478169
2021-10-06T21:58:43
2021-10-06T21:58:43
411,501,282
0
0
null
2021-10-06T08:24:55
2021-09-29T02:16:14
C++
UTF-8
C++
false
false
3,467
cpp
main.cpp
/* Project 6: Part 2 / 2 Video: Chapter 3 Part 3 Create a branch named Part2 References 1) convert the pointer usage (except for 'const char*') to reference types or const reference types **>>> WHERE POSSIBLE <<<** Not every pointer can be converted. hint: There is no reference equivalent to ...
b8fa077bd7d7ce3b15d69681376e26c30db6f436
ce0539b7bff12d88fba5df4beed41c7315aed16e
/Engine/Pipeline/GaussianBlurEffect.cpp
a6a992b6198fddb6cd666798f71b4a393b88de76
[]
no_license
wppr/Source
a87c1bdb790747b06e6156a72968ff238a7ce771
eaad33c0149399001eb15f833c7fc3d189c77941
refs/heads/master
2020-07-10T18:02:15.766930
2016-10-30T11:34:28
2016-10-30T11:34:28
66,618,626
1
1
null
2016-08-26T07:31:24
2016-08-26T05:15:55
C++
UTF-8
C++
false
false
1,625
cpp
GaussianBlurEffect.cpp
#include "GaussianBlurEffect.h" #include "RenderTarget.h" #include "SceneManager.h" #include "engine_struct.h" #include "ResourceManager.h" #include "pass.h" #include "RenderSystem.h" #include "TextureManager.h" void GaussianBlurEffect::Init() { auto& rt_mgr = RenderTargetManager::getInstance(); auto& tm = Textur...
7ac29e01cdf416b38ba07512290a6e04293213b2
635c344550534c100e0a86ab318905734c95390d
/wpimath/src/test/native/cpp/geometry/Transform2dTest.cpp
1b0934d6ca0b39cf8fbe83549ad78dcef141c6e8
[ "BSD-3-Clause" ]
permissive
wpilibsuite/allwpilib
2435cd2f5c16fb5431afe158a5b8fd84da62da24
8f3d6a1d4b1713693abc888ded06023cab3cab3a
refs/heads/main
2023-08-23T21:04:26.896972
2023-08-23T17:47:32
2023-08-23T17:47:32
24,655,143
986
769
NOASSERTION
2023-09-14T03:51:22
2014-09-30T20:51:33
C++
UTF-8
C++
false
false
1,881
cpp
Transform2dTest.cpp
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include <cmath> #include "frc/geometry/Pose2d.h" #include "frc/geometry/Rotation2d.h" #include "frc/geometry/Transform...
72aac3177de9692e575f5952ea582bfeb4ac692a
0edf993888543e9279214ac8b4a2970f2e2e7be3
/dp-06/decorator_1.5.cpp
e8c2ac123488de3e2500f14f35e06046c59952d6
[]
no_license
JeffYoung17/DesignPattern
248da7799c8b590ac3049cd12fc8e1ab6e32869e
36281c42fb81202f78aed30eca1bfc86933d1de3
refs/heads/master
2023-04-20T16:50:14.365862
2021-03-31T13:11:30
2021-03-31T13:11:30
346,646,767
0
0
null
null
null
null
UTF-8
C++
false
false
5,491
cpp
decorator_1.5.cpp
//业务操作 class Stream{ public: virtual char Read(int number)=0; virtual void Seek(int position)=0; virtual void Write(char data)=0; virtual ~Stream(){} }; //主体类 class FileStream: public Stream{ public: virtual char Read(int number){ //读文件流 } virtual void Seek(int ...
c26efd9877fc6552a88ba1ffe37d081ff08bf4c5
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2645486_0/C++/Ginkgobiloba/b1.cpp
374864613862b3a0a53bdc28049cfbd175737081
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
1,009
cpp
b1.cpp
#include <iostream> using namespace std; int v[100]; int s[50][50]; int main() { int e, r, n, t; cin>>t; for(int a=1; a<=t; ++a) { cin>>e>>r>>n; for(int i=1; i<=n; ++i) cin>>v[i]; for(int i=0; i<=e; ++i) s[0][i]=0; for(int i=1; i...
1e34f522068d6b7866631adcf4644dde9f51fca3
0006f89c8d952bcf14a6150e9c26c94e47fab040
/src/trace/DXInterceptor/dxtraceman/DXBuffer.cpp
217edb90a55a38b4a7a95162a1434041aa43de23
[ "BSD-3-Clause" ]
permissive
cooperyuan/attila
eceb5d34b8c64c53ffcc52cd96b684d4f88b706f
29a0ceab793b566c09cf81af26263e4855842c7a
refs/heads/master
2016-09-05T18:55:56.472248
2013-06-29T14:42:02
2013-06-29T14:42:02
10,222,034
8
1
null
null
null
null
UTF-8
C++
false
false
12,331
cpp
DXBuffer.cpp
//////////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "CRC32.h" #include "MD5.h" #include "DXTypeHelper.h" #include "DXFileManagerBase.h" #include "DXBuffer.h" using namespace dxtraceman; /////////////////////////////////////////////////////////////////////////...
b0a6f06d77f377e138539ccbf752f35aea48a08f
64ba3317082921cc483c5273e9f051b4c0134e80
/src/main.cpp
13ae3d59eaac6e6f496d28deaa0863c85d75b5d8
[]
no_license
MrShedman/spectrum_teensy
441408d1c05b5f9301ea29062816b3fedba59dd3
feba384a9d60774b3051da6b56c8d72dc27f1d78
refs/heads/master
2020-04-07T23:37:21.933720
2018-11-24T13:19:46
2018-11-24T13:19:46
158,819,406
1
0
null
null
null
null
UTF-8
C++
false
false
2,982
cpp
main.cpp
// FFT Test // // Compute a 1024 point Fast Fourier Transform (spectrum analysis) // on audio connected to the Left Line-In pin. By changing code, // a synthetic sine wave can be input instead. // // The first 40 (of 512) frequency analysis bins are printed to // the Arduino Serial Monitor. Viewing the raw data can ...
6328f671322c35063df7fd36228d9dad4f957dd5
e4c432f43fb1711d7307a25d5bc07f64e26ae9de
/network/vnetwork/VNetwork.cpp
de7c853a296b4d32631e156eb653fc85a3d62ed5
[]
no_license
longshadian/zylib
c456dc75470f9c6512a7d63b1182cb9eebcca999
9fde01c76a1c644d5daa46a645c8e1300e72c5bf
refs/heads/master
2021-01-22T23:49:11.912633
2020-06-16T09:13:50
2020-06-16T09:13:50
85,669,581
2
1
null
null
null
null
UTF-8
C++
false
false
10,512
cpp
VNetwork.cpp
#include "stdafx.h" #include "VNetwork.h" namespace vnetwork { ChatMessage::ChatMessage() : body_length_(), buffer_() { buffer_.resize(HEADER_LENGTH); } ChatMessage::~ChatMessage() { } void ChatMessage::Create(const std::string& data, ChatMessage* out) { out->body_length_ = static_cast<std::int32_...
b010e75cbe0a253bef34ef14329bb968ed887429
8094f49b192e3a00fb4128091ec7958bbc097c01
/source/lib/state_representation/src/Robot/JointState.cpp
24f25643e94d906e30f015034834247b36df50bd
[ "MIT" ]
permissive
mcx/modulo
b13960d1d80e55e3df0122e69ae17875f40c13e9
02cf36d553dabae1064c0963f72cfe29e97cfd94
refs/heads/master
2023-02-11T09:40:50.244965
2021-01-12T14:56:11
2021-01-12T14:56:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,852
cpp
JointState.cpp
#include "state_representation/Robot/JointState.hpp" #include "state_representation/Exceptions/IncompatibleStatesException.hpp" #include "state_representation/Exceptions/EmptyStateException.hpp" #include "state_representation/Exceptions/NotImplementedException.hpp" namespace StateRepresentation { JointState::JointSt...
8341a648cb7d279d6d6e93f229005125cc5db28c
ef755cfa5d2c32ccbaa4326d2138d60e7e3fadf8
/StepperMotorDrivetrainK.cpp
920413cdb0242592ffa71f3ab4e0b9eaa8358e65
[]
no_license
SoonerRobotics/IEEErobot2019
388a30853c735fad0b7d30e9469f5ef2f856506f
a66a1307f80dfd1c8f6df025c2737e64c868518b
refs/heads/master
2020-03-29T07:55:38.934020
2019-04-10T20:30:05
2019-04-10T20:30:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
24,875
cpp
StepperMotorDrivetrainK.cpp
#include "StepperMotorDrivetrain.h" #include <String.h> const double WHEEL_DIAMETER = 4; // Constructor StepperMotorDrivetrain::StepperMotorDrivetrain() { //sets steps and step counter to 0 this->frontLeftSteps = 0; this->frontLeftCounter = 0; this->backLeftSteps = 0; this->backLeftCounter = 0; this->frontR...
4c3c2ebe1d711e69aacf55effcbc4db72e975f62
1367b4c420e193c35e87f1660ee445e7c0063977
/ptr-genericos-func/filter-versão-2/include/filter.h
5add51f6e2a501cc9adae763d881fb3b42b54eb1
[]
no_license
fernando-ff/LP
6391beaf0ce8139cda3ee9b5c851a33d0ed369b4
3af49540d0eb13eb2069c0d0feb75256892227c6
refs/heads/master
2023-02-07T23:39:22.998823
2020-12-20T09:47:22
2020-12-20T09:47:22
250,061,878
0
0
null
null
null
null
UTF-8
C++
false
false
147
h
filter.h
#ifndef FILTER_LIB_H #define FILTER_LIB_H #include <iostream> //std::cin,std::cout int* filter(int* first, int* last, bool(*pred)(int) ); #endif
29682f840653f4d99526ba09f805e850ba4467fd
183b96661938399377e1a78d1134ec1e9370e316
/tests/gtest_ports.cpp
968abce8328be5befa98264674b8a823af6d019c
[ "MIT" ]
permissive
hiter-fzq/BehaviorTree.CPP
3b6c3804cdda71b019c05127e45f630dd0f90eaf
5f961942d74e2f441a51a126cb6b8eb9298ff445
refs/heads/master
2022-11-12T11:54:30.322222
2022-11-03T11:28:29
2022-11-03T11:28:29
252,464,467
0
0
null
null
null
null
UTF-8
C++
false
false
4,418
cpp
gtest_ports.cpp
#include <gtest/gtest.h> #include "behaviortree_cpp/bt_factory.h" using namespace BT; class NodeWithPorts : public SyncActionNode { public: NodeWithPorts(const std::string& name, const NodeConfig& config) : SyncActionNode(name, config) { std::cout << "ctor" << std::endl; } NodeStatus tick() { i...
8b1d472d761dbe3fecec4198154771c9faa2995c
b0eacb1339ed04bf5bac6a27c9e95d890c4aea2b
/Osteotomia_Code/library/imebra/src/dataSet.cpp
ec9351ede140fd66818c6b3e59f692af759ac134
[]
no_license
david-branco/osteotomy
e1ed5b45dfd5edc5350ee5bd2ad60dae213cf7a6
7ff851cd43e4d69f3249bf3c9dfa0dd253e574d6
refs/heads/master
2020-04-09T05:31:57.366761
2018-12-02T16:55:30
2018-12-02T16:55:30
160,068,228
2
1
null
null
null
null
UTF-8
C++
false
false
49,684
cpp
dataSet.cpp
/* Imebra community build 20151130-002 Imebra: a C++ Dicom library Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 by Paolo Brandoli/Binarno s.p. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Gene...
8f4339dad4781dac5cd007e13a404b99ca3badb3
636c39ed78d7c61a1fcc33e9af311f52cb2b8af8
/thanm_ex/thanm_ex.cpp
5042278f4cc3c3010b85755ca8bccfa0299aac99
[]
no_license
Natashi/thanm-ex
827f86f9f768471b14c3db43a895b1d5a73d46a4
c8c1b09fce70f0563a78ee90cfe5af7b131d2424
refs/heads/master
2022-11-23T17:45:42.559499
2020-07-23T16:38:05
2020-07-23T16:38:05
282,003,797
0
0
null
null
null
null
UTF-8
C++
false
false
756
cpp
thanm_ex.cpp
#include "pch.h" #include "Instruction.h" #include "Archive.h" void PrintHelp() { printf( "Format: COMMAND ARGS...\n" " COMMAND can be:\n" " l ARCHIVE OUTPUT - Decompiles the archive.\n" //" x \n" ); } int wmain(int argc, wchar_t* argv[]) { if (argc < 2) { ...
038b6c57c30781ba1114e956cbfd98a4d9c8b65e
8a73ceef91ee13bd9ab7c3c0bfb8e95fa26447e5
/src/engine/RPSEngine.h
2ea8d7e944ce113f3a204c433c280a79a4f8c180
[]
no_license
chupAkabRRa/RPSGame
0922fe744bd4ce225281c680ff6d99c434cf932b
0204229959c45ecd1a859d231883c4976b3a2f11
refs/heads/master
2021-09-22T01:27:47.562366
2018-09-04T17:46:37
2018-09-04T17:46:37
146,426,671
1
0
null
null
null
null
UTF-8
C++
false
false
800
h
RPSEngine.h
#ifndef _RPS_ENGINE_H_ #define _RPS_ENGINE_H_ #include <memory> #include <map> #include "IScene.h" #include "IGameState.h" #include "sdl/SDL.h" class RPSEngine { public: enum eScene { eScene_Menu = 0, eScene_Game = 1, eScene_LobbyCreate = 2, eScene_LobbyJoin = 3 }; R...
fc574347a810d1bab6e623a083ad4b341a0c1daf
41f673ad07afb77223bb9ea8afb212f9a81fc010
/src/json_importer.cpp
122a62aeee3f7761805d75957a3cddc3bdd1dc47
[]
no_license
DiMonster07/Roguelike
a605e5c53b6269f116f1666114557cbf544ebb94
4b4065e62e4b358edf87c60691e2c45e8d53c0c5
refs/heads/master
2021-01-24T21:53:39.295378
2016-06-29T03:35:45
2016-06-29T03:35:45
54,559,221
2
0
null
2016-06-24T06:00:52
2016-03-23T12:47:40
C++
UTF-8
C++
false
false
1,723
cpp
json_importer.cpp
#include "json_importer.h" Json_importer::Json_importer(char *file_name) { file = std::fopen(file_name, "r"); if (!file) { std::cout << "Config file " << file_name << " was not found\n"; exit(1); } this->parse(); } Json_importer::~Json_importer() { std::fclose(file); } int Json_importer::get_int(char* clas...
e9c7e7ea6ec45133d602620df8e5859efe2d910c
189f52bf5454e724d5acc97a2fa000ea54d0e102
/ras/fluidisedBed/0.96/T.air
5bfe65430d0bb783899bdb262c5ed3fc50598b80
[]
no_license
pyotr777/openfoam_samples
5399721dd2ef57545ffce68215d09c49ebfe749d
79c70ac5795decff086dd16637d2d063fde6ed0d
refs/heads/master
2021-01-12T16:52:18.126648
2016-11-05T08:30:29
2016-11-05T08:30:29
71,456,654
0
0
null
null
null
null
UTF-8
C++
false
false
47,423
air
T.air
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1606+ | ...
553b8b6d04ac028d22322a2a83231d4d96d2df14
c130f4ba7463751429915bdc58251bc757cefe73
/source/StringSwitch.hpp
b459dad79253cad5d8ca8f08d6e1f47ac2acbd06
[ "Unlicense" ]
permissive
Amaranese/mario-bros-cplusplus
39c04986180621bf24ad29dd87f80a9469acf5c1
b5aefffbd3650cfa0ff5e846f43748efde8666c5
refs/heads/main
2023-07-09T06:11:10.012967
2021-08-15T00:57:46
2021-08-15T00:57:46
396,171,352
1
0
null
null
null
null
UTF-8
C++
false
false
960
hpp
StringSwitch.hpp
#ifndef STRINGSWITCH_HPP #define STRINGSWITCH_HPP #include <map> #include <string> /** * A class that can be used to create switch statements from strings. */ class StringSwitch { public: StringSwitch(); /** * Add a string to the switch. * * @param str the string. * @param value a value to assign to the string...
6fd781f2bb0d3f73f83a6f8024bc091d3cfbcb69
0c1503373ff498a5d903eba610185a310b86cdee
/SluaghEngine/includes/Gameplay/NuckelaveeNormalAttackLeaf.h
d1acc930044d2c9068af70955dd53a0b869365da
[]
no_license
dastyk/SE
cee62f56e34387b4eb11e34ca87e602c7b41151d
cbee091f35a4926bb44d5098a5adda0a38150714
refs/heads/master
2021-01-21T12:32:17.066005
2017-12-15T15:18:37
2017-12-15T15:18:37
102,079,165
0
1
null
2017-12-15T15:18:38
2017-09-01T06:03:22
C++
UTF-8
C++
false
false
769
h
NuckelaveeNormalAttackLeaf.h
#ifndef SE_GAMEPLAY_NUCKELAVEE_NORMAL_ATTACK_LEAF_H #define SE_GAMEPLAY_NUCKELAVEE_NORMAL_ATTACK_LEAF_H #include "IBehaviour.h" #include "Utilz/GUID.h" namespace SE { namespace Gameplay { class NuckelaveeNormalAttackLeaf : public IBehaviour { private: NuckelaveeNormalAttackLeaf() = delete; public: Nuc...
103b5b12ea8600e6d3c29f5f994e5f0b887b5265
65e56335184265a9dccf16b57bf7ccdd14f9f889
/include/openmapper_desktop/window.h
99a8ce0da1ed5a987f8c3e5bfc9b249f391a3294
[ "Apache-2.0" ]
permissive
OpenMapper/OpenMapperDesktop
b8de37b1506bbab61e929a4c719b9664fd787a53
c62a7ef0e7ce6d73aa2ef55b1acdbcf268f5a56d
refs/heads/master
2021-04-15T11:56:22.012087
2017-07-30T14:37:52
2017-07-30T14:37:52
94,576,589
1
0
null
2017-07-26T12:09:54
2017-06-16T19:52:52
C++
UTF-8
C++
false
false
1,040
h
window.h
// (c) 2017 OpenMapper #ifndef OPENMAPPER_DESKTOP_WINDOW_H_ #define OPENMAPPER_DESKTOP_WINDOW_H_ #include <iostream> #include <memory> #include <string> #include <vector> #include <QSlider> #include <QWidget> #include <opencv2/core/core.hpp> #include <openmapper_desktop/config.h> namespace Ui { ...
99905c68208214fb85be3d0c936e3821080bff16
966dc17abfc38c3a11e4d4798813350448f25dd5
/0401-0500/0406.cpp
07bca701d858837d85b577d218209bc3aec4fe32
[]
no_license
superlb/MyLeetcode
fa8b041339c1f803b4f0432fe6bd593a2f4e8949
ae617c7e858636b026ba3c323f37972dda64b87e
refs/heads/master
2021-08-04T02:43:16.049436
2021-07-24T14:03:05
2021-07-24T14:03:05
205,500,460
0
0
null
null
null
null
UTF-8
C++
false
false
555
cpp
0406.cpp
class Solution { public: vector<vector<int>> reconstructQueue(vector<vector<int>>& people) { sort(people.begin(),people.end()); vector<vector<int>> res(people.size()); for(auto & p : people) { int count = -1; for(int i=0;i<res.size();++i) { ...
d2157cdf5485783fb9b8b42c4085d173956b9694
0bf4e9718ac2e2845b2227d427862e957701071f
/codeforces/150/e.cpp
7fda8b67aa3b1ef638ff8ba163f4b97e68a13b17
[]
no_license
unjambonakap/prog_contest
adfd6552d396f4845132f3ad416f98d8a5c9efb8
e538cf6a1686539afb1d06181252e9b3376e8023
refs/heads/master
2022-10-18T07:33:46.591777
2022-09-30T14:44:47
2022-09-30T15:00:33
145,024,455
1
0
null
null
null
null
UTF-8
C++
false
false
5,281
cpp
e.cpp
#include <vector> #include <list> #include <map> #include <set> #include <deque> #include <queue> #include <stack> #include <algorithm> #include <numeric> #include <utility> #include <sstream> #include <iostream> #include <cstdlib> #include <string> #include <cstring> #include<unistd.h> #include <cstdio> #include <cmat...
457a22b7f95d616e93226978ceea222a475d9ca8
df536edb964c3c1cdcafd57ff8ad3a6b69ca5cbe
/test/Expr/AddLabelExpr.cpp
4793bddd99cbef974b4a302958b10a2e09a23982
[]
no_license
philipc/clang-ast
2fdb69794ca815f099fbd94e45c3c76d66539981
a827312e44573751191b7657387d12f534dd2907
refs/heads/master
2016-09-09T17:41:53.072539
2015-10-07T21:32:56
2015-10-07T21:32:56
5,884,831
6
3
null
null
null
null
UTF-8
C++
false
false
479
cpp
AddLabelExpr.cpp
// RUN: ast -f test "%s" 2>&1 | FileCheck %s // CHECK: CompoundStmt void test() { // CHECK-NEXT: LabelStmt // CHECK-NEXT: LabelDeclRef l // CHECK-NEXT: NullStmt l:; // CHECK-NEXT: DeclStmt // CHECK-NEXT: VarDecl // CHECK-NEXT: DeclarationName p // CHECK-NEXT: ...
7e877ba995612c460017b3917d032da317ae8207
409684fd8c319af0941358ece6477b23e12a5a68
/Project4/Source.cpp
426e4c98a6ec85644d9b3be577086cc8ba2e90cb
[]
no_license
fatenallache/Project4
1defeb22c3450e3980663b270c7c685cfb8864a2
740202706a085f2cec7d43e630f111d9e5e45be1
refs/heads/master
2023-01-27T17:44:52.519605
2020-11-27T18:04:55
2020-11-27T18:04:55
316,567,838
0
0
null
null
null
null
UTF-8
C++
false
false
150
cpp
Source.cpp
#include<iostream> using namespace std; int main(){ cout<< "hello jasso" << endl; cout << "Wsh lizoooom" << endl; cout << "y3tik saha" << endl; }
b4e91d529bc3adb815d24b0147169eb9be25610a
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/ash/webui/media_app_ui/test/media_app_ui_browsertest.cc
4eefe230c24e06fc08afb003f46ca85bf30ba8b0
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
1,906
cc
media_app_ui_browsertest.cc
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/webui/media_app_ui/test/media_app_ui_browsertest.h" #include "ash/webui/media_app_ui/media_app_guest_ui.h" #include "ash/webui/media_app_ui/media_app_ui.h" #incl...
74c4f77f2fd3ff32ac6caae6f80a996fdf92b757
c312e781f9fea0434b052479fba5e86d9c48fc77
/ofxLoopin/src/ofxLoopinApp.h
0f9ea497af8ba7bb5df98bf1c3c406cf0f5b0b51
[]
no_license
koopero/loopin-native
53a428b21e69bdb077e11530214d2da584f3ecd5
4101fb910b5fdd16c702396cf911ed48ab3eb4f4
refs/heads/master
2023-07-22T11:22:28.482105
2021-02-27T09:15:12
2021-02-27T09:15:12
62,488,388
0
0
null
2020-04-27T08:19:36
2016-07-03T08:44:05
C++
UTF-8
C++
false
false
5,956
h
ofxLoopinApp.h
#pragma once #include "./base/Buffer.hpp" #include "./clock/Clock.hpp" #include "./clock/Frame.hpp" #include "./base/Input.hpp" #include "./control/Map.hpp" #include "./control/Reference.hpp" #include "./base/Root.hpp" #include "./base/Reader.hpp" #include "./base/Stdio.hpp" // #include "ofxLoopinAudioAnalyzer.h" #i...
fede93c54e5e2a78d92d25f6169942b151d6ab75
3a7c1ef392ea8654033886ea4f608c46de16c9a2
/Source/Misc/Polytempo_ImageButton.h
8ab0343f66e61ac1c4a2232a02b988fd748d95b7
[]
no_license
michaseidenberg/polytempo
ad585a692827cbbb65e94ef03c7b65f65783a084
cea853d6f47c678228e418b9126baa9ac5b8d3e9
refs/heads/master
2023-04-01T23:18:06.066886
2021-04-07T15:46:27
2021-04-07T15:46:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
360
h
Polytempo_ImageButton.h
#pragma once class Polytempo_ImageButton : public DrawableButton { public: Polytempo_ImageButton() : DrawableButton("xxx", DrawableButton::ButtonStyle::ImageOnButtonBackground) {} Rectangle<float> getImageBounds() const { auto r = getLocalBounds(); r = r.reduced(3, 3); ...
3c8b00b53f18b7e34f5801754caf0f6bf1d0b856
36f65a7a1010ef00832220873acd4c1ad7a1fd4f
/yae_libraries/Tnet/ConnectionClosedException.h
f7110bbef7220df78389a8f941943eb3c3340939
[]
no_license
trakos/yae-be
1d08d50e901c0daa2a83ef6b69719202914d94d5
2e143276ab007a9668f38907dfeb9cc9c95e2580
refs/heads/master
2020-04-27T20:51:25.965460
2014-08-12T13:40:22
2014-08-12T14:02:53
22,880,278
1
0
null
null
null
null
UTF-8
C++
false
false
408
h
ConnectionClosedException.h
/* * Exception.h * * Created on: 2011-01-25 * Author: trakos */ #ifndef TNET_CONNECTIONCLOSEDEXCEPTION_H_ #define TNET_CONNECTIONCLOSEDEXCEPTION_H_ #include <string> #include <Tnet/Exception.h> class Tnet_ConnectionClosedException : public Tnet_Exception { public: Tnet_ConnectionClosedException() : Tne...
793bbb44703a9a43df5e136e71b780c1560d935d
e15e0252e353d26cda7758066bc4a73fb866dcc3
/Semester 2/ADS/ADS Assignment 8/8.2/RedBlackTree.h
3722b5b3b95c7d8380bd338749a485a3cc06820b
[]
no_license
RittmayerJ/College
2d441533febf7d5ac175bc2b242ed4d95cade980
ce41092692629930a1caed2751514142dfe3e3a6
refs/heads/master
2021-06-30T00:00:42.056925
2020-07-08T11:36:27
2020-07-08T11:36:27
169,301,959
0
0
null
2020-10-13T23:24:42
2019-02-05T19:47:30
C++
UTF-8
C++
false
false
1,264
h
RedBlackTree.h
/* CH08-320201 Problem a8.p2.cpp Jonathan Rittmayer jo.rittmayer@jacobs-university.de */ #ifndef _RED_BLACK_TREE #define _RED_BLACK_TREE #include <bits/stdc++.h> using namespace std; enum Color{RED, BLACK, DOUBLE_BLACK}; struct Node{ int data; Color color; Node *left, *right, *parent; Node(const int& data);...
7839d1622893670df36f3225dc852a8b182a143a
510cfe880a475f0c572cc34c1b544e41911c3e6c
/630A.cpp
acbfb7c0eaf28e026e6cc57608073a1c17e24c58
[]
no_license
ptkhai1203/cf-problems
aa40a1233b490c0daa977f978bed5b517bc47190
421c8e43401aa409363d6653540d8d6238b0e1d3
refs/heads/main
2023-04-14T14:03:45.795965
2021-04-12T13:35:05
2021-04-12T13:35:05
340,100,309
0
0
null
null
null
null
UTF-8
C++
false
false
306
cpp
630A.cpp
#include <bits/stdc++.h> #define nl '\n' using namespace std; int main(){ #ifdef PTK freopen("input.txt", "r", stdin); //freopen("output.txt", "w", stdout); #endif ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); long long n; cin >> n; cout << 25; return 0; }
b82dd6f4c0beb04a69ffece9c0cf62ca413278c8
98b8435aca84385bd39070df199641d7a770e4d4
/src/Warps.cpp
34183650181c3e5de8e56fe97d2f970bac0ccf07
[ "MIT", "BSD-3-Clause" ]
permissive
audiomic/AudibleInstruments
862a89d03a623a841f56017b8626eb19fb8b8591
8edc0bfc5e5a9b3f875dd13c55977bca8d061573
refs/heads/master
2021-07-17T18:22:57.359780
2017-10-24T06:22:20
2017-10-24T06:22:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,627
cpp
Warps.cpp
#include <string.h> #include "AudibleInstruments.hpp" #include "dsp/digital.hpp" #include "warps/dsp/modulator.h" struct Warps : Module { enum ParamIds { ALGORITHM_PARAM, TIMBRE_PARAM, STATE_PARAM, LEVEL1_PARAM, LEVEL2_PARAM, NUM_PARAMS }; enum InputIds { LEVEL1_INPUT, LEVEL2_INPUT, ALGORITHM_INP...
28a769dcf0119fd0ad1bde19d76a91d44279cfb5
79e35b3844aeb0c35f5705758a44d424a5b3df3a
/Simulator/PortTree.h
d4c465940666336946debe991bfd536a6d4e3dfc
[ "Apache-2.0" ]
permissive
longwinds/mstp-lib
c17d85790c79ce29645781ba312fc7878971b41c
513091b31d967cba635811640250ee7a2b9b82e6
refs/heads/master
2020-05-07T08:11:05.875737
2017-09-19T14:11:53
2017-09-19T14:11:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
696
h
PortTree.h
#pragma once #include "Object.h" class Port; class PortTree : public Object { using base = Object; Port* const _parent; unsigned int const _treeIndex; public: PortTree (Port* parent, unsigned int treeIndex) : _parent(parent), _treeIndex(treeIndex) { } HRESULT Serialize (IXMLDOMDocument3* doc, IXMLDOMElemen...
d2a3c83dd902eebf4f4214949b1b8868c0247753
40487796b93e8f5e253790ddd7524498a8c6439a
/src/Gogh/MainWindowStyle.cpp
b4649ee849ac6c93f1dbe1292b9d64ad07531b8d
[ "MIT" ]
permissive
eliemichel/CodenameGogh
9f1d9fdcd3f4802e57dbf6d81a53346f4645f4d5
6fea1a03b7a86d19dfaed7a5093784200ca7815f
refs/heads/main
2021-06-23T15:55:39.958404
2020-12-18T10:59:02
2020-12-18T10:59:02
142,702,250
6
0
null
null
null
null
UTF-8
C++
false
false
626
cpp
MainWindowStyle.cpp
#include <QStyleFactory> #include "MainWindowStyle.h" MainWindowStyle::MainWindowStyle() { setBaseStyle(QStyleFactory::create("Fusion")); } QPalette MainWindowStyle::standardPalette() const { QPalette pal = QProxyStyle::standardPalette(); pal.setColor(QPalette::Window, QColor(68, 68, 68)); pal.setColor(QPalette:...
526aac31dd12ac0bd5c8d9c421a3b5099603dbef
09b62b21d4450cf737a62da16d2d6006dbcba86a
/yl_32/sourcecode/server/coordinator2/relation/tmpfriendfactory.h
1071a29d654d661ac9a9b684b2a7076a29b47186
[]
no_license
hw233/clua_yol
fa16cf913092286f9ea3d11db1e911568f569363
bbc2e55290c185f6cfff72af9e1b9a96f9e6f074
refs/heads/master
2020-03-19T06:24:23.486101
2016-02-23T10:04:58
2016-02-23T10:04:58
null
0
0
null
null
null
null
GB18030
C++
false
false
1,486
h
tmpfriendfactory.h
/* ------------------------------------------------------------------------- // 文件名 : tmpfriendfactory.h // 创建者 : // 创建时间 : // 功能描述 : 临时好友工厂 // // -----------------------------------------------------------------------*/ #ifndef __KTMPFRIENDFACTORY_H__ #define __KTMPFRIENDFACTORY_H__ #include "unirelat...
4783694b85267e413b1cc685a5ed0fa183764818
87c53d435d709293536f376730a160eb48834b23
/Decimal to any base.cpp
b073a1d914fad2c65d3d5e7cda1c488aeb2bff68
[]
no_license
Sagorika28/C-plus-plus-codes
9e4e05ac768cd7c368f04ea713253a222b7a3ffa
531f4abdb171b37d23430178d56a5c96bda3a77b
refs/heads/master
2023-06-02T00:43:02.134535
2021-06-18T07:51:37
2021-06-18T07:51:37
278,141,365
0
0
null
null
null
null
UTF-8
C++
false
false
302
cpp
Decimal to any base.cpp
#include <iostream> #include <iomanip> using namespace std; void change(int n, int b) { int ans=0,dig, p=1; while(n) { dig = n%b; ans += p*dig; p *= 10; n /= b; } cout<<ans; } int main() { int n,b; cin>>n>>b; change(n, b); return 0; }
8fd2d75c798d5593f73cbdc35d670d389c97eeac
1336ec5333bc3c3fe3ebd77da979ed0919291e8b
/plaintextdialog.h
8f5da43bd735fd638c9d6d9756de0094037b7578
[]
no_license
quartorz/Qhyphen
a6ff54c6d5014a6308fd70b64f1c13c9bb2b9555
d3ee7bd643a2a08116abddffc325f3cd6d45c1dc
refs/heads/master
2021-01-20T02:25:15.418421
2017-04-25T20:54:06
2017-04-25T20:54:06
89,403,133
0
0
null
null
null
null
UTF-8
C++
false
false
357
h
plaintextdialog.h
#ifndef PLAINTEXTDIALOG_H #define PLAINTEXTDIALOG_H #include <QDialog> namespace Ui { class PlainTextDialog; } class PlainTextDialog : public QDialog { Q_OBJECT public: explicit PlainTextDialog(QWidget *parent = 0); ~PlainTextDialog(); QString content() const; private: Ui::PlainTextDialog ...
f2f21ae6d3f7386a285d186340b6707d49ca7832
e71807c58b97bc7c7ee286b5eb6c42421c0c0c22
/ZClanListBox.h
1e3a68653081fdabb9fc65edaa662a2b816e508e
[]
no_license
henriquegnandt/Gunz1.5
b42e086e3fe77084023c8aa6c2d037466d49c7ba
36678e8c367e1a2ce8af6eed4fd54b3d76e67709
refs/heads/master
2022-04-13T13:20:24.702946
2020-03-27T00:47:37
2020-03-27T00:47:37
250,406,234
0
0
null
null
null
null
UHC
C++
false
false
1,113
h
ZClanListBox.h
#ifndef _ZCLANLISTBOX_H #define _ZCLANLISTBOX_H #include "MWidget.h" #include "MMatchGlobal.h" #define NUM_DISPLAY_CLAN 4 struct ZCLANINFO { int nClanEmblemID; char szClanName[CLAN_NAME_LENGTH]; int nPlayers; // 대기중인 사람수 bool bEmpty; // 비어있는방인지 //bool bIsAntiLead; //int GameType; }; class ZClanListBox : pub...
b34ee6ad47687fa3d2ae9e16905ee2f30d0cf936
37baa0aef8d78dea826cec48cce02a4fa045f403
/src/FeatureSelection.cpp
53e783c0d66bfc16819bc8d74520aac4c25798cd
[]
no_license
a686432/FR2017
22d9e4aa52772c1ca8b5ee88ebaeaaf150319203
de88d20690b94a49e65dcc05eb108f30f16afd37
refs/heads/master
2021-05-09T06:57:10.711839
2018-01-29T07:33:42
2018-01-29T07:33:42
119,347,362
0
0
null
null
null
null
UTF-8
C++
false
false
2,119
cpp
FeatureSelection.cpp
// // Created by jdq on 17-12-26. // #include "FeatureSelection.h" FeatureSelection::FeatureSelection(FeatureDescriptor fd) { //this->features = fd.get; } FeatureSelection::~FeatureSelection() { } void FeatureSelection::LDA(vector<int> &a) { shark::LDA(); } ClassificationDataset FeatureSelection::vec2labelData...
134f33bb6a38425091b4a4be2ec941861c6f14a9
b9f9b6141c5b2470c0633b92e54ccbcc85f1bbc2
/kcppPlikiPodzial/Makefile.example/mainDwaPlikiC.cc
130682df21b104d1d73a029c2c87446cea070dde
[]
no_license
epittek/kcpp
a8bb66e96eeea45d53abc9218c13d772cb49880e
1226253b0f09a6cc64d75d5e4c98b9a710ed8a1e
refs/heads/master
2021-07-23T07:21:29.220822
2020-05-18T08:40:53
2020-05-18T08:40:53
169,242,177
2
2
null
null
null
null
UTF-8
C++
false
false
372
cc
mainDwaPlikiC.cc
#include "dwaPlikiC.hh" int main() { int zmienna = 0; KlasaA *obj = new KlasaA(); cout <<"Podaj zmienna: "; cin >> zmienna; obj->SetZmienna(zmienna); obj->DisplayZmienna(); int innaZmienna = obj->GetZmienna() + 7; cout <<"Wartosc zmiennej: "<< innaZmienna << endl; cout <<"Wartosc zmienn...
58092b805e8c808083ca89e699143a4013ee54ca
ee00ee2d12c76ce0fd416beb4cd8c7ba9cbf57a8
/2021-04-21/game.cpp
d221ecc52c2db3ae079a7e3d7f1dfedd502dfbe3
[]
no_license
hyestar/SBS_cpp
3f96b5e6dca27c2d0cdf3fc8ccc0608967bbbae0
9fba8135d4cb92a999bb6611bdc427ad60083f51
refs/heads/main
2023-07-10T21:28:16.257289
2021-08-05T13:38:02
2021-08-05T13:38:02
360,016,139
1
0
null
null
null
null
UTF-8
C++
false
false
1,612
cpp
game.cpp
#define _CRT_SECURE_NO_WARNINGS #include <cstdio> #include <cstring> #include <cmath> #include <ctime> class character { public: char name[50]; int power; int attack; int range; int speed; character(int power, int attack, int range, int speed) { this->power = power; this->attack = attack; this->range = r...
b8e97035a36353788d4af07d51ace859aa8af00b
15d6686ad1f75b5e4ada159c4bccd61cc4b31fc2
/day-02/step2.cpp
c7cd28280d88d4ce74a4ea940ecee07725359c0c
[]
no_license
andre-ws/advent-of-code-2019
120fbb957a4e3c3056eba1b66bd0c8f11569ab46
0bc4f920fc76ffed6fa0619bf73ddebfdcaa0214
refs/heads/master
2020-09-23T13:09:19.963910
2019-12-07T23:17:09
2019-12-07T23:17:09
225,507,997
0
0
null
null
null
null
UTF-8
C++
false
false
1,535
cpp
step2.cpp
#include <iostream> #include <fstream> #include <vector> using namespace std; constexpr int Addition = 1; constexpr int Multiplication = 2; constexpr int Eof = 99; bool isEof(int value) { return value == Eof; } void Add(vector<int>::iterator it, vector<int> &input) { input[*(it+3)] = input[*(it+1)] + input[*(it+2...
486cd5916f8b3ac8ad5a9d17d9045a82376e35a7
37b7c4d71ef2b375c8f20b0e3e4e1ce7ae5a3b3c
/dicomlib/include/RISObject.h
5cfc16bfb7d78610f7a7a889e33437146b99ec70
[]
no_license
albertzeng/eRadQueue
35789276b83dbed4738ba5360e2c66871263655a
8cf50e3821b9efb0aff57eaccab6370cc6691355
refs/heads/master
2021-01-23T19:56:21.282964
2015-08-03T07:49:50
2015-08-03T07:49:50
40,111,849
0
0
null
null
null
null
WINDOWS-1258
C++
false
false
39,482
h
RISObject.h
// RISObject.h: interface for the RIS Object classes. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_RISOBJECT_H__BFF71E48_3501_4119_8FE7_DC3389648A48__INCLUDED_) #define AFX_RISOBJECT_H__BFF71E48_3501_4119_8FE7_DC3389648A48__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endi...
60fb34077d59545a4cb17aa80f06cb36a044603a
9608d6b322335b6a8dda8558c30349aecbfab03e
/Grid/threads/Pragmas.h
dfefc38a49f9498b7a9d0d9855533ed72572d493
[]
no_license
vlkale/GridMini
2d07c1a7939a428a5031a270609ff7b94b5eaca4
7a2925bb115e3d13f2c184c88d47d8c70c572513
refs/heads/master
2020-11-30T21:01:52.510035
2019-10-30T14:33:18
2019-10-30T14:33:18
230,478,503
0
0
null
2019-12-27T16:42:18
2019-12-27T16:42:18
null
UTF-8
C++
false
false
5,368
h
Pragmas.h
/************************************************************************************* Grid physics library, www.github.com/paboyle/Grid Source file: ./lib/Threads.h Copyright (C) 2015 Author: Peter Boyle <paboyle@ph.ed.ac.uk> Author: paboyle <paboyle@ph.ed.ac.uk> This program is free software; yo...
86bd0ae72dcea67b000566d38093d1adc215215d
fab6f199e628aaa2e5e06fb3d0c9a50ea60edbfc
/codes/216.combination-sum-iii.cpp
74cf0108f14bf78748588994035e588555805958
[]
no_license
sunmiaozju/leetcode
76a389a0ef6b037a980749ca333d455480e5fa63
a7e52930ed5467ca1e500b0af7847ade9b38f165
refs/heads/master
2020-07-21T18:49:43.843343
2020-06-25T15:47:58
2020-06-25T15:47:58
206,946,122
4
0
null
null
null
null
UTF-8
C++
false
false
1,752
cpp
216.combination-sum-iii.cpp
/* * @lc app=leetcode id=216 lang=cpp * * [216] Combination Sum III * * https://leetcode.com/problems/combination-sum-iii/description/ * * algorithms * Medium (52.92%) * Likes: 819 * Dislikes: 45 * Total Accepted: 145.8K * Total Submissions: 269.1K * Testcase Example: '3\n7' * * * Find all possi...
c3c1ab9ff054c95617ee51f5fa0e5e1b7c56d175
100d31faf4b459bafe51a7f1cc3cbbe694011f91
/examples/cpp/smart_ptr_aligned.cpp
84ca78eb7ef27772ff3538574c50de9ee6474d79
[ "CC0-1.0" ]
permissive
embeddedartistry/embedded-resources
aabbc962ab9354f773caadae5e3945e5c4e364bf
1b25c30902fd34a69ed1001af741d564e8df0df1
refs/heads/master
2023-04-29T22:08:01.069233
2023-04-21T03:32:28
2023-04-21T16:25:23
76,132,197
569
412
CC0-1.0
2023-04-21T16:25:24
2016-12-10T19:11:21
Makefile
UTF-8
C++
false
false
3,307
cpp
smart_ptr_aligned.cpp
#include <memory> #include <cstdio> #include <cstdint> #include <string> #include "memory.h" static void aligned_free_wrapper(void* ptr) { printf("Calling aligned_free on ptr: %p\n", ptr); aligned_free(ptr); } /** * Here we create aliases for our aligned pointer types. * We are specifying that our alias has a fix...
447592723ba3796295168ae8988706d996be35fb
f99bab361a5789c270f10fe17a70d11fda24ae92
/pro_con/producer_consumer.cc
4f48c527cc1396d81dea1b3730b82d54da90a897
[]
no_license
cailun01/cpp_concurrency
1901660cd8c348b069d62abab87c4075edcebf9d
789fcab9139b52bcfddd971366e81f40c316e7e0
refs/heads/master
2020-05-14T15:11:10.338218
2019-04-23T12:33:50
2019-04-23T12:33:50
181,847,388
0
0
null
null
null
null
UTF-8
C++
false
false
4,491
cc
producer_consumer.cc
// https://segmentfault.com/a/1190000006703543 #include <iostream> using std::cout; using std::endl; #include <mutex> using std::mutex; using std::lock_guard; using std::unique_lock; #include <string> using std::string; #include <thread> using std::thread; using std::this_thread::sleep_for; #include <condition...
a27951b0701674458bc9393c86a165c7a69ee27a
e7e9930456e74ce09f0c81cc938c2ae639d241a5
/architecture/p1232.cpp
8ee63d986040ca17b47212c8b93ee72f04f037c3
[]
no_license
jcyesc/assembly-language-computer-architecture
46fda5f5ef3a7d91902baec834bd3411689d7707
bb0ef69393a3b542a6d91026214293ba206b3f7c
refs/heads/master
2020-06-04T05:07:08.557454
2019-06-14T06:05:17
2019-06-14T06:05:17
191,882,228
4
1
null
null
null
null
UTF-8
C++
false
false
201
cpp
p1232.cpp
#include <iostream> using namespace std; void f(int a[]) { a[3] = 45; } void g(void) { int z[10]; int x = 5; f(z); cout << *(z+3) << endl; } int main(void) { g(); return 0; }
a4b6c807d0775679082a138dc0153fdb9424482e
9a9a34390f5479643d9d5afae4d59fc4101f5e18
/Murga_Lab8/SkewHeap/SkewHeap.h
d8f419ec813a8c942111d0623d34ca0d87046ef0
[]
no_license
danmur14/DataStructures560
9eab5aa918579bd745cb3b952d863e103119841d
4a820f11bc9f93281e02e679d8c4cffad5e9b917
refs/heads/master
2021-01-23T21:16:03.348112
2017-09-08T17:38:42
2017-09-08T17:38:42
102,888,223
0
0
null
null
null
null
UTF-8
C++
false
false
1,127
h
SkewHeap.h
/* * @file: SkewHeap.h * @author: Daniel Murga * @date: 2017.3.26 * @brief: Header file for SkewHeap.cpp */ #ifndef SkewHeap_h #define SkewHeap_h #include <fstream> #include <iostream> struct NodeS { //NodeS properties int key; struct NodeS *m_left; struct NodeS *m_right; //normal constructor not...
53f8645e5781978d8d0edb3d0965df1bfdfa8281
011194ceea8076561d0817c685f59e37ef5c7894
/Source.cpp
f89419a35afb4b811382a266e59245f6f8f466c9
[]
no_license
ramsesCastro/Student-gestion
9b2b1a9abf571a54846cf282d8f352bb9b15a0c2
900431807dd7d2589d62600b195b05644d6f4701
refs/heads/master
2020-04-20T23:40:47.944872
2019-02-05T01:16:38
2019-02-05T01:16:38
169,174,677
0
0
null
null
null
null
UTF-8
C++
false
false
163
cpp
Source.cpp
#include <iostream> using namespace std; #include "Etudiant.h" void main() { //creation dn objet CEtudiant Etu; cin >> Etu; cout << Etu; }
5f8e255a0453dd1365987ceca1b1ffbdb496a06f
b776cbc6e9e7bffa49054a313611783f5a742321
/materials/Metal.cpp
9925fb48349b956078e7b942ac62d5bea83d50c8
[]
no_license
Gagerdude/raytracer
8ce17a1d780e51223b02e24e80fc508a1b1e6f73
e9b886dc66301b3b7c99e10eed573b7737d989b1
refs/heads/master
2020-05-29T11:18:54.859417
2019-07-29T17:29:28
2019-07-29T17:29:28
189,111,953
0
0
null
null
null
null
UTF-8
C++
false
false
570
cpp
Metal.cpp
#include "Metal.h" Metal::Metal(Texture* a, double f){ albedo = a; if(f < 1){ fuzz = 1; } else { fuzz = f; } } Metal::~Metal(){ delete albedo; } bool Metal::scatter(const Ray& ray_in, const hit_record& rec, vec3& attenuation, Ray& ray_scattered) const{ vec3 ref...
b8138dff273e9e2600110d4ff5f1eefa2150adcd
bdf09003695716725c98f28a79aa9c6a8c8a1b3d
/hybrid_lock/test1_hybrid.cpp
e36b29f42e9e2b216fc40d380c5494191322f60a
[]
no_license
crystal07/system_prog
3c6f351b87ddc009bd1ad3c0c26738db62320910
8267edb60bfa29e02e2d6c137985c41598c012b3
refs/heads/master
2021-03-22T03:34:43.690839
2017-12-26T05:09:23
2017-12-26T05:09:23
110,926,493
0
0
null
null
null
null
UTF-8
C++
false
false
3,400
cpp
test1_hybrid.cpp
#include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <unistd.h> #include <chrono> #include <sys/time.h> #include "hybrid_lock.h" long g_count = 0; pthread_mutex_t g_mutex; hybrid_lock_t hybrid; float while_time; long long int while_count; long long int get_count_while_per_sec() { long long int i = 0;...
cf1add9610c7b4147f2b025a6348ef3fc7fbb6e5
6e608cfaa9316e777beac2f5aa51bb3fcc3120e5
/qt/build-streamer-Desktop-Debug/ui_mainwindow_streamer.h
ee6e5c99e9587d613bf3bb8efc8cbdfe459e50d8
[ "BSD-3-Clause" ]
permissive
ida-zrt/thermalvis
9b18808c6c423096faf5dedca276d324339815a7
36a6ba0d12ab91097435630586e3eb760130582c
refs/heads/master
2022-12-15T06:57:43.736121
2020-09-20T08:33:18
2020-09-20T08:33:18
297,032,390
0
0
BSD-3-Clause
2020-09-20T08:22:22
2020-09-20T08:22:21
null
UTF-8
C++
false
false
24,190
h
ui_mainwindow_streamer.h
/******************************************************************************** ** Form generated from reading UI file 'mainwindow_streamer.ui' ** ** Created by: Qt User Interface Compiler version 4.8.6 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! *******************************...
553f9ebd7df0ac7177e1f129a5d61ddb4e92776f
c3c2d6cb7077a18b9e354cafbf3c23ef870c7b3a
/position.cpp
52db353ae710254a865c0f6db575a5279817a8bc
[]
no_license
YuriiHrushko/TestTranslator--LexicalAnalyzer-
be0d23e827843fc5561ebfab6da129811e92218f
93fee05c6e331d69b6e211009e48110ee492e088
refs/heads/master
2021-01-23T08:21:21.146658
2017-03-28T20:50:17
2017-03-28T20:50:17
86,505,458
0
0
null
null
null
null
UTF-8
C++
false
false
435
cpp
position.cpp
#include "position.h" Position::Position(int Pos, int Line){ this->currentPos = Pos; this->currentLine = Line; } void Position::nextLine(){ currentPos = 0; ++currentLine; } void Position::nextPos(){ ++currentPos; } int Position::getLine(){ return currentLine; } int Position::getPos(){ r...
837dde1be2d4ed087431f31ed6f602eda587ea28
9dacf653d3f285ac31ab636fd6a7f08146b1dac9
/SkyneyHK-Aerial/SkyneyHK-Aerial/SkyneyHK-Aerial.cpp
f6a7920b93abe8e2f0d81b58e9f6bf793bc8a4ba
[]
no_license
zzzzzz2468/SkynetHK-Aerial
da3242a700c3db02c17e1649e01317bf093b72c3
f424abaaf45ed0e8da0b5204b70f5147d1350221
refs/heads/master
2022-12-23T14:43:51.820432
2020-09-27T11:54:15
2020-09-27T11:54:15
299,010,038
0
0
null
null
null
null
UTF-8
C++
false
false
2,783
cpp
SkyneyHK-Aerial.cpp
#include <iostream> #include <stdlib.h> //Including srand and rand #include <time.h> //Including time using namespace std; int main() { //Initializing different variables that the code needs int prediction = 0, gridHighNum = 0, gridLowNum = 0, totGrid = 0, totPings = 0, enemyPos; //For loop that creates ...
26b1c359f1fbf8460d8fb801db3f3f30291ca61e
2b23787a70cf8c2ccb3b3987976c48c9cb826d49
/src/ofApp.h
243a441332b6eeb1f5bbf1a3d4b6fb8397a3148c
[]
no_license
edap/karaoke-keyboards
4536809e3fe58ff979da3312f75680dfa6a0b96c
7eb6f55958c2b6198d1bd442bc7ff6927cf9b5a0
refs/heads/master
2021-01-19T13:01:07.522200
2015-10-14T20:37:44
2015-10-14T20:37:44
42,768,455
0
1
null
null
null
null
UTF-8
C++
false
false
942
h
ofApp.h
#pragma once #include "ofMain.h" #include "Player.h" #include "Lyric.h" #include "Score.h" class ofApp : public ofBaseApp{ public: void setup(); void update(); void draw(); void startSongFromBeginning(); void keyPressed(int key); void keyReleased(int key); void mouseMoved(int x, int y ); void...