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
9ecb37a3ae889f6d99eb66d2ad271d1e47556510
7ee32ddb0cdfdf1993aa4967e1045790690d7089
/Topcoder/Aircraft.cpp
c1910c203eca74d17eb9cbec9ad597dc80cd9bba
[]
no_license
ajimenezh/Programing-Contests
b9b91c31814875fd5544d63d7365b3fc20abd354
ad47d1f38b780de46997f16fbaa3338c9aca0e1a
refs/heads/master
2020-12-24T14:56:14.154367
2017-10-16T21:05:01
2017-10-16T21:05:01
11,746,917
1
2
null
null
null
null
UTF-8
C++
false
false
7,783
cpp
Aircraft.cpp
#include <iostream> #include <sstream> #include <vector> #include <string.h> #include <algorithm> #include <utility> #include <set> #include <map> #include <deque> #include <queue> #include <cmath> #include <cstdlib> #include <ctime> #include <cstdio> #include <stdio.h> using namespace std; #define rep(it,s) for(__ty...
0d9dcd01a7f2d21591462e1ecf73c8d576723a80
6de1e4199216517c9247bd5103476c33a7c98c22
/AdvanceLevel/1026. Table Tennis.cpp
d7292cd83f72cef377e78a68a3ca006ab83cfeda
[]
no_license
Aiden68/PAT
9da832b5999afc5d55c3f58a39bb07dad76c89f9
a01df198ff75bc1209b86ced79a34a5155efc11d
refs/heads/master
2021-01-12T10:08:38.073835
2017-03-03T07:46:16
2017-03-03T07:46:16
76,371,489
0
0
null
null
null
null
UTF-8
C++
false
false
2,706
cpp
1026. Table Tennis.cpp
#include<iostream> #include<string> #include<vector> #include<algorithm> using namespace std; struct Player{ int arrivetime; int vip; int playtime; }; struct Table{ int idletime; bool vip; }; bool com(Player a, Player b){return a.arrivetime < b.arrivetime;} int main() { int n, k, m, hh, mm, ss; int tablenum[1...
3ac267a21fda19f771a435f2e7f6ed312eef8465
75fabbee8319f1eadf4b5123d0f0604cd8a1491d
/Source/MolinaMondragon/Private/UI/GameOverHUD.cpp
48886aef2b727f1f9025e11d7421568dbd1e1ebe
[]
no_license
mondragonbu/MolinaMondragon
3b52dfe1274c67e170899ecf46f27dd7538bd26c
a203a7cc13587a71411b5525cf54694867df6427
refs/heads/master
2023-05-02T08:05:23.885340
2021-05-21T13:58:58
2021-05-21T13:58:58
349,012,524
0
0
null
null
null
null
UTF-8
C++
false
false
663
cpp
GameOverHUD.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "UI/GameOverHUD.h" #include "UI/GameOverMenuWidget.h" #include "Player/MyPlayer.h" #include "Kismet/GameplayStatics.h" #include "GameModes/DungeonGameInstance.h" void AGameOverHUD::BeginPlay() { Super::BeginPlay(); gameO...
08434bb0db9c6a0e5c1dd5a2f4b6d29bd05f8705
364980e64538f28a1ffc857523fd98f17340b82b
/include/my_exception.h
8eea318a4d1eb09738fd2371082525ee470c3b85
[]
no_license
nicomatex/taller_argentum
dee9f8e13f295dd386377d548a3304004763a91d
9f5d2485356ba5d28080a5bde1458a04f3ffe6de
refs/heads/master
2022-12-04T14:14:29.037640
2020-08-21T19:46:17
2020-08-21T19:46:17
268,933,989
8
1
null
null
null
null
UTF-8
C++
false
false
381
h
my_exception.h
#ifndef __MY_EXCEPTION_H__ #define __MY_EXCEPTION_H__ #include <stdexcept> #define BUFF_SIZE 256 class MyException : public std::exception { private: char error_msg[BUFF_SIZE]; public: MyException() noexcept; MyException(const char* format, ...) noexcept; virtual const char* what() const noe...
0a47d3e833ad868524e925037d3412b802a54d54
d085217958a5aee8bf3af7e0b3addf247f0f512b
/SliceModel.cpp
8dbab5938246e812b9c1a4c08029d75e86c5a52f
[ "Apache-2.0" ]
permissive
yajing2018/DSI-Studio
43804509b669a3c9dee1dbb8f79fa5a3c931785e
9c1d80d5755dbfdd7fec574c3f5c6e6ecff75ed2
refs/heads/master
2020-04-14T19:26:33.993054
2018-12-20T13:51:17
2018-12-20T13:51:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
18,092
cpp
SliceModel.cpp
// --------------------------------------------------------------------------- #include <string> #include <QFileInfo> #include <QImage> #include <QInputDialog> #include <QMessageBox> #include <QDir> #include "SliceModel.h" #include "prog_interface_static_link.h" #include "fib_data.hpp" SliceModel::SliceModel(std::shar...
8858bbc7f57b84cdaf17f89dbe7d6537ee9a9abd
046c3dc74e8d843382a05b09edfbbc569dbaf161
/zdc/MpdZdcDigiScheme.cxx
31aa8843f9e16bfcc31f1853a64e2142185a47d2
[ "FSFUL" ]
permissive
nburmaso/mpdroot
13d84e027b14754f5ff5d8ced7a47587319b97f5
f49cc155cf6256cae619032820b3382604527e05
refs/heads/master
2023-07-15T20:06:59.386155
2017-04-03T13:55:17
2017-04-03T13:55:17
379,908,134
0
0
null
null
null
null
UTF-8
C++
false
false
18,551
cxx
MpdZdcDigiScheme.cxx
/************************************************************************************* * * Class MpdZdcDigiScheme * * Author: Elena Litvinenko * e-mail: litvin@nf.jinr.ru * Version: 16-May-2008 * ************************************************************************************/ #...
7eeb04454f2d18835a15c6f763cba75ef57239e3
22070e9023fddefd63f0c0218df3b6cf6c98b2cd
/d04/ex03/Cure.cpp
0ac3bac1be0cb87138e40ef7e2511e0f1bb30b4f
[]
no_license
vpopovyc/piscine-cpp
f6ff5f9e41a14defa2c17f1dfcc83fe0073571bf
ecaf0ca8da1c645daa59f46b16cd5c72d0f029be
refs/heads/master
2020-03-11T04:54:12.224844
2018-04-16T18:29:49
2018-04-16T18:29:49
129,788,101
0
0
null
null
null
null
UTF-8
C++
false
false
1,438
cpp
Cure.cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Cure.cpp :+: :+: :+: ...
6cdd7069529db80ff597a889e89b77de33590ba8
976004c9f4426106d7ca59db25755d4d574b8025
/algorithms/hilbert_maps/dsgd/regrs/hm_dsgd_regr_doubly.h
87fb251cb285accc8233f96b71d15f9a4ae401e3
[]
no_license
peterzxli/cvpp
18a90c23baaaa07a32b2aafdb25d6ae78a1768c0
3b73cfce99dc4b5908cd6cb7898ce5ef1e336dce
refs/heads/master
2022-12-05T07:23:20.488638
2020-08-11T20:08:10
2020-08-11T20:08:10
286,062,971
1
0
null
null
null
null
UTF-8
C++
false
false
1,771
h
hm_dsgd_regr_doubly.h
#ifndef HM_DSGD_REGRESSOR_DOUBLY_H #define HM_DSGD_REGRESSOR_DOUBLY_H #include "./hm_dsgd_regr_base.h" namespace cvpp { class HMregrDoubly : public HMregrBase { protected: public: HMregrDoubly() : HMregrBase() { } int ridx( const int& i ) const { return r * n + i * f; } Matd ...
b0607cafc30858764c460d01984e49d080396c4e
b22c189f38b8da715e70b76be3d9c0f3bb921f63
/DATA STRUCTURES AND ALGORITHMS/count_numbers.cpp
bf6641c74d6afaed0e946db6c0b6fef4d332cb7a
[]
no_license
Bikubisw/Coding
108f1048bc54bbd526f2f3abea21bd17bb8e7975
274c50caab15f10663a83ad352fc5ddb04b9e236
refs/heads/master
2023-04-20T11:09:32.555814
2021-05-22T20:29:45
2021-05-22T20:29:45
280,332,695
0
0
null
null
null
null
UTF-8
C++
false
false
213
cpp
count_numbers.cpp
#include <iostream> using namespace std; int count(int n){ if(n==0){ return 0; } int smallans=count(n/10); return 1+smallans; } int main(){ int n; cin>>n; int ans=count(n); cout<<ans<<endl; return 0; }
971327602e5598685cd8c4ce828a661a1972b700
c3f9cee452ef09d34b1a166bc4700cd06432bd4b
/Src/DevAssistCore/Include/FileRepository.h
03e0f32bcbe6a8738d2aa6b41382f0b0036a7984
[]
no_license
divineaugustine/QuickAssist
d8f62d31e779020181184573499e7c56a0b1cdf5
b88614d62f23ba5cab1254007b3bb99257706b93
refs/heads/master
2021-01-20T06:57:04.965227
2015-08-07T08:06:50
2015-08-07T08:06:50
36,303,639
2
0
null
null
null
null
UTF-8
C++
false
false
1,126
h
FileRepository.h
#pragma once #include <Core\Repository.h> #include <map> #include <vector> class FileInfoImpl; class DirectoryInfoImpl; // Folder information will be stored after removing the configurable path class FileRepository : public RepositoryBase { public: DirectoryInfo* AddFolder( const std::wstring& strFolder_i ); void A...
e3d31d6c9a8c1e05d2fbb4a2b1715cfcd3ff7409
c4d51d07bfa867a2c5f1c0ffb93a375ee9bf3409
/src/layer/InnerProduct_param.h
cadd57cae41d50ea9c56c3f1c57d613365dbd8f7
[]
no_license
ganyuhuoguang/ncnn-tool
c7a56307ac8f662b08744527bca61b1ff813a664
5be6968a68437cc624b07e7a7784ceef519975cd
refs/heads/master
2023-01-04T06:29:38.488822
2020-10-15T07:03:38
2020-10-15T07:03:38
261,683,959
2
0
null
null
null
null
UTF-8
C++
false
false
998
h
InnerProduct_param.h
/* * InnerProduct_param.h * * Created on: Jun 17, 2019 * Author: doyle */ #ifndef LAYER_INNERPRODUCT_PARAM_H_ #define LAYER_INNERPRODUCT_PARAM_H_ namespace tmnet { class FcParam { public: FcParam(); ~FcParam(); unsigned int num_output; unsigned int bias_term; ...
128894b7342d6fdac152ea59c0e2becb43a42ee6
3b41b207a3090f5b06230dfa83bc31ee59f6abf4
/src/SkipList.cpp
a4d874aa0e364ffb4ce876c3d44de1a802997fe8
[]
no_license
brookiehcookie/spraylistMidterm
8907505aa85d93752a789a11dae8f0e7c8a13668
f8a881ee549be5480050a6c51e10c0584c3f9887
refs/heads/master
2021-04-26T22:50:33.106678
2018-04-24T03:10:12
2018-04-24T03:10:12
124,153,924
0
1
null
null
null
null
UTF-8
C++
false
false
20,304
cpp
SkipList.cpp
#include <iostream> #include <vector> #include <cmath> #include <atomic> #include <climits> #include <ctime> #include <cstdlib> #include <string> #include <random> #include <functional> // for performance testing #include <iomanip> #include <chrono> #include <pthread.h> // Really quick down-and dirty boolean #define...
117eb1cc6dab076aa877288127fe67b6ff4e9ba6
b265687ec069907072794a6fe745e50fdef327e8
/project3/Rupee.c++
6d6cc70c510ff9feed8949cf973073b41ab33c44
[]
no_license
JayhawkZombie/EECS672
02756f8e48f20dd28314fdd04613725dbc02f96a
3e25ea9507a1039a1b3ec9059b7144de7cf6aabb
refs/heads/master
2018-01-08T04:20:30.923699
2015-11-25T06:07:46
2015-11-25T06:07:46
43,176,269
0
0
null
null
null
null
UTF-8
C++
false
false
10,619
Rupee.c++
#include <iostream> #include <math.h> #include "Rupee.h" #include "ShaderIF.h" #include "ModelViewWithPhongLighting.h" typedef float vec3[3]; /* | P1 - points[0] | P2 - points[1] | P3 - points[2] | P4 - points[3] | T - points[4] | B - points[5] | V1 - points[6] | V2 - points[7] */ GLuint Rupee::indexList[12][3]...
607fa4cb128bfb053745bce6bafd9e359aa9e850
f65d6a432273e26a146dad4fdaef268b2e4c2ca9
/WinPCK/SIMD.cpp
8033711c9abbb2b13fda48c63a38fbe9b338e535
[]
no_license
wsy5555621/winpck
6940431e8d2f9189d3199f4e5eaba24f4f9f14b2
dcc6147ce06e5376d1a1775bee30f92afc17a996
refs/heads/master
2021-01-20T21:35:40.163020
2017-07-05T16:20:30
2017-07-05T16:20:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,711
cpp
SIMD.cpp
/* SIMD class to detect presence of SIMD version 1.4.0 Copyright (c) 2010 Wong Shao Voon 1.1.0 - Contains the 3DNow, 3DNow+ and MMX+ detection bug fix by Leonardo Tazzini 1.2.0 - Added AMD's SSE4a and SSE5 1.3.0 - Use 2 unsigned shorts to store SIMD info, instead of 1 boolean for each SIMD type. 1.4.0 - Added the dete...
e9cf11699c230a8572ed745b3ec4b09582dcd1b5
e6062564a0f0b2bca8d2aca24dc9d5c9071adcac
/InterviewBit/Backtracking/combination-sum.cpp
84670a976fee12a324e903ac5c92796d9cec0866
[]
no_license
iShubhamRana/DSA-Prep
22e29b85a8ee7dc278c0d89c62dcb33f29b99699
611d1a3fb824cce2fab051194bd5f7d0eee83f05
refs/heads/main
2023-06-25T06:59:45.599109
2021-07-27T18:30:18
2021-07-27T18:30:18
418,046,414
1
0
null
null
null
null
UTF-8
C++
false
false
763
cpp
combination-sum.cpp
void solve(vector<int> &A, int idx, int target, vector<int> op, vector<vector<int>> &res) { if (target == 0) { res.push_back(op); return; } for (int i = idx; i < A.size(); ++i) { if (target - A[i] >= 0) { // choose, explore, unchoose op.push_b...
bc18ec9da3eba3af9eebaf616197f6b10a659642
a39627eaa1188495f498ce22f133f1686de80ac3
/modules/LeptonModule.h
24aa82edbd6c0f25ae5678a2e820cc70ce173d2c
[]
no_license
sgnoohc/WVZBabyMaker
2229e486e49a6fa6f464e8b1cbfdcde915354afc
7f7e86acb56aa0d403e11b55ef644cf1ea62b16d
refs/heads/master
2020-05-05T01:31:33.879060
2019-10-15T22:14:50
2019-10-15T22:14:50
179,605,588
0
1
null
2019-07-13T16:56:21
2019-04-05T02:03:53
C++
UTF-8
C++
false
false
482
h
LeptonModule.h
#ifndef LeptonModule_h #define LeptonModule_h #include "rooutil.h" #include "wvzBabyMaker.h" namespace wvzModule { //__________________________________________________________________ // Lepton module class LeptonModule: public RooUtil::Module { public: wvzBabyMaker* babymaker; ...
93a3397546ae8abe5beedd112e18ac4d1f8f4bbf
01c286c750aa34f8bed760d3919e5a58539f4a8e
/Codeforces/611A.cpp
26b9622fbbfeda09fa76873a448e0c6f958e1cd5
[ "MIT" ]
permissive
Alipashaimani/Competitive-programming
17686418664fb32a3f736bb4d57317dc6657b4a4
5d55567b71ea61e69a6450cda7323c41956d3cb9
refs/heads/master
2023-04-19T03:21:22.172090
2021-05-06T15:30:25
2021-05-06T15:30:25
241,510,661
0
0
null
null
null
null
UTF-8
C++
false
false
386
cpp
611A.cpp
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s >> s ; if (s == "week") { if (a == 6 || a == 5) cout << "53"; else cout << "52"; return 0; } if (a <= 29) cout << "12"; if (a == 30) co...
830eb85389aeb608cbfc0d4dae3bf1e0ae0e0ae9
c956580fc7663b05e66d10a4f4893f7f7ce59319
/Array using Pointers.cpp
c7b71c2769430a5ec212f933066798bd00df3ef1
[]
no_license
prash1105/amateur.stuffs
f2758a9e17ed89026ee1df6b760cf6ae0b100d6e
b620de699d86f0b44e6f5681f4c93c37ae9db7e9
refs/heads/main
2023-03-09T04:26:59.489318
2021-02-25T16:21:10
2021-02-25T16:21:10
337,317,931
0
0
null
null
null
null
UTF-8
C++
false
false
290
cpp
Array using Pointers.cpp
#include <iostream> using namespace std; int main() { int data[5]; cout << "Enter any 5 numbers:\n"; for(int i = 0; i < 5; ++i) cin >> data[i]; cout << "\nYou entered: "; for(int i = 0; i < 5; ++i) cout << endl << *(data + i); return 0; }
44bbb0aa1b69466eefc9190a48bc070bf866995d
8a4440b4f798a40d17d0e43a133a46f3c067af16
/playground/main.cpp
ac8de1ea2e390974ac729d3dab980e7412a8a6f4
[ "MIT" ]
permissive
ExpLife0011/mango-library
006d6ce4d95b5fa41cf970571e3b70fa5e09d154
bad086e42b8d383bcd5c1b67f9ebdc18cf1bc50e
refs/heads/master
2020-12-27T11:59:25.680844
2020-02-03T05:44:49
2020-02-03T05:44:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
810
cpp
main.cpp
#include "unit_tests.h" #include <misc/logger.h> #include <epic/process.h> #include <epic/memory_scanner.h> #include <epic/shellcode.h> int main() { mango::logger.set_channels(mango::basic_colored_logging()); run_unit_tests(); try { using namespace mango; const auto p...
38ecd48cee3c72cbeaac6c4d458cd3755d9a166c
345b886009b4aa3c06ad8ddd1012e684321f39c6
/Gobang/game/server/Room.hpp
30cd85ca9d23eb9828fe6a23db32656910ab5e5f
[]
no_license
doubtfisher/project
94e4d873de6b33f835d0d7bf75c5c122ef663241
bd73dbdf2a237984c388d52c0660edcac52461c3
refs/heads/master
2022-01-13T00:27:15.830656
2019-06-22T12:27:05
2019-06-22T12:27:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,833
hpp
Room.hpp
#pragma once #include <iostream> #include <string> using namespace std; #define SIZE 5 #define BLACK 'X'//黑子 #define WHITE 'O'//白子 class Room { public: Room() {} Room(uint32_t &id1,uint32_t &id2) :one(id1) ,two(id2) { piece[0]='X'; ...
c24b40079f9f21d5bd35275dfc6bdf533f173d5b
8fbdb182b4fcf59fc1f9db8532ee0ff0b3458415
/reason/src/App.re
c2e8284406b4883297a358af4eb2642dd5bf67eb
[]
no_license
StormShynn/sql-formatter-1
bd5f4fc7e77c72936aa554cce58233242e493995
e8065c29af8c8fa4af7318a46b01205f6389e6c9
refs/heads/master
2023-03-19T06:59:13.944625
2018-10-21T14:24:21
2018-10-21T14:24:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,044
re
App.re
open Tea.App; open Tea.Html; type model = { input: string, output: string, spaces: int }; let init = { input: "", output: "", spaces: 2 }; [@bs.deriving { accessors: accessors }] type msg = | Input(string) | Spaces(string) | Select; let update = model => fun | Input(v) => { ...model, input: v,...
55aac9cf73d412db871adcc1efd92484802f961a
d231d1291e3f413d957f76caa585d2641f1e3369
/cl_dll/nvg.cpp
4233c36ebfaa10ba96d32d73758155eef55ac53b
[]
no_license
Avatarchik/cs16-client
6c5eae5957e26f287ae58783770b0ca957bc4513
5ce19ced913aedf857a19f45c6a9c8483d499e28
refs/heads/master
2021-01-17T11:25:27.490685
2016-01-07T21:22:13
2016-01-07T21:23:35
49,260,886
1
0
null
2016-01-08T08:47:48
2016-01-08T08:47:48
null
UTF-8
C++
false
false
1,337
cpp
nvg.cpp
/* nvg.cpp - Night Vision Googles Copyright (C) 2015 a1batross */ #include "hud.h" #include "cl_util.h" #include "parsemsg.h" #include "r_efx.h" #include "dlight.h" DECLARE_MESSAGE(m_NVG, NVGToggle) DECLARE_COMMAND(m_NVG, NVGAdjustDown) DECLARE_COMMAND(m_NVG, NVGAdjustUp) int CHudNVG::Init() { HOOK_MESSAGE(NVGToggl...
5e1b61b22d375374cdc55d8df22e6b3f0e7a1e0e
30283b61e7f931af82a8f18fbc7144e29fcfa365
/slidingWindow.cpp
16faf897b585309fc1ae446470b25271315df0f2
[]
no_license
rohit236c/Competitive-programming-CPP
fca6385ba9d991807c855750d114b7bbf25439a8
c7e5bb9f5a3b988f440b8f5f6325b596e2395a7f
refs/heads/master
2020-05-30T11:11:51.029906
2019-11-26T04:10:49
2019-11-26T04:10:49
189,693,026
0
0
null
2019-09-04T12:23:42
2019-06-01T05:11:43
C++
UTF-8
C++
false
false
751
cpp
slidingWindow.cpp
/* author of this code is rohit sharma */ #include<bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int arr[100]; for (int i = 0; i < n; ++i) { cin >> arr[i]; } int k; cin >> k; deque<int>d(k); int i; for (i = 0; i < k; i++) { while (!d.empty() && arr[i] > arr[d.back()]) { d.pop_ba...
55e017b1115e47a16c1292b7933815c46cc1dde0
417cce62473f7c248cf5260226b2a8cc97b66dd2
/Trampa.h
3e5462c06ad205b3249678daf35a97aaf749986d
[]
no_license
AlvaroBenito/TrabajoInformatica
b0c7caeedb5d7400f1df2e84a098da02455c1f13
d7604940f9c2d0b2ef1d18533242c47314205bd6
refs/heads/master
2020-03-15T13:57:38.546658
2018-06-12T12:13:26
2018-06-12T12:13:26
132,179,341
0
0
null
null
null
null
UTF-8
C++
false
false
165
h
Trampa.h
#pragma once #include "Plano.h" class Trampa : public Plano { public: Trampa(); Trampa(float coordx, float coordz ); ~Trampa(); void dibuja(); };
f3ab82d7c270e00653e867414c8bcd5fde85fbae
7a831a6bd4fa7a401f0b015d8c73d0290e03ec8b
/038.1v1_risiko.cpp
d327d2b23b1e2c7d7270df5ce5da019a35cca3db
[]
no_license
CawaAlreadyTaken/UniTN_exercises
63f9826c41e07e24cd6924a56eb93962573d3fa3
784969a7c472cc03afc79378fbd2cfa83be1ba22
refs/heads/master
2023-02-10T04:41:05.475086
2020-12-27T13:22:06
2020-12-27T13:22:06
300,202,808
0
0
null
null
null
null
UTF-8
C++
false
false
311
cpp
038.1v1_risiko.cpp
#include <iostream> #include <cstdlib> using namespace std; int main() { srand(time(NULL)); int def = random() % 6 + 1; int att = random() % 6 + 1; if (att > def) { cout << "Attacker won, " << att << "-" << def << endl; } else { cout << "Defender won, " << def << "-" << att << endl; } return 0; }
f109a3a30d220a55670102d2f824d087c16c6357
8ca9069b8ee82f967791f4650d3e8cc16e1504f8
/app/tests/testmarkstorage.h
7e44f014bd8635d6600b353bef65a9906955fd6d
[]
no_license
a-pavlov/fantlab
de52871add375684521015b6b6741d1f00c89b3a
9b7928c9f9e3af38c55efdc298231183cd9382bb
refs/heads/master
2022-12-03T08:05:54.159611
2022-01-13T16:40:00
2022-01-13T16:40:00
120,786,968
1
0
null
2022-11-16T09:32:25
2018-02-08T16:31:02
C++
UTF-8
C++
false
false
408
h
testmarkstorage.h
#ifndef TESTMARKSTORAGE_H #define TESTMARKSTORAGE_H #include <QObject> class TestMarkStorage : public QObject { Q_OBJECT public: explicit TestMarkStorage(QObject *parent = nullptr); signals: private slots: void testStorageInit(); void testStorageGetters(); void testStorageArbitraryInput(); v...
06c579a1a0cbb641a3ba45a1d4bd483e61253a2f
27b7840f01a36d2e10486d153d514dbac2eb28ed
/src/midimanager.cpp
99fc49ba993b6c0037af57c033ec35f6e9b72ec9
[ "MIT" ]
permissive
jfceja/MidiInter
f425bc374317adf37df2892477cfe8c312ead30f
077c3148cd4c8e99b3832dbe713664d6327898ce
refs/heads/master
2021-04-12T08:57:06.919749
2018-01-30T01:07:45
2018-01-30T01:07:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
15,447
cpp
midimanager.cpp
#include "midimanager.h" MidiManager::MidiManager() { } mSong song; //QVector<int>noteVec = QVector<int>(); //960 seems to be a standard tpqn for recording midi int MidiManager::TPQN = 960; QByteArray MidiManager::ReadMidi(QFile &file) { QDataStream in(&file); QByteArray array; qint8 test; in>> test; ...
173f2280afc815193e1be63902e8595ac3634042
965782a74d4cd1a1eb7969288658416bc201c3f9
/main.cpp
88ddc2121e4766f6700416890fbddeff2554052f
[]
no_license
claudiomarpda/file_client
044a74a3b1a5d99447963e78b6c3e86cbfd2a9b2
9b2b16376379493bc64703fac49ae56adb2b4e19
refs/heads/master
2021-08-16T06:12:48.154040
2017-11-19T02:07:23
2017-11-19T04:17:35
111,256,702
0
0
null
null
null
null
UTF-8
C++
false
false
2,004
cpp
main.cpp
#include <iostream> #include <vector> #include "lib/netry/include/NetStream.h" #include "include/FileHandler.h" using namespace netry; using namespace std; int main() { Socket socket("0.0.0.0", 5000); NetStream stream(socket); vector<string> fileNames; // 01 // Receive the number of files i...
4db2946edea6456464bbd970240edf994900d744
68fe1482474dd38717726f85574078b58e0fe284
/src/functions.cpp
bd549e7a4d2b6a99b58841356ba2c6bdfd177979
[ "MIT" ]
permissive
dskart/ROBO_fast_slam
0ee34bf84bc25957594a4c1b28b9c315a77bfbf4
cde36b06288981b189baa463719bb2605ab28794
refs/heads/master
2020-04-11T04:18:30.432751
2019-01-03T12:02:05
2019-01-03T12:02:05
161,508,133
4
0
null
null
null
null
UTF-8
C++
false
false
2,209
cpp
functions.cpp
#include "functions.hpp" MatrixXd CalcInput(const float &time) { double v; double yawrate; if(time <= 3.0) { v = 0.0; yawrate = 0.0; } else { v = 0.5; // m/s yawrate = 0.1; // rad/s } MatrixXd u(2,1); u << v, yawrate; return u; } std::array<MatrixXd,2> Observation(Matrix...
7c4fbdb508e0bdd8f4a2186845e6be3b90454ed6
d6f710a94efbf6a4fc764e87aa0410b68d6d2e34
/Tree/BinarySearchTree.cpp
4512f3df4183cf250cdb464019e9b90700bb7d6d
[]
no_license
Xiang3999/DataStructNotes
e80d9f2ca0fb8e4bb93ff008cb22d0c3b50eb6bf
d19422186e1565bf801cb85b7451364195c073e0
refs/heads/main
2023-02-09T22:02:40.682853
2020-12-29T05:53:26
2020-12-29T05:53:26
304,252,773
0
0
null
null
null
null
UTF-8
C++
false
false
10,066
cpp
BinarySearchTree.cpp
#include <iostream> #include <stack> using namespace std; int MAX = -32767; class BinarySearchTree { private: int data; BinarySearchTree* lchild; BinarySearchTree* rchild; public: //查找最小值 BinarySearchTree* FindMin(BinarySearchTree* BST) { BinarySearchTree* cur = BST; ...
a004ab29c9daf873f636f4e4473a79edb4441857
6ef65d97674f36349caa419682d911f6f311009f
/visionSys/include/can_interface.h
62aed800ceb5e5bb259a4f76d5f33f2b176cc3be
[]
no_license
lifani/CppCode
43e0227cad07bcca51bd42482f1b211395b409df
c7c12b68c35558367f24c72a7b0d85e649624aa1
refs/heads/master
2020-05-02T20:07:43.933227
2014-03-19T06:08:32
2014-03-19T06:08:32
8,262,105
0
2
null
null
null
null
UTF-8
C++
false
false
702
h
can_interface.h
#ifndef __CAN_INTERFACE__ #define __CAN_INTERFACE__ #include <vector> using namespace std; typedef struct _filter_param { unsigned short m_usCanId; unsigned short m_usCmdCode; } Filter_param; class Packet; class can_interface { public : virtual ~can_interface() { } virtual Packet* Read() = 0; virtual i...
c9669767bbfff7dd32d9ec39bd46e855210678aa
96dcef865aa53f835ec151e5f66d158569916469
/paddle/operators/math/detail/lstm_kernel.h
fed8f9c4ca48905ad4c524ba400e8c7bb2f7fbd1
[ "Apache-2.0" ]
permissive
typhoonzero/Paddle
ae7708d8db35c0858c92f3d39f22b556a88adf4d
45a8c2759b8b8d6b59386a706ee37df6c258abc7
refs/heads/develop
2021-04-06T00:44:51.697475
2018-02-08T09:09:18
2018-02-08T09:09:18
83,394,080
1
1
Apache-2.0
2018-10-12T11:08:12
2017-02-28T05:40:12
C++
UTF-8
C++
false
false
6,368
h
lstm_kernel.h
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ...
a0b0eed762d9608638fe700c2adada3a4d6b0ecf
ccf0d38f0e4e53ba7acddc01fd66c42e248a263c
/org/chartacaeli/caa/CAAVSOP87A_Neptune_jni.cxx
c54204ece0aacc600fd4dcedb0fac0570a6ab467
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
otabuzzman/chartacaeli-app
28b89c0f4ebb95d92a5a45d18755a0b1bdf6d206
881b4cf280a80b3ff7e4ff80f55aafa73607071b
refs/heads/master
2023-05-10T19:33:30.697791
2023-05-05T20:42:59
2023-05-05T20:42:59
49,746,695
2
0
MIT
2020-11-09T13:31:44
2016-01-15T21:45:11
Java
UTF-8
C++
false
false
2,067
cxx
CAAVSOP87A_Neptune_jni.cxx
// created by cxxwrap -- DO NOT EDIT #include "jni.h" #include "AAVSOP87A_NEP.h" #ifdef __cplusplus extern "C" { #endif JNIEXPORT jdouble JNICALL Java_org_chartacaeli_caa_CAAVSOP87A_1Neptune__1_1m0(JNIEnv* __env, jclass, jlong __imp, jdouble JD) { CAAVSOP87A_Neptune* __obj = (CAAVSOP87A_Neptune*) __imp; double __retval...
69d144ed50f48cb3055bca832826a5e4c021488a
960d6f70d83484d2b531d79002b5cc7fa8ad8063
/src/202.cpp
529abc13838cb16d7409faa50bc61ecf2b57caef
[]
no_license
lintcoder/leetcode
688ce547331f377b68512135dd1033780f080e2b
384f316b5e713c0e15943cb4de6cf91ab0ff5881
refs/heads/master
2023-07-19T18:49:12.858631
2023-07-07T13:01:01
2023-07-07T13:01:01
74,862,636
0
0
null
null
null
null
UTF-8
C++
false
false
496
cpp
202.cpp
bool isHappy(int n) { set<int> st; int sum = 0; while (true) { sum = 0; while (n != 0) { sum += (n % 10) * (n % 10); n /= 10; } if (sum == 1) break; if (st.find(sum) ==...
a954f27d565a710fc1aae3312156306cead9794a
ec00df8410c9c8894f5127a4019be28c3c732542
/LightChaserAnim/katana_source_code/plugin_apis/include/FnScenegraphIterator/FnScenegraphIterator.h
dc8dc165fd13049ebb31d646eda0244cf7484de5
[]
no_license
tws0002/aWorkingSource
580964ef39a7e5106d75136cfcd23814deecf0fd
188c081d261c11faa11766be41def34b7e01ee5e
refs/heads/master
2021-05-11T18:23:19.427869
2018-01-03T03:17:57
2018-01-03T03:17:57
117,823,716
1
0
null
2018-01-17T10:51:59
2018-01-17T10:51:59
null
UTF-8
C++
false
false
5,870
h
FnScenegraphIterator.h
// Copyright (c) 2012 The Foundry Visionmongers Ltd. All Rights Reserved. #ifndef FnScenegraphIterator_H #define FnScenegraphIterator_H #include <string> #include <FnPluginSystem/FnPluginSystem.h> #include <FnAttribute/FnAttribute.h> #include <FnScenegraphIterator/suite/FnScenegraphIteratorSuite.h> namespace Found...
c6ee8a9871511b4b8687f740753c85d0761a4e58
26d0a3e00d1e26765262ef51a94801d333034b28
/Framework/TTHbbAnalysis/TTHbbToolManager/Root/OfflineTRFFakes.cxx
4fd402e63def04f319fb08d40eff3ca45f07a5b3
[]
no_license
sen-sourav/common-framework
f0d4a61ccda53dfca4adf649c93a579de3df8619
474383ba7f30d19a2836e19d8bc028b7d1f83f9a
refs/heads/master
2020-04-01T06:24:09.210670
2019-06-06T17:37:47
2019-06-06T17:37:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,341
cxx
OfflineTRFFakes.cxx
/* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */ #include "TTHbbToolManager/OfflineTRFFakes.h" namespace TTHbb{ //___________________________________________________________________________ OfflineTRFFakes::OfflineTRFFakes(std::string name) : ToolBase(false) { m_name = n...
877dfb04510bc8d3a1d9b06cd3a7301b002293f5
5962264e9fe45cb42e71ea04a1c371886ace8989
/src/Point3D.h
8b02927aa3f68799ad568697da39519c626761e2
[]
no_license
adickin/Simple-Ray-Tracer
7c53b0c75dd5b1c695818059cd52f55b5e750eb0
92d0bc42721a64c479b0e8d662765b62d89dec6a
refs/heads/master
2021-01-10T21:43:26.609641
2013-08-19T02:26:35
2013-08-19T02:26:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
656
h
Point3D.h
#ifndef POINT3D_H #define POINT3D_H /* *************************************************************** * * Represents a point in a 3D setting. Has functions to * get and set the location of the point. * *************************************************************** */ class Point3D { public: Point3D(); P...
f1b1f17b52aa5fa139f141a1bfb6665bad863f46
78ed6000cb9f44cf6c748491bb9cd4637449a94c
/Utopian.cpp
340dc1b649816f6535ae36484c919e6c49ee9a4b
[ "MIT" ]
permissive
kaushalvivek/programming-practice
d6593203fb8720b5becc74cd75043409f8bd5c46
23cb71b7c9a5144926ce472294d8f4113bcc5086
refs/heads/master
2022-04-03T17:22:37.774932
2020-02-17T16:19:30
2020-02-17T16:19:30
167,866,366
0
0
null
null
null
null
UTF-8
C++
false
false
360
cpp
Utopian.cpp
#include <iostream> using namespace std; int main () { long long int t,n,i = 1; cin >> t; while (t--) { cin >> n; while (1) { if (n == 0) break; n--; i*=2; if (n == 0) break; n--; i+=1; } cout << i << en...
3419ffaa8eb10155fc964490fb3f4f99b619db1d
47dbe359a17f1c4dca2693fb88b4f597c10306bf
/src/q0171.h
df45e4e2c69e6b779624a0655c9bea9744cfbbe1
[ "MIT" ]
permissive
SeanWuLearner/leetcode
e253959b3d24d2ea9bb5e148f591ce99c83721a2
bafa93906fd586b6b6af929de1197d4f7347199d
refs/heads/master
2022-05-08T02:09:21.883279
2022-04-18T06:35:27
2022-04-18T06:35:27
192,561,135
1
0
null
null
null
null
UTF-8
C++
false
false
761
h
q0171.h
/* Solution 1: left to right */ class Solution1 { public: int titleToNumber(string columnTitle) { int res = 0; for(auto &&c : columnTitle){ res *= 26; res += c-'A'+1; } return res; } }; /* Solution 2: right to left */ class Solution { public: int titl...
298d364ca61b405831be2446a8aa856d1302f143
f4a1d188da99a79c392044d5a791dcfd233d9238
/22.11.2017/WordsArr.cpp
7d678d62d482ce1f4b68e24e1cb963dbebbbcb84
[]
no_license
DanikSchastny/Homework
585303ee3310b01f16f3226bf0f30b8abbc09802
390489cec7e3a4f9749f40558724d6b9319dc15f
refs/heads/master
2021-04-25T13:19:13.204224
2018-01-15T05:08:50
2018-01-15T05:08:50
109,680,512
0
0
null
null
null
null
UTF-8
C++
false
false
1,063
cpp
WordsArr.cpp
#include<iostream> #define N 256 void displayWordsArray(char arr[][N], int count); bool checkForSymb(char a); void creatingWordArray(char words[][N], char arr[], int &count); using namespace std; int main() { int count = 0; char words[N][N]; char str[256]; cout << "Enter your substring:" ...
e89f03a78051fe6a8c3adf4b646516aa82325b53
707269ea858b5ff1378809990b97dfa259b44197
/lab4/main1.cpp
1a80eaf27bbd4c32b35fb46af103245b532791c5
[]
no_license
prosperevergreen/OOP-6303
d45f50ecf25dc9971be6c7c8b01fe10a58c8486f
eeba57cfb36358be7bfc181b0488462fb87ee7c6
refs/heads/master
2020-03-10T13:48:12.643043
2018-05-10T23:28:25
2018-05-10T23:28:25
129,408,807
0
0
null
2018-04-13T13:51:06
2018-04-13T13:51:05
null
UTF-8
C++
false
false
3,419
cpp
main1.cpp
#include <assert.h> #include <algorithm> #include <stdexcept> #include <cstddef> namespace stepik { template <class Type> struct node { Type value; node* next; node* prev; node(const Type& value, node<Type>* next, node<Type>* prev) : value(value), next(next), prev(prev) { } }; ...
ac4ac33ef30cc19e0dc3bcbf80f627c444d31efd
96c56ebeb52898f7a16275244662a0c5e460fbd4
/FoofLevelEditor (C++)/FoofLevelEditor/HazardousObject.h
f6c89b8c1b012a27843415dd7ccc38fc9d8e3d18
[]
no_license
JIoffe/Flame-Broiled-Fury-BETA
2bcd25caaa8e6985fd22eb4c42a7a297b89318a1
0c4582a221f30a6d74f346a03c6c56a40753969d
refs/heads/master
2021-01-02T08:19:39.667221
2014-08-12T17:34:01
2014-08-12T17:34:01
22,886,301
0
0
null
null
null
null
UTF-8
C++
false
false
199
h
HazardousObject.h
#pragma once #include <string> #include <cstdio> #include "ExtendedObject.h" struct HazardousObject : public ExtendedObject{ int Damage; //How much damage is done to the player? int SpriteID; };
b56edc8a7c67225e0c744c51954c04775c3b894b
4c2bddbcf17c40c477fd45ba8167480b62b5c471
/bubble.cpp
d2139efcd67dd05e577aacdd9249bd160a50c7cc
[]
no_license
camilocorreaUdeA/funciones_cpp
b71556354ef5a1fc8bb1c3f168acfa598c9d9473
753424abc08ca591d45e1f57fb0348b37e040c77
refs/heads/main
2023-04-23T11:39:35.966033
2021-05-11T22:15:12
2021-05-11T22:15:12
366,525,207
0
0
null
null
null
null
UTF-8
C++
false
false
357
cpp
bubble.cpp
void bubbleSort(int arr[], int n){ int var_aux = 0; bool cambios = 0; do{ cambios = 0; for(int i=0; i<n-1; ++i){ if(arr[i] > arr[i+1]){ var_aux = arr[i]; arr[i] = arr[i+1]; arr[i+1] = var_aux; cambios = 1; ...
c26a3648995208576dd107c8726e002dd2918e1a
664da94bf51c8fce8d915add639ba557fffc79d7
/Strings/Count And Say.cpp
b46181b1ab9e634f681916ce542c69841ad3e0b9
[]
no_license
hackifme1/InterviewBit
471f2bb6d88538fbb0f0c8edd519bfa0518c98f0
f744b3f5d4aebd4a8d9738685bde49a94dabf038
refs/heads/main
2023-06-28T08:43:07.382810
2021-07-30T06:35:13
2021-07-30T06:35:13
371,326,433
2
0
null
null
null
null
UTF-8
C++
false
false
1,154
cpp
Count And Say.cpp
// By Chandramani Kumar // Keep moving and must be simple bro!!!!! // Espérons le meilleur mais préparez-vous au pire 😎 /* Problem Statement : The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, ... 1 is read off as one 1 or 11. 11 is read off as two 1s or 21. 21...
60599e914ea71dfe11be7c3b78d7903ecfd87379
fe6bd32b61622dab879a4b62824bd6a4b9a39eac
/finrecipes/all_cc_progs/term_structure_class_ho_lee_price_bond_option.cc
7f7cb7338e9ccecc37dde2bd5263fade971159ce
[]
no_license
cheerzzh/Financial-Numerical-Recipes-in-CPP
d14aecf473b5183054072dd640d8e67655bcb7db
03c38451dc5b094b058393a5a3460cd550b2ed2b
refs/heads/master
2020-04-01T22:49:59.259140
2014-06-17T15:15:14
2014-06-17T15:15:14
19,804,081
8
12
null
null
null
null
UTF-8
C++
false
false
2,020
cc
term_structure_class_ho_lee_price_bond_option.cc
#include "fin_recipes.h" class time_contingent_cash_flows{ public: vector<double> times; vector<double> cash_flows; time_contingent_cash_flows(const vector<double>& in_times, const vector<double>& in_cflows){ times=in_times; cash_flows=in_cflows; }; int no_cflows(){ return times.size(); }; }; vec...
acee18f2b4d9ad7f87155300da854ce6eaf48b4d
f2b47b588239e413b957a12ec2d7ca2fff13fe95
/Logica_programacao/while/ex_9.cpp
e22843dcc30a6e5d20253922b429365641160bbe
[]
no_license
SFV-CORE/ETEC1
1011bc58c43dabf4dbec2b405d5ca46eeabeafba
96de944586d2c9620a638a5303ccfc60945ba54f
refs/heads/master
2023-02-26T11:08:33.722711
2021-02-01T21:24:09
2021-02-01T21:24:09
297,482,352
0
0
null
null
null
null
UTF-8
C++
false
false
306
cpp
ex_9.cpp
#include <stdio.h> #include <stdlib.h> int main() { float n1,n2; printf("Digite o primeiro:"); scanf("%f",&n1); printf("Digite o utimo: "); scanf("%f",&n2); if(n1>n2) { while(n1>=n2) { printf("%f",n1); n1=n1-1; } } else { while(n2<=n1) { printf("%.f\n",n2); n2++; } } }
997d1d1c626ace35480016cab90afa29dadbf43b
04e13fb481d80ed3b678eb33894de8d39a68ef88
/MathF.h
660b2a5f8f51f485c3084bdaa6164dd917c1aaed
[]
no_license
swordjoinmagic/Study-Notes-For-Direct3D11
4e938dfc29b633f06feb55f9cfef8ebe8bc96c16
db51ecd6f1daea500c8de20ab77cad50cf8a9972
refs/heads/master
2020-09-05T04:49:43.847672
2020-02-07T09:02:09
2020-02-07T09:02:09
219,986,193
0
0
null
null
null
null
UTF-8
C++
false
false
129
h
MathF.h
#pragma once class MathF { public: static const float PI; static const float Deg2Rad; static float Radians(float angle); };
0eb37cbfd0e3b18528fa9dbb667b7d22eddabb30
f9f3e379f73ef398a9c6bde2b74eb1730eb7b98e
/src/parser/TriggerEvent.hpp
0f212be12f949b41e074a15e2c293c8e313e3f17
[ "Unlicense" ]
permissive
rlucca/aslan
a461f139fcb6823b743653c41a0747e906290b38
1f283c22fb72f717c590cf11482ac97c171f8518
refs/heads/master
2016-09-05T13:48:31.023626
2015-02-06T00:59:38
2015-02-06T00:59:38
24,392,920
0
0
null
null
null
null
UTF-8
C++
false
false
436
hpp
TriggerEvent.hpp
#pragma once class Trigger : public Symbol { public: Trigger(unsigned line, char *lex); virtual ~Trigger(); virtual unsigned char triggerType() = 0; }; class AdditionTrigger : public Trigger { public: AdditionTrigger(unsigned line, char *lex); virtual unsigned char triggerType(); }; class DeletionTrigger...
7f5a9e680a4877ccd3148c4ca6614e70cf1d3059
a4d8cb480cbdb196e79ce482f5f9221fc74855e2
/2011/201102/20110205_asio_ftp_act.cpp
d76576374047c2020965e2454c914e2294f98190
[]
no_license
bonly/exercise
96cd21e5aa65e2f4c8ba18adda63c28a5634c033
dccf193a401c386719b8dcd7440d1f3bb74cb693
refs/heads/master
2020-05-06T13:51:29.957349
2018-02-10T16:14:52
2018-02-10T16:14:52
3,512,855
1
0
null
null
null
null
WINDOWS-1252
C++
false
false
3,759
cpp
20110205_asio_ftp_act.cpp
#include <iostream> #include <string> #include <vector> #include <utility> #include <cstdio> #include <boost/asio.hpp> #include <boost/asio/ip/tcp.hpp> #include <boost/thread.hpp> using std::cout; using std::endl; using std::vector; using std::string; using std::pair; using namespace boost::asio; using boost::asio::i...
8e0c1add2359f077b364c3f7859cad4c788e2ac4
02eaeecc510492a7bc5d9f6b7d09b29d6053a15b
/test/typelist/size_test.cpp
2ca2fcb59b7e11189256a3ebcfb397bcbe4041e0
[ "MIT" ]
permissive
matrixjoeq/candy
a5160e3dbbb76ce0674580222abab0e837039254
53fe18d8b68d2f131c8e1c8f76c7d9b7f752bbdc
refs/heads/master
2020-07-09T14:28:40.908162
2020-02-11T08:58:18
2020-02-11T08:58:18
203,995,650
0
0
null
null
null
null
UTF-8
C++
false
false
452
cpp
size_test.cpp
#include <type_traits> #include "typelist/size.hpp" namespace candy { namespace test { namespace { struct FirstType; struct SecondType; using EmptyTL = Typelist<>; using FirstTL = Typelist<FirstType>; using SecondTL = Typelist<FirstType, SecondType>; static_assert(Size<EmptyTL>::value == 0, ""); static_assert(Size...
6e8e6a2e9778e7c5f57c6eae6cc43cda0a42b4ef
aab8466fa27520c20f8d7e760b6d6b3a6a0aaaf1
/include/vo.h
5d77f65b322c722b4a3068996c1020300a4a95a5
[]
no_license
YimengZhu/Kitti-Stereo-VO
e75bfc7f2b36660f55490a63a6858a5abfb6b7d0
582af7a46436fea7bce971e5632e4241a5442d89
refs/heads/master
2020-12-11T19:07:25.341236
2020-01-19T18:04:48
2020-01-19T18:04:48
233,933,554
0
0
null
null
null
null
UTF-8
C++
false
false
2,078
h
vo.h
#ifndef VISUALODOMETRY_H #define VISUALODOMETRY_H #include "g2o_types.h" #include "config.h" #include <memory> #include "map.h" #include "ORBextractor.h" #include <vector> #include <math.h> #include <opencv2/core/core.hpp> #include <opencv/cv.h> #include <opencv2/highgui/highgui.hpp> #include <opencv2/features2d/featu...
a1ef16f80d7ffa0da8b23c79d67516678164fd8a
3ad67e6008041614513fb344c8a13d2f84f17270
/Лабораторная работа №15/ферзи/8fersp.cpp
5dd77feac91de815c8e7f93b9e395f60d0f66504
[]
no_license
Polina-Eremeeva29/Labs_PSTU
975d3db3bd49e57a1338aee362cbb913fdaa5e49
81d3ba720cc5e99d2a9f3ce341a5d812bf0f3d17
refs/heads/master
2022-11-10T17:11:22.069314
2020-06-23T10:55:28
2020-06-23T10:55:28
256,132,666
2
0
null
null
null
null
WINDOWS-1251
C++
false
false
1,321
cpp
8fersp.cpp
#include <iostream> using namespace std; int board[8][8]; int rcount = 0;// кол-во решений //отображение доски void Board() { int k = 1; while (k < 9) { cout << k << "-ый шаг:" << endl; for (int i = 0; i < k; i++) { for (int j = 0; j < 8; j++) { cout << board[i][j] << " "; } cout << ...
41bd582577cb9e43eb6443b7b280c6610d9ed1c1
ace20ae898aadf18c4ef8a2355b528422fc27bb5
/codeforces/924C.cpp
a77efdabdd5c6e14bb485383f996a777e11e3b18
[]
no_license
pidddgy/competitive-programming
19fd79e7888789c68bf93afa3e63812587cbb0fe
ec86287a0a70f7f43a13cbe26f5aa9c5b02f66cc
refs/heads/master
2022-01-28T07:01:07.376581
2022-01-17T21:37:06
2022-01-17T21:37:06
139,354,420
0
3
null
2021-04-06T16:56:29
2018-07-01T19:03:53
C++
UTF-8
C++
false
false
857
cpp
924C.cpp
// https://codeforces.com/contest/924/problem/C #include <bits/stdc++.h> using namespace std; #define watch(x) cerr << (#x) << " is " << (x) << endl; #define endl '\n' #define cerr if(false) cerr #define int long long const int maxn = 100500; // prefix max int pma[maxn], a[maxn], marks[maxn]; signed main() { io...
b90c6af59d364030de006c8a03f9a95c64da1137
0ba1f2b10ed584443725e71429134cf440a57e83
/Linked Lists/remove_nth_node_from_end.cpp
aee157396a071d7bed1cd42a5811d149949479a1
[]
no_license
harpreets152/interviewbit-problems
7e793e6c8aa4afe90729465de8151e620ddcc917
2396cdce92b2d2df376aefdb961a1c2e2f255240
refs/heads/master
2020-03-17T10:20:33.124157
2018-06-17T06:35:22
2018-06-17T06:35:22
133,508,946
0
0
null
null
null
null
UTF-8
C++
false
false
861
cpp
remove_nth_node_from_end.cpp
/* Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the end, the linked list becomes 1->2->3->5. Note: If n is greater than the size of the list, remove the first node of the list. Try doi...
d9f781e957064554d7dbafef982ad95ef5a92a21
4e1b3ebb3d45fe22865a14cb4c3309e7c0f545de
/C++/LinkedList/linkedlist2.cpp
666a786c7edb2e8eeda83ded88f7ded6eab0fc08
[]
no_license
smansur2/MyCode
0bfead522d03f87842b9f46fcc6c5e41eaf7f258
155b705df027bc44d5e4ea7546df6b818e6bbbb4
refs/heads/master
2021-08-23T07:01:31.077216
2017-12-04T01:56:48
2017-12-04T01:56:48
104,818,067
0
0
null
null
null
null
UTF-8
C++
false
false
1,476
cpp
linkedlist2.cpp
class LinkedList2{ private: class Node{ public: int v; Node* next; Node():next(nullptr){} Node(int x, Node* n):v(x),next(n){} } Node* head; Node* tail(){ Node* p = head; for(;p-next!=nullptr;p=p->next) ; tail = p; } public: LinkedList2():{ head=tail=nullptr;...
ddc352cdb2dd65b5fb2f8ed94c20fccc2c9eb365
7992378d4d8746fef5d6c8490a1851f489ac4373
/homework2/output.cc
7a584aceb63d1b57e17d96c0f88073341d63c1b4
[]
no_license
moeheart/PublicCourse
40e13eb6e9dfd29f3d3598643e091932eb05c5d8
cb7542784570786d09621f3f9885ffe139dbbb62
refs/heads/master
2021-04-05T23:48:36.851942
2018-03-31T08:03:51
2018-03-31T08:03:51
124,726,600
0
0
null
2018-03-11T05:35:29
2018-03-11T05:35:29
null
UTF-8
C++
false
false
989
cc
output.cc
// Copyright @2018 Pony AI Inc. All rights reserved. #include <iostream> #include <fstream> #include <iomanip> #include "homework2/pointcloud.h" int main() { // ATTENTION!!! : please use absolute path for reading the data file. const PointCloud pointcloud = ReadPointCloudFromTextFile( "/home/ubuntu/PublicC...
917e867da10da0f0c7396fbad46c3da541e0ed5c
105e40cd7ba8b7a8c29b4210e74cc1bec64d51bc
/特征.h
36b473112b4c769e7fce1d26888ab31619bcca25
[]
no_license
ArtificialZeng/202105-WEIXIN
32adf6d1bb997b8a5ec830c87492e0de74550716
bb404ba190be3698f224dc7a4918c9d880c0afcd
refs/heads/main
2023-07-09T10:22:05.648174
2021-08-10T11:48:25
2021-08-10T11:48:25
394,692,792
1
0
null
2021-08-10T14:53:05
2021-08-10T14:53:04
null
UTF-8
C++
false
false
13,528
h
特征.h
#pragma once #include <cstdint> #include <cmath> #include "行爲.h" struct 結構_特征 { public: uint32_t 樣本數 = 0; uint32_t 設備和 = 0; uint32_t 標籤數陣列[7]{ 0 }; uint32_t 視訊時長和 = 0; float 播放時長和 = 0; float 停留時長和 = 0; void 新增行爲(const std::shared_ptr<結構_訓練行爲> 行爲指針, uint32_t 視訊時長) { 樣本數 += 1; 設備和 += 行...
ed6509a52f116a545bd7eea883488308ff920dbf
3d8d83a9e68f8ea6db242280f126c827ea94df2c
/__content/include_16.inc
21207ecfee85722871601edd26f52e81f563702a
[]
no_license
rudyhyun/mark
53cc50e1f9c8aa6e04ec1256760595d01f0fcebb
f48afb5244e4fc5e4daf0e6cf6faea456dce03d3
refs/heads/master
2020-03-22T21:35:01.667634
2018-07-12T10:25:11
2018-07-12T10:25:11
140,697,933
0
0
null
null
null
null
UTF-8
C++
false
false
31
inc
include_16.inc
<!-- google analytics //-->
67c0d002dd13786237cde2817fd1dcdf5f98626c
6d48da9106dd6fa20630af71094d0790369cfb68
/cpp/fib.cpp
dda3479667d2d73f81b46b917d8157c62b58d65d
[]
no_license
peanut-buttermilk/fun-run
968f587ea80f32be92c6825b9274ad25ff9ac275
187a11b41d14e4bf29380bdcd1c542d06545ee1a
refs/heads/master
2021-01-21T09:34:33.838314
2020-06-07T20:50:41
2020-06-07T20:50:41
53,075,983
0
0
null
null
null
null
UTF-8
C++
false
false
1,159
cpp
fib.cpp
// // fib.cpp // CPP Test9 // // Created by Balaji Cherukuri on 7/30/15. // Copyright (c) 2015 FooBar. All rights reserved. // #include "fib.h" #include <iostream> #include <vector> unsigned long nthFib(int n) { unsigned long prev1 = 0; unsigned long prev2 = 1; if (n <= 1) return prev1; if (...
64c74a62eec57c591e77958fc955ec64ca3928f9
4512a24742a8e860b6a482dcb57201ebc782e81c
/Projects/Project1/Guessing_Password/main.cpp
4ba85e73837700a35df3a1d3991c1c824ba1531a
[]
no_license
yehaolan/CSC-5
1e99c85a342700cb80749d59ba5d8298fa0c1a48
a24da1ae8e2de9a6690870fb85274c579dc4486d
refs/heads/master
2021-05-29T04:24:41.417318
2015-02-12T16:57:07
2015-02-12T16:57:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,875
cpp
main.cpp
/* * File: main.cpp * Author: Haolan Ye(Benjamin) * Created on January 27, 2015, 12:32 PM * Purpose: Project1(Name of the game:Bomb Password) */ //system Libraries #include <iostream> #include <cstdlib> //for random number #include <string> #include <vector> #include <fstream> //file I/O using namespace...
6ebf476d5b5abc0899d46ec0d04c7fcaa59e659e
626a3751789a6aa19b184bcc3bf5e0600a6ec23f
/src/online/base.cpp
0bcd95fe1e8b4473570ab744290a67ead0798609
[]
no_license
google-code/btm
1bfa15074f2a348d6fdf3a36260539e1429f6c9d
a4cd07b78f8f149bad0967092af65641bcebfab1
refs/heads/master
2016-08-04T07:52:26.641072
2015-03-16T01:42:33
2015-03-16T01:42:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,100
cpp
base.cpp
#include <iostream> #include <fstream> #include <string> #include <ctime> #include <cassert> #include "sampler.h" #include "str_util.h" #include "base.h" Base::Base(int K, int W, double a, double b) : K(K), W(W), alpha(a), beta(b) { srand(time(NULL)); nwz.resize(W, K); nb_z.resize(K); } // using batch res...
dc6e950bea229a91eb2a959c589a1cb55a09b8a3
dcf415dd868be5999942d874ad766bd5d0d0a074
/PlayerAPI/ZNV/PlayerAPIZNV/PlayerZNV.cpp
c868f28e0c9a449404767c7b6e44bbf37d8f4e10
[]
no_license
github188/SPlayer
8f2dc00e2b2b8a26c5953390ae8cb89067bfbc80
d0439fe9130f0932eada82bb8b08b0b8b89b8411
refs/heads/master
2020-12-30T18:16:31.667255
2016-07-05T04:53:54
2016-07-05T04:53:54
62,694,150
0
2
null
2016-07-06T05:38:52
2016-07-06T05:38:51
null
GB18030
C++
false
false
5,698
cpp
PlayerZNV.cpp
#include "stdafx.h" #include "PlayerZNV.h" #include <stdio.h> #include <time.h> #include "../inc/PlaySDK.h" #pragma comment(lib,"../lib/Play_SDK.lib") int g_Speed[] = { -16, -8, -4, -2, 1, 2, 4, 8, 16 }; char* CPlayerFactoryZNV::Name() { return "中兴力维"; } BOOL CPlayerFactoryZNV::IsBelongThis(char *pFile) { if (str...
5104129bf9f52faa97cc2e1ee563423a3c206123
5781992b8eb5f8e8f6ce7ccf8069b60138b6f4d7
/src/ui/replay/playergold.h
a163d3031ec02a92544ed275a2d6d8e59c52dacb
[]
no_license
liyonghelpme/dota-replay-manager
fd7c041cc48bac9fd726af4771a03fe8ec1a4ae6
21b965a8a63e077df275379d1f5055d77d98e580
refs/heads/master
2021-01-10T08:11:31.169556
2014-12-24T21:35:29
2014-12-24T21:35:29
36,912,875
1
1
null
null
null
null
UTF-8
C++
false
false
633
h
playergold.h
#ifndef __UI_REPLAY_PLAYERGOLD__ #define __UI_REPLAY_PLAYERGOLD__ #include "ui/replaywnd.h" #include "frameui/graphwnd.h" #include "frameui/controlframes.h" class GoldGraphWindow; class ReplayPlayerGoldTab : public ReplayTab { GoldGraphWindow* graph; struct PlayerButtons { Frame* frame; ...
35719a0ff6af36d0d443c74a6408a5eb61816f0a
a2f7fd5673f214e74f244cb3af06f59d73d71872
/BrainActivityVisualization/gmainwindow.cpp
653edad1397eb535f752e970a20730253f8ebbd3
[]
no_license
18David/BrainActivityVisualization
374895646d5cd4fc5f2b151c66b873ac5d7e7f59
72f01e6fe5fcd9141e7e91ec5e0114e30b3d9f06
refs/heads/master
2021-05-04T03:55:43.817857
2016-12-13T09:56:45
2016-12-13T09:56:45
70,809,172
0
0
null
null
null
null
UTF-8
C++
false
false
5,775
cpp
gmainwindow.cpp
/** * Project Untitled */ #include "filenumberstreamreader.h" #include "gmainwindow.h" #include "ui_gmainwindow.h" #include <QFileDialog> #include <QMessageBox> #include <QTableWidget> #include <coherencewidget.h> GMainWindow::GMainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::GMainWindow) { ...
978910ed29c49754e3742721c252276f516f716e
73795df51faad1f3c5f8ee04ce000349344b3de2
/src/util/String.cpp
94ede2b2667490662e5ee4002a5260f1a3787ebe
[ "MIT" ]
permissive
mohaque0/simple-util-cpp
495bc25aeb1023ab474e68f30a6ec95b5fe042e5
23c0d7d622e0df960fefe96107ba032ce847e32c
refs/heads/master
2020-04-03T07:55:12.801940
2019-08-03T20:36:58
2019-08-03T20:36:58
155,117,846
0
0
null
null
null
null
UTF-8
C++
false
false
6,064
cpp
String.cpp
#include "String.hpp" #include <cstddef> #include <cstring> #include <iostream> #include <sstream> namespace Util { const size_t String::NOTFOUND = -1; // // StringData // StringData::StringData() : memory(), data(NULL), len(0) {} StringData::StringData(const char *str, bool copy) : memory(), data(str), len...
3ef29fb702697de562a87552a01e52a39352b283
a947e022a8d9d2214e83386ddf1c4908a42255d7
/M_03/ex03/DiamondTrap.hpp
bfd1932fa66869f9d3ea2078bed79fbafcc42947
[]
no_license
BooDeer/CPP_modules
03c4c3a6a7e9c7ef9cd24d34f53af09db22d8dca
36219b52ed30fd226870a61b8938a1c1c11bedbe
refs/heads/master
2022-03-11T08:05:31.545415
2022-02-07T16:55:19
2022-02-07T16:55:19
249,405,415
0
0
null
null
null
null
UTF-8
C++
false
false
922
hpp
DiamondTrap.hpp
#ifndef DIAMONDTRAP_HPP # define DIAMONDTRAP_HPP #include "FragTrap.hpp" #include "ClapTrap.hpp" #include "ScavTrap.hpp" class DiamondTrap: public FragTrap, public ScavTrap { /* ======================*/ /* public attributes */ /* ==================== */ public: /* (Con/Des)tructors */ DiamondTrap...
f08061e3b78617e85e35fcbc1b972fda74f25742
005cb1c69358d301f72c6a6890ffeb430573c1a1
/Pods/Headers/Private/GeoFeatures/boost/geometry/policies/is_valid/failure_type_policy.hpp
bb10a8b0d8575cce2ed03403f568daada6a3c574
[ "Apache-2.0" ]
permissive
TheClimateCorporation/DemoCLUs
05588dcca687cc5854755fad72f07759f81fe673
f343da9b41807694055151a721b497cf6267f829
refs/heads/master
2021-01-10T15:10:06.021498
2016-04-19T20:31:34
2016-04-19T20:31:34
51,960,444
0
0
null
null
null
null
UTF-8
C++
false
false
101
hpp
failure_type_policy.hpp
../../../../../../../GeoFeatures/GeoFeatures/boost/geometry/policies/is_valid/failure_type_policy.hpp
79c1872e02ea7001294666285d979e3bea80778e
075735e3b987cb8ad5c629440ee6419ff2762f81
/leetcode/322_Coin_Change/Coin_Change.cpp
e51648fe5e89df15626bd6eaedbd04f1f1b8a165
[]
no_license
Masterqsx/ProgrammingPractice
6f0d4c08f1857f5a409b78c9ae7cd0ec234899be
acf42fb807dc8584b4ae0081ddf65c495314eabe
refs/heads/master
2021-01-24T20:26:17.552529
2019-07-22T19:16:58
2019-07-22T19:16:58
68,643,503
0
0
null
2020-10-13T01:11:46
2016-09-19T20:26:10
HTML
UTF-8
C++
false
false
536
cpp
Coin_Change.cpp
class Solution { public: int coinChange(vector<int>& coins, int amount) { unsigned int num[(unsigned int)amount+1] = {0}; fill_n(num, (unsigned int)amount+1, INT_MAX); num[0] = 0; for (unsigned int i=0;i<coins.size();i++) { for (unsigned int j=coins[i];j<=amount;j++) { ...
5179b33a9b0f504a7f3fa3e5868bcd8d096e7871
d3e498007ddeba12dc1d479a3bacf7086f73f8da
/437.cpp
608e0232761488429ae195219ec949af2233147d
[]
no_license
vicwer/leetcode2020
76590c3c176f5e24848d240e454cc48f81ca5ae0
e682c01c5bc0b2060665acf81be747627ee759b7
refs/heads/master
2023-02-06T07:17:53.741644
2020-12-15T11:56:54
2020-12-15T11:56:54
258,710,157
0
0
null
null
null
null
UTF-8
C++
false
false
835
cpp
437.cpp
#include <iostream> #include <vector> #include <queue> struct TreeNode { int val; TreeNode* left; TreeNode* right; }; int count = 0; int cntPathSum(TreeNode* root, int sum) { if(!root) return; if(root->val - sum == 0) count += 1; cntPathSum(root->left, sum-root->val); cnt...
4abaca9aedea91d0a2e6641e9c959a8c69057ca8
5a54c51b5972f55acd74244b4ae561b8eb343ac9
/sketch_mar30a.ino
b5536f945492fd8b6116e0136b2cb920887656a1
[]
no_license
Nathan-K-Public/headset-tester
b96ab3173e166501d6132f1be710a126b5220276
4e0d4e129798353d8ff3ff8d8771a3a16be7c841
refs/heads/master
2022-11-22T18:31:46.536840
2020-07-31T07:46:18
2020-07-31T07:46:18
283,970,204
1
0
null
null
null
null
UTF-8
C++
false
false
14,722
ino
sketch_mar30a.ino
#include <Wire.h> #include <Adafruit_MCP4725.h> #include "mariosongs.h" #include "ringbuffer.h" Adafruit_MCP4725 dac; // Set this value to 9, 8, 7, 6 or 5 to adjust the resolution #define DAC_RESOLUTION (8) #define ADC_DELAY 40 // Increase if ADC starts reading 0 vals due to sampling cap not filling #define pinLE...
c012c6edc4369670743c82231c2ef74919717f0a
9a79e271ca0f54c7aa75e689127bc630592d9d6c
/Edge.cpp
cf027b2a0f2395aa95aa5ea4caa06659b04e938b
[]
no_license
mnmz81/Smart-pointer-And-move-semantics
d4b2b0a4efc64c4cbd0f2f05a0b938551bc260ca
7e9bb1d5d46fa261c16d53ba44e108a50499e3d3
refs/heads/master
2022-12-10T16:48:18.451702
2020-09-10T10:45:10
2020-09-10T10:45:10
294,380,639
0
0
null
null
null
null
UTF-8
C++
false
false
2,499
cpp
Edge.cpp
#include "Edge.h" /******************************************************/ Edge::Edge(shared_ptr<Vertex>& d,Shipping& temp):from(temp.getSource()),dest(d),weightBoxs(temp.getBox()),weightTime(temp.getTime()){ this->allShiping.push_back(temp); } /******************************************************/ Edge:...
db6e3492dc53f07a76aba16668e8651fac12f164
908fbab5d1c478b6453d2657d0d75b5fa752ec06
/DEMO/mainwindow.cpp
42e8ff2636a3050db5988ef68a304509ea5b127e
[]
no_license
zbl2018/draw_tool
bba7f273feef4e9ac32d40a80934094c00e88251
688962822fd4e4b7afea527b27012f42bd3a2c60
refs/heads/master
2020-03-16T20:58:32.487093
2018-05-17T04:07:07
2018-05-17T04:07:07
132,979,731
1
0
null
null
null
null
UTF-8
C++
false
false
15,923
cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" #include "coordinate.h" #include <QObject> #include <QGraphicsScene> #include <QGraphicsRectItem> #include <QGraphicsView> #include <QApplication> #include "myitem.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { su...
59ee75fcbdbcf80218b116a56df8c2372435d4ff
cade12b2ff4411b2e26e9fef3caf660ea7a5aae9
/100-answers/13-first-bad-version.cpp
1ff3fcd2f11d01f7dba7cdbcf05ceabed5f9c6bd
[]
no_license
hanrick2000/100
a53bbe85f9bb76b2c2d640b0a0dd1879d08a4b5f
fb6a8a4eaf9b3304b2f462f389b4b58e956c8c85
refs/heads/master
2020-12-31T08:12:24.292722
2019-08-03T15:12:52
2019-08-03T15:12:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
955
cpp
13-first-bad-version.cpp
/* https://www.lintcode.com/en/problem/first-bad-version/ The code base version is an integer start from 1 to n. One day, someone committed a bad version in the code case, so it caused this version and the following versions are all failed in the unit tests. Find the first bad version. You can call isBadVersion to h...
4d2883584bb8f62b9dcfd355d76f6ad8229e7b3e
ac15d1b3c5a0173bbbd6d14f2b59f65fb15ff653
/tools/tileskin/main.cpp
f4a94e68a8e0ca5501c69728ab51ff9d5a091e3d
[]
no_license
invoketeam/invokemagic
4c6d9a7fee40e141a5184b42fecc749ed11fb0ca
f2c355049e4f3ae0e51b15d38867420d84630897
refs/heads/master
2021-01-10T19:30:48.990796
2014-08-09T21:27:23
2014-08-09T21:27:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,565
cpp
main.cpp
#pragma warning (disable : 4786) #include <map> #include <vector> #include <string> #include <algorithm> #include <cstdlib> #include <conio.h> #include <math.h> #include <iostream> #include <fstream> #include <cctype> #define MINIZ_HEADER_FILE_ONLY #define MINIZ_NO_STDIO #define MINIZ_NO_TIME #include "miniz.h" ...
dce5567c2f24eeca52aa69a8865efcfd53249979
7c0c04068f3802cac026901e6451a6a10f385146
/FileCoroutine.cpp
899f54fbedbe3505fdd667c83b5710fd5b32977f
[]
no_license
deegoy2/crehoboam
89026bed5257c9405178302cabf58d2b32c484f2
418c030c5c063eaa4c301de9e15f0480be6c1f8b
refs/heads/main
2023-05-02T17:21:03.495997
2023-05-01T10:11:51
2023-05-01T10:11:51
370,427,833
0
0
null
null
null
null
UTF-8
C++
false
false
1,719
cpp
FileCoroutine.cpp
#include <iostream> #include <fstream> #include <coroutine> #include <future> using namespace std; // using namespace std::experimental; struct FileReader { const char* filename; ifstream file; FileReader(const char* fn) : filename(fn), file(filename, ios::binary) {} struct promise_type { ch...
1651067a9994d42325441362da0559ad3ab1f31b
f6814c464c9c43bf1c5fb4a7acfcaabc3bef0a6e
/runtime/gc/accounting/heap_bitmap.h
987e77facdd2de251dbb93ef430a23240e71af57
[ "Apache-2.0" ]
permissive
fizous/gcaas-kk-art
1fc7727dd62d57b48ea5291ae194db53fee57e05
7012dc776b90fa7c417d97c5176e59a4addb7774
refs/heads/master
2021-07-20T05:18:20.919937
2017-10-30T02:36:37
2017-10-30T02:36:37
108,298,128
1
0
null
null
null
null
UTF-8
C++
false
false
10,278
h
heap_bitmap.h
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
3ca795447a841e7ae86ca07b04060b52c769c8db
5330f231335e58492cf31fb7040394011002728e
/DoAn/HeSo.h
938e67dabe9f836c58f03038c4bbb289fc681562
[]
no_license
xxxcodexxx/OOP
806c74f37987731c6362ab95de3e2b4688d39b6a
455c998b7c2a95efe7eaca550aec2de42f03ccc8
refs/heads/master
2021-01-21T14:53:27.490740
2017-06-25T16:52:59
2017-06-25T16:52:59
95,353,961
0
0
null
null
null
null
UTF-8
C++
false
false
279
h
HeSo.h
#pragma once #include <string> using namespace std; class HeSo { protected: int heSo; string value; void convertToNotDec(int); void convertToDec(); public: void setVal(string val); string getVal(); int getHeSo(); }; class HeSo2; class HeSo8; class HeSo10; class HeSo16;
94161e1570972293464bb72c2f4e572f94a892dc
03867cfe1b76d650b70853aeb5e378c9f9c67b7d
/L2andJERScripts/extrapol_helpers.h
b69036a918af63700a2c009a991ee6074961ebbc
[]
no_license
stadie/Kalibri
7a350f495751b8eb57809cf4986d8aa1a9ee9d4a
049132730ec1c37ccf00555aacc202ec1f853af6
refs/heads/master
2016-09-06T13:34:51.102082
2014-08-08T15:39:34
2014-08-08T15:39:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,902
h
extrapol_helpers.h
void setStyle() { gStyle->SetPalette(1); // For the canvas: gStyle->SetCanvasBorderMode(0); gStyle->SetCanvasColor(kWhite); gStyle->SetCanvasDefH(800); //Height of canvas gStyle->SetCanvasDefW(800); //Width of canvas gStyle->SetCanvasDefX(0); //Position on screen gStyle->SetCanvasDefY(0); // For t...
f4a4470ce245c3b777aec6f858f65b3d8102ddb5
e566fc4b0b1e035ec228fdde3d66a29c890c60d1
/src/comm_fp_inst
875ba2ae9de73a8d0af72db4b83220f51724758a
[]
no_license
ExaScience/shark
a092c0d2d8c67fb7ca80355ac6b01d62e51c1e10
87cf885ddd76c5bf06260088fbe9302933d6daf7
refs/heads/master
2021-06-24T05:35:58.967343
2016-09-07T09:08:59
2016-09-07T09:08:59
6,867,622
9
1
null
null
null
null
UTF-8
C++
false
false
680
comm_fp_inst
// vim: ft=cpp #define COMMA , #if defined(SHARK_MPI_COMM) SYMBT(float) SYMBT(double) SYMBT(std::valarray<float>) SYMBT(std::valarray<double>) #define SYMBD(d) SYMBT(shark::ndim::vec<d COMMA float>) #include "inst_dim" #undef SYMBD #define SYMBD(d) SYMBT(shark::ndim::vec<d COMMA double>) #include "inst_dim" #und...
b47920a7620f309af67a8a744b9470aa13e85126
01a946f5b9f454f66c1d515d074eafe6b81ace4a
/DLL/useDll2/main.cpp
1cd0484a64a934565b8e8ce4236faf96e621478e
[ "Apache-2.0" ]
permissive
kingmax/cpp
bd70f7deb5bee7941f3358cb4f0b0d53a50d15b6
b0c3abcfc77094421d906695a4ac167463a43b92
refs/heads/master
2021-05-04T23:40:05.373647
2021-05-04T16:15:11
2021-05-04T16:15:11
119,319,341
0
0
null
null
null
null
UTF-8
C++
false
false
257
cpp
main.cpp
#include <iostream> using namespace std; //#pragma comment(lib, "Dll1.lib") //_declspec(dllexport) int add(int, int); _declspec(dllimport) int add(int, int); int main() { cout << 1 << "+" << 2 << "=" << add(1, 2) << endl; system("pause"); return 0; }
d22488cdf9e051245bdbb38eb9dc439e52433fde
a85a1e6c776e0433c30aa5830aa353a82f4c8833
/coregame_ai/strategic_resource.cpp
674165a688abd724203fa50415e0a811b6704424
[]
no_license
IceCube-22/darkreign2
fe97ccb194b9eacf849d97b2657e7bd1c52d2916
9ce9da5f21604310a997f0c41e9cd383f5e292c3
refs/heads/master
2023-03-20T02:27:03.321950
2018-10-04T10:06:38
2018-10-04T10:06:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,490
cpp
strategic_resource.cpp
///////////////////////////////////////////////////////////////////////////// // // Copyright 1997-1999 Pandemic Studios, Dark Reign II // // Strategic Resource // ///////////////////////////////////////////////////////////////////////////// // // Includes // #include "strategic_private.h" #include "strategic_resourc...
0beb33ffaa02fabe33a50aebcb30c9258d66a24c
d875107c7a919cacdf1f1cbf4efec4d2fa270fb8
/RayTracing/MyTracer/Tracer/Tracer.cpp
7b66a09448a726a534e6451ffd38c9d01b099993
[]
no_license
terraritto/RayTracing
c2d451c4d53d093e383be7e755adcda07538d97e
d4a47772241fcec26c3662ef151934c7cfd0b1f9
refs/heads/master
2021-07-04T03:49:43.054692
2020-11-19T07:17:32
2020-11-19T07:17:32
200,249,837
0
0
null
2019-11-14T15:28:42
2019-08-02T14:34:58
C++
UTF-8
C++
false
false
386
cpp
Tracer.cpp
#include "Tracer.h" Tracer::Tracer() : mWorld(nullptr) { } Tracer::Tracer(World* world) : mWorld(world) { } Tracer::~Tracer() { } RGBColor Tracer::TraceRay(const Ray& ray) const { return black; } RGBColor Tracer::TraceRay(const Ray ray, const int depth) const { return black; } RGBColor Tracer::TraceRay(cons...
08a06bd9b75dafe06f00513a57e50868e22b66eb
82bba7a54b6c2832254b7c2c6c5753873116a316
/extension/src/stc.cpp
17f41c759c1d9a969ce178f259ce749150c45976
[ "MIT" ]
permissive
Augustin-FL/wxExtension
213174f1c85e8973875721e83dde1f36cc611c8f
18b1931b7d90ff337977c48289a8bf38914a563a
refs/heads/master
2021-05-28T08:46:20.474642
2015-04-04T10:39:45
2015-04-04T10:39:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
54,356
cpp
stc.cpp
//////////////////////////////////////////////////////////////////////////////// // Name: stc.cpp // Purpose: Implementation of class wxExSTC // Author: Anton van Wezenbeek // Copyright: (c) 2015 Anton van Wezenbeek //////////////////////////////////////////////////////////////////////////////// #include <wx...
e8dc833268ce85b2d74a644369b734d97c826f5b
808062326439f77d77c0140178edbb023606ffdb
/src/Graph.h
20425da8bc8176762a6709fb4ada7398bf2b8f89
[]
no_license
diogo92/LAIG_2014_Turma3_Grupo4
702afb756f8351202cdce7d6d414027799a99679
53f7a02ac134ea8ed8f8c73cc3f5b9c5ba63c87c
refs/heads/master
2020-04-01T23:53:22.892288
2015-01-05T01:48:04
2015-01-05T01:48:04
24,146,416
0
0
null
null
null
null
UTF-8
C++
false
false
1,155
h
Graph.h
#ifndef _GRAPH_H #define _GRAPH_H #include <map> #include <string> #include <vector> #include "VisualObject.h" #include "Camera.h" #include "Light.h" #include "Appearance.h" #include "Animation.h" using std::map; using std::string; using std::vector; class Node; struct Texture{ string id; string file; float tex...
464bf277878aea1cc3d18d0bbd78ee0e0b9a419f
af8679d6b9fa12b6d2072f4aec37e5ca65158770
/TankGame/selectlevelwindow.h
dce4d87a3d819d42bef92f95116ad16d38256fb2
[]
no_license
anlowee/TankGame
8f503f971698b60391af1c9740e34e57368e4489
c2f122a9864d3ee91f0226cae9b5bd7419bc7c20
refs/heads/master
2020-06-16T16:45:53.244883
2019-07-20T16:14:44
2019-07-20T16:14:44
195,639,930
3
0
null
null
null
null
UTF-8
C++
false
false
600
h
selectlevelwindow.h
#ifndef SELECTLEVELWINDOW_H #define SELECTLEVELWINDOW_H #include <QWidget> #include <QPaintEvent> #include "mainwindow.h" namespace Ui { class SelectLevelWindow; } class SelectLevelWindow : public QWidget { Q_OBJECT public: explicit SelectLevelWindow(QWidget *parent = nullptr); ~SelectLevelWindow(); pr...
f7e5bb0977dbab7462545596dec0b863719fa5b1
e75f0371950d47f66c8d2c8d9df53d90d7daa1b2
/sources/thread/TimedFunction.hpp
0ac8d3270469bc9213b17ef578f3d52ebfc7eaae
[]
no_license
DiantArts/ThreadPool
4c60eeeaa6c67e8b0d1b1e4f26565a7342b487d0
67deeff3c4d399a9249b93722a03d32152a1a6ab
refs/heads/main
2023-08-03T16:22:34.023687
2021-09-15T06:43:50
2021-09-15T06:43:50
406,660,488
0
0
null
null
null
null
UTF-8
C++
false
false
1,810
hpp
TimedFunction.hpp
/* ** EPITECH PROJECT, 2020 ** TimedFunction ** File description: ** Control the flow of a function over time */ #ifndef TIMED_FUNCTION_HPP #define TIMED_FUNCTION_HPP #include <list> #include <functional> #include <optional> #include <chrono> #include <atomic> #include <deque> #include "Pool.hpp" struct arg_t { ...
82c0baf1db6a753bcd6571095867f4be734ec709
c47c254ca476c1f9969f8f3e89acb4d0618c14b6
/datasets/github_cpp_10/5/67.cpp
507d45ce2fd174c5672481124c3042c7e5bee8b1
[ "BSD-2-Clause" ]
permissive
yijunyu/demo
5cf4e83f585254a28b31c4a050630b8f661a90c8
11c0c84081a3181494b9c469bda42a313c457ad2
refs/heads/master
2023-02-22T09:00:12.023083
2021-01-25T16:51:40
2021-01-25T16:51:40
175,939,000
3
6
BSD-2-Clause
2021-01-09T23:00:12
2019-03-16T07:13:00
C
UTF-8
C++
false
false
384
cpp
67.cpp
#include <stdio.h> void towerOfHanoi(int n, char from, char to, char aux) { if (n == 1) { printf("Move Disk 1 from %c to %c\n", from, to); return; } towerOfHanoi(n - 1, from, aux, to); printf("Move Disk %d from %c to %c\n", n, from, to); towerOfHanoi(n - 1, aux, to, from); } in...
36ec24c15fb1770601a9c8b45effc92798889fd0
b2eeb55b758b35f89aac8ef2f491266cd43b067a
/template_classes/Polynom.h
8810507381556b9d28fb0e4c9b6f5aaebca567fe
[]
no_license
hurr1canexd/template-classes
74d8cf4d967b0ca1784a0c75f372535cb4331558
d6a4ce1340857586e84829aef83f94249729c33e
refs/heads/master
2022-03-04T12:58:34.323577
2022-02-25T21:03:23
2022-02-25T21:03:23
158,029,801
0
0
null
null
null
null
UTF-8
C++
false
false
5,256
h
Polynom.h
#pragma once #include <map> #include <iterator> using namespace std; template<typename T> class Polynom { private: map<int, T> polynom; public: // Конструкторы Polynom() = default; Polynom(map<int, T>&); Polynom(const Polynom&); // Перегрузки Polynom operator+(const Polynom&) const; Polynom operator-(const...
f7e515be71ccc16d307f602532e676e0e7f1fbe8
f812cbcfba682dd3c2bc973bcb2c2d4cd5930524
/IDE/utilities/MCUDataFiles/BinFile.h
f54dc193987fdd93070aca642ff9810e735cb507
[]
no_license
AbyssAbbeba/MDS-picoblaze-AVR-ide
bceb4bd3e300fcdb4213a0880a5c7e6f6433704e
afc0cf7fd115ce063303f27d0bc03dc9f146e19b
refs/heads/master
2020-03-22T00:32:42.982094
2018-07-06T09:05:37
2018-07-06T09:05:37
139,251,486
4
1
null
null
null
null
UTF-8
C++
false
false
1,731
h
BinFile.h
// ============================================================================= /** * @brief * C++ Interface: ... * * ... * * (C) copyright 2013, 2014 Moravia Microsystems, s.r.o. * * @author Martin Ošmera <martin.osmera@moravia-microsystems.com> * @ingroup MCUDataFiles * @file BinFile.h */ // =============...
b899a767a39fe086df30cf813f30dcf90a13c190
ed33d9bb9ffe53cdbe4485dcba76d49209c9cf86
/DQuest/dqmodel.cpp
5b27fb42626fbae02239e76551892bb2bef53f2d
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
OliverLetterer/DQuest
0b41dc2744d3419bd3121ece3a20b9bd53d795d8
5ee966bf0d266b0a65bdad8573bec0fb5f52eda0
refs/heads/master
2021-04-09T17:19:51.954878
2013-04-01T08:32:03
2013-04-01T08:32:03
9,143,691
1
0
null
null
null
null
UTF-8
C++
false
false
2,416
cpp
dqmodel.cpp
#include <QtCore> #include <QMetaObject> #include <QMetaProperty> #include "dqmodel.h" #include "dqmetainfoquery_p.h" #include "dqlist.h" #include "dqsql.h" //#define TABLE_NAME "Model without DQ_MODEL" #define TABLE_NAME "" DQModel::DQModel() : m_connection ( DQConnection::defaultConnection()){ } DQModel::DQMode...
65dbc50c5f35f845a8045ca90663750b4f3d72a8
70ad0a06c54b68b7d817131f4b139b76739e2e20
/Zeroconf/ZeroconfTests.cc
4af6f28892af3d7a8f3c48e7b3cab1635b35ad58
[ "MIT" ]
permissive
SherlockThang/sidecar
391b08ffb8a91644cbc86cdcb976993386aca70c
2d09dfaebee3c9b030db4d8503b765862e634068
refs/heads/master
2022-12-09T14:57:08.727181
2020-09-01T10:31:12
2020-09-01T10:31:12
313,326,062
1
0
MIT
2020-11-16T14:21:59
2020-11-16T14:21:58
null
UTF-8
C++
false
false
3,526
cc
ZeroconfTests.cc
#include <sys/types.h> #include <unistd.h> #include "ace/Event_Handler.h" #include "ace/Reactor.h" #include "boost/bind.hpp" #include "Logger/Log.h" #include "UnitTest/UnitTest.h" #include "Zeroconf/ACEMonitor.h" #include "Zeroconf/Browser.h" #include "Zeroconf/Publisher.h" using namespace SideCar::Zeroconf; struc...
631474ce74b7b20d05d86d6253c9e56a6d5c0727
2f10f807d3307b83293a521da600c02623cdda82
/deps/boost/win/debug/include/boost/log/utility/setup/from_stream.hpp
ca306afacd01a0f14fc15b7b213135ec4127a85b
[]
no_license
xpierrohk/dpt-rp1-cpp
2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e
643d053983fce3e6b099e2d3c9ab8387d0ea5a75
refs/heads/master
2021-05-23T08:19:48.823198
2019-07-26T17:35:28
2019-07-26T17:35:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
129
hpp
from_stream.hpp
version https://git-lfs.github.com/spec/v1 oid sha256:39e73ed6d5dbffe1a6c63017ea1eb8c654f8c3fc3b7b61fe11dd882bd0a2d7e2 size 1290
bc20782d418bd00a474bbcb5fcb7d2e3adce4dba
5f73d1c903ccd3ea3c4bae168dff1f5cd58842ca
/qtTeamTalk/onlineusersdlg.h
e5e1183348fbd85e4d474e7f3572fcd49e9de5ba
[]
no_license
supercoeus/TeamTalk5
805f3bd278e3c1a6b0007259f3d269c8fd2eb59b
a146ad3b7c161af4fb8b1d4ab2a489b2745fe785
refs/heads/master
2020-12-25T20:42:46.337718
2016-07-28T18:01:39
2016-07-28T18:01:39
64,459,213
1
0
null
2016-07-29T07:12:43
2016-07-29T07:12:43
null
UTF-8
C++
false
false
1,638
h
onlineusersdlg.h
/* * Copyright (c) 2005-2016, BearWare.dk * * Contact Information: * * Bjoern D. Rasmussen * Skanderborgvej 40 4-2 * DK-8000 Aarhus C * Denmark * Email: contact@bearware.dk * Phone: +45 20 20 54 59 * Web: http://www.bearware.dk * * This source code is part of the TeamTalk 5 SDK owned by * B...
125967786e16aec39e9700f4e1c60b02d9b65c65
80d5a283df5f6c5a2d5b712c51664bcd8c628913
/WOFFCEdit/Custom_CEdit.h
09e63f8e480ea7e6e0b9e22a8c6de45cdaf8fcdf
[]
no_license
Ruzry/WFFC-Edit
652e96170e6b40692279c3781490305b078b4c54
870999bbcdcba8a4a331fefea3ac17544424d4e4
refs/heads/master
2022-11-16T04:51:35.467951
2020-07-15T21:31:24
2020-07-15T21:31:24
275,418,829
0
0
null
2020-06-27T17:14:48
2020-06-27T17:14:47
null
UTF-8
C++
false
false
329
h
Custom_CEdit.h
#pragma once #include <afxwin.h> class Custom_CEdit : public CEdit { public: Custom_CEdit(); ~Custom_CEdit(); bool checkPoint; bool negative; bool isFocused = false; DECLARE_MESSAGE_MAP() afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags); afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFla...
ce11fc6be5552269d4f17ada97f72accb2f61601
6e8750711d86736286324e3864f8dc0efd998aa1
/Utilities/Source/mklJac.h
d60e5099fbddbb668ccd66bdeb2132ebd33a5207
[ "BSD-3-Clause" ]
permissive
jonathancurrie/OPTI
eb1825de5ce23a1e85a80bdaf18efa1130de2d1a
c9636bb2da69dc225d5791eac04fb36c7c0e71c8
refs/heads/master
2023-05-26T06:17:37.299405
2023-04-02T23:43:43
2023-04-02T23:43:43
34,312,503
184
122
null
2022-05-13T19:32:03
2015-04-21T07:51:06
C++
UTF-8
C++
false
false
569
h
mklJac.h
/* MKLJAC - A MATLAB MEX Interface to Intel MKL's DJACOBI * Released Under the BSD 3-Clause License: * https://www.controlengineering.co.nz/Wikis/OPTI/index.php/DL/License * * Copyright (C) Jonathan Currie 2012-2017 * www.controlengineering.co.nz */ #include "opti_mex_utils.h" namespace opti_utility { class MK...
6e90a387796402959350a080ec3e61b77c9a9bc1
5b41b766d419fa2ff2501bd2a30e7cfe93431263
/color_wheel.cpp
5656473183274680e394dbf60e928161ee56ba69
[]
no_license
scientLunatic/Color-picker
21785eb727f2bd6d2d8d41b73c2c1befd8d05de3
53ce11eb884cd71448fd89ce2a72c26d2bc76d7d
refs/heads/master
2021-07-31T19:24:31.567855
2021-07-29T10:34:11
2021-07-29T10:34:11
180,895,676
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
9,980
cpp
color_wheel.cpp
#include <GL/glut.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #include "yet_another_list.h" #define PI 3.1415926535898 #define GET_RED(ANGLE) get_function_by_angle(ANGLE)(ANGLE) #define GET_GREEN(ANGLE) get_function_by_angle(ANGLE - 2 * PI/3)(ANGLE) #define GET_BLUE(ANGLE) get_function_by_angle(ANGLE -...
9f1bc7bdca77f5084697196cba898b3fc832507c
fdb54ad118ebdc572ed223dc0f3686d4940c803b
/cecservice/cec_manager.cc
cca6d9bc8920b85cb0a1a6f4ca1a6ad124d6e8de
[ "BSD-3-Clause" ]
permissive
ComputerStudyBoard/chromiumos-platform2
6589b7097ef226f811f55f8a4dd6a890bf7a29bb
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
refs/heads/master
2022-03-27T22:35:41.013481
2018-12-06T09:08:40
2018-12-06T09:08:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,489
cc
cec_manager.cc
// Copyright 2018 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "cecservice/cec_manager.h" #include <algorithm> #include <string> #include <utility> #include <vector> #include <base/bind.h> #include <ba...
04b7e2d68cda457da41539711f5b690e0ade2c1c
eb83767e1c8a8ba94b0b736836b5d7f4656f8b87
/batle-sim/src/OutputConsole.h
6881ab089d206b2d45ab5de46c6351e01d688142
[]
no_license
HermanTS/serenity-corp
6dd09c2c2249b3f4fc0ac9cb9b3c66e780f4089b
26e9710c7cbc4d3ae7d6db18e365c78d27144e6c
refs/heads/master
2020-12-02T05:16:09.794317
2020-02-28T18:09:42
2020-02-28T18:09:42
230,901,538
0
0
null
null
null
null
UTF-8
C++
false
false
397
h
OutputConsole.h
/* * OutputConsole.h * * Created on: 21 февр. 2020 г. * Author: gstsvetkov */ #ifndef SRC_OUTPUTCONSOLE_H_ #define SRC_OUTPUTCONSOLE_H_ #include "window-widget.h" class OutputConsole: public WindowWidget { public: OutputConsole(); virtual ~OutputConsole(); private: void Custo...
d722b72bb420ef9f809880562c8a11cf61ba5124
eee0588d6c92b1bc093716ac84969a47a8159e38
/Dia/DiaWindow/SystemHandle.h
1924b6fa3c89c62025b0c3b698a86d9eb22b557b
[]
no_license
LenihanConor/Cluiche
bf919ef721d901ba2a23646e70444803e0fe5781
1b65c5861a2354a81fbf1ed63fb0e7620b635d0d
refs/heads/master
2023-06-28T19:45:52.811023
2023-06-20T18:20:58
2023-06-20T18:20:58
37,433,420
0
0
null
null
null
null
UTF-8
C++
false
false
564
h
SystemHandle.h
//////////////////////////////////////////////////////////////////////////////// // Filename: WindowHandle.h: Define a low-level window handle type, specific to //////////////////////////////////////////////////////////////////////////////// #pragma once #if defined(WIN32) struct HWND__; #endif namespace Dia { names...
4f19731ea6e594d5eb37039c35e4c050f0c266a9
a9e682aefdf4fb981f3aecb0b779068b25a2becc
/polygonDrawingDemo/polygonDrawingDemo.cpp
79d3a29134cc7e31de2d834bccdd78386db0d70e
[]
no_license
cdk-king/T2D
a528d79036c2c399f4786c6dfb709a46f6bb741b
76529a6ddd2fd88368f077e4ebfbd52cd4ca8c96
refs/heads/master
2020-05-15T18:49:03.778033
2019-06-09T18:09:09
2019-06-09T18:10:27
182,439,705
0
0
null
null
null
null
UTF-8
C++
false
false
5,120
cpp
polygonDrawingDemo.cpp
// DEMO4_5.CPP - Polygon drawing demo // INCLUDES /////////////////////////////////////////////// #define WIN32_LEAN_AND_MEAN // just say no to MFC #include <windows.h> // include all the windows headers #include <windowsx.h> // include useful macros #include <mmsystem.h> // very important and include WINMM.LIB...