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
923652ff28902e2591b07eb19c2f6fdfa9c291aa
291e0b16dbce4eafecd82e3ee37d233e93654da8
/main.cpp
743d771cfc58d01f4552ea3ba761a08a8faf6063
[]
no_license
sourimd/QuickSortWithVector
1cb1f624c369b8c1fdcaaeaf3afbcc3088ee07ef
5be2f468477bbf060af32c961deb9b9c1bf1494c
refs/heads/master
2020-05-28T14:17:57.752122
2015-01-04T07:33:06
2015-01-04T07:33:06
28,767,659
0
0
null
null
null
null
UTF-8
C++
false
false
1,397
cpp
main.cpp
#include <iostream> #include <vector> void display( std::vector<int> & vec){ int s = vec.size(); for(int i = 0; i< s; i++){ std::cout << vec[i] << "->" ; } std::cout << "end" << std::endl; } void quickSort( std::vector<int> & vec , int start, int end){ if( start == end ){ return; } else{ int pivot = (sta...
33fc8801a694a01684f514b748f9fce8ea2421bc
34ad34fb18ae96298db85589587285056f1d2aa6
/5585.cpp
41fbcb3cc28afe9fb86bd9a31f929590df47435d
[]
no_license
SeonghyeonKim/BOJ
2a473ac232ab95b12ae9f46b2dbbbc1d31de6929
1dbd78b797ca487555fa4b18558210e5ce4cbb94
refs/heads/master
2023-09-02T18:51:55.842309
2023-08-26T16:05:54
2023-08-26T16:05:54
173,932,904
2
0
null
null
null
null
UTF-8
C++
false
false
398
cpp
5585.cpp
#include<iostream> using namespace std; int main(void) { int N, count=0; cin >> N; N=1000-N; while(N) { if(N>500) { count++; N-=500; } else if(N>100) { count++; N-=100; } else if(N>50) { count++; N-=50; } else if(N>10) { count++; N-=10; } else if(N>5) { count++; ...
e227dc0b4869257fd6629a717c3bec1a39336988
205c981b20566470d9e48b920759bee2af20ea5e
/FlightDemo/WingDash.h
6e023257637a79074a2587937a63561ced878ea9
[ "MIT" ]
permissive
whitelok/SimAirCockpit
fe8e0340008c4649ec58da099912373f601b00b5
04acaef526c77000e832c1690c10182d19b2d39c
refs/heads/master
2021-01-20T00:56:02.329798
2013-07-22T09:13:20
2013-07-22T09:13:20
null
0
0
null
null
null
null
GB18030
C++
false
false
476
h
WingDash.h
#pragma once // CWingDash 对话框 UINT OnShowWingNum(LPVOID lParam); class CWingDash : public CDialog { DECLARE_DYNAMIC(CWingDash) public: CWingDash(CWnd* pParent = NULL); // 标准构造函数 virtual ~CWingDash(); // 对话框数据 enum { IDD = IDD_WING }; protected: virtual void DoDataExchange(CDataExchange*...
7e3b4ce0f27477a7d9c2a70b9fb4bb3f0b96a758
d067509968cd8f9b1e29ec5ba69abbee56757ec6
/Kinematics/IK/IK.ino
2b25167c5110ae4d6cd39440aa8b44fa518cc289
[ "MIT" ]
permissive
erizalmh/humanoid_challenge
de5edab24b7db54f9ba0c4f9c4b4cbbaf337ac19
fc0f0049ae75b1be6bb59b100de900dc3d7a510a
refs/heads/master
2022-04-09T18:07:14.139305
2018-05-07T06:20:09
2018-05-07T06:20:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,054
ino
IK.ino
//Dynamixel on Serial1(USART1) <-OpenCM9.04 Dynamixel Dxl(1); //Angle conversion (degree to 0-1023) int d (float input){ int output; if (input < 0){ output = (input+150)/300*1024; } else{ output = input/300*1023+512; } return (output); } //Single Joint Control function void SJC(int ID,int GP...
dfa79acf003919e6c83335793b763e8a8dc01a3f
aa58f525f7abf8ce0fd921cbe66c332e3af1003a
/src/bigbang/blockchain.h
9c7c621759946444098740f8ae77cc481c869e98
[ "MIT" ]
permissive
bigbangcore/BigBang
a696b00f455c14916c3f3825ecf7597b186d8350
c39cf9cb60d23799f5e15966898e5b791bcb473e
refs/heads/master
2021-08-17T02:31:20.048709
2021-07-08T01:47:23
2021-07-08T01:47:23
200,979,726
52
14
MIT
2020-12-14T03:22:04
2019-08-07T05:39:25
C++
UTF-8
C++
false
false
7,414
h
blockchain.h
// Copyright (c) 2019-2020 The Bigbang developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BIGBANG_BLOCKCHAIN_H #define BIGBANG_BLOCKCHAIN_H #include <map> #include <uint256.h> #include <utility> #include "b...
ba247ac18feba1b93474d64a59286798eb99ed2a
d42a0f379eff83b7bf906494932c47d3726c157a
/node.h
c64402be23beceeb9bd74bbe7b619dac22d50e39
[]
no_license
dannycho7/huffman_coding
e9501b1d32c9b80b6c85a42329b4d9fed02c446f
7b643ec820842f91f2b2f39bb7f1b1ae8ffea977
refs/heads/master
2020-03-12T19:55:42.030611
2018-05-04T02:26:55
2018-05-04T02:26:55
130,794,619
0
0
null
null
null
null
UTF-8
C++
false
false
816
h
node.h
#ifndef NODE_H #define NODE_H #include <iostream> struct Node { Node(const Node& copy) { this->char_code = copy.char_code; this->freq = copy.freq; this->left = copy.left; this->right = copy.right; } Node(int char_code, int freq = -1, Node* left = NULL, Node* right = NULL) { if (freq == 0) ...
42f4f1f9a42e6bb03ff8bcac18af966bd81e9764
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/RecoJets/JetProducers/plugins/PtMinJetSelector.cc
130a789e965e1b01e6100b818f8426fc6d8b9b13
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
C++
false
false
245
cc
PtMinJetSelector.cc
#include "FWCore/Framework/interface/MakerMacros.h" #include "PtMinJetSelector.h" DEFINE_FWK_MODULE(PtMinCaloJetSelector); DEFINE_FWK_MODULE(PtMinGenJetSelector); DEFINE_FWK_MODULE(PtMinPFJetSelector); DEFINE_FWK_MODULE(PtMinBasicJetSelector);
d1ce69696c079970d888cc2ecb6ecd5fe19ce987
5a6d6045ae5123dc48566a2ddafa292b42cc4aca
/deprecated_classes/margBlob.h
0b286bf6ef658acc39696e1f3ff54d32b767b897
[]
no_license
amintz/M1.0
ff94b11bd06aa3d3f39b72b04b4155b629f0bdc9
5e3a83be92443462f90755da691c99f9329e2084
refs/heads/master
2020-05-02T12:52:34.828264
2012-05-26T13:43:08
2012-05-26T13:43:08
2,650,790
0
0
null
null
null
null
UTF-8
C++
false
false
2,781
h
margBlob.h
/* * margBlob.h * m1.0_trail * * Created by André Mintz on 25/06/11. * */ #include "ofxCvConstants.h" #include "ofxCvBlob.h" #ifndef MARG_BLOB #define MARG_BLOB class margBlob : public ofxCvBlob { public: // int id; // // ofPoint deltaLoc; // ofPoint deltaLocTotal; // ofPoint predictedPos...
af80fd1fe83d5ee6b3b58c0b7550dd9eaed8169e
9c5a9cdad7a0975824d7a291d53c3801fa7c3f80
/PAT/code/third/3.4 example/3.4 example/3.4 example.cpp
8621d1268872590fcde39d31cb5df631f989ab48
[]
no_license
luckyxuanyeah/Algorithm_Practice
893c6aaae108ab652a0355352366a393553940fe
4f6206a8bfd94d64961f2a8fb07b8afbeb82c1b1
refs/heads/master
2020-04-06T13:48:11.653204
2019-07-17T15:35:47
2019-07-17T15:35:47
157,508,492
0
0
null
2018-11-14T08:19:44
2018-11-14T07:27:47
null
GB18030
C++
false
false
900
cpp
3.4 example.cpp
// 3.4 example.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include "stdio.h" int month[13][2] = { { 0, 0 }, { 31, 31 }, { 29, 28 }, { 31, 31 }, { 30, 30 }, { 31, 31 }, { 30, 30 }, { 31, 31 }, { 31, 31 }, { 30, 30 }, { 31, 31 }, { 30, 30 }, { 31, 31 } }; bool leap(int a) { return ((a % 4 == 0 && a % 100 != 0) || ...
d7dbdd58cc618fe805074f64a1edc323a2fafc18
a0c4ed3070ddff4503acf0593e4722140ea68026
/source/RPC/LOCATOR/SERVER/FILEIO.CXX
057ef38a3d8e3c34350eb5af964d0b3c11c3191e
[]
no_license
cjacker/windows.xp.whistler
a88e464c820fbfafa64fbc66c7f359bbc43038d7
9f43e5fef59b44e47ba1da8c2b4197f8be4d4bc8
refs/heads/master
2022-12-10T06:47:33.086704
2020-09-19T15:06:48
2020-09-19T15:06:48
299,932,617
0
1
null
2020-09-30T13:43:42
2020-09-30T13:43:41
null
UTF-8
C++
false
false
239
cxx
FILEIO.CXX
/*++ Copyright (c) 2000 Microsoft Corporation Module Name: fileio.cxx Abstract: This file contains the code to implement persistant data store. Author: Steven Zeck (stevez) 05/01/92 --*/ #include "core.hxx" defModule
98bed406cc14fba95628cfd17c4e026573e6bf14
265c60c8b6d3f8fc6150616d6ca2a2e9e86c77e4
/LISCommunication/LisTCPConnect.h
cf79706a48677cb93dd061165a18df1e060e0edf
[]
no_license
FlowWaterMe/MyLis
67008616c3a62e68f648a8239fef69a07d7afbc3
a2b81d9315b9cb771cb370dc0aba17b934059835
refs/heads/master
2020-05-31T13:18:42.512790
2019-06-05T00:23:06
2019-06-05T00:23:06
190,299,356
0
0
null
null
null
null
UTF-8
C++
false
false
499
h
LisTCPConnect.h
#pragma once #include "LisConnect.h" #include <QTcpSocket> #include <QTcpServer> class CLisTCPConnect : public CLisConnect { Q_OBJECT public: CLisTCPConnect(); ~CLisTCPConnect(); public: bool LisConnect(const vector<QString>& vecParam); bool LisDisconnect(); bool IsConnect(); bool WriteD...
54e28a6ba48ce807c2d0b64765ec5563c94f5394
d7e29e560c61b0efb5e63366dea8099f30debf21
/1374Generate_an_ OddString.cpp
4b5401a3b8a6389da5ca9729ac7fd7229b22a092
[]
no_license
whosyourdadd/leetcodeNote
0cf427454b9914043acb826d460ebaa0f0fed233
b5ac16afe12381777f49a26857832140462712d2
refs/heads/master
2023-06-24T08:23:52.924558
2023-06-15T14:00:06
2023-06-15T14:00:06
276,619,863
0
0
null
null
null
null
UTF-8
C++
false
false
269
cpp
1374Generate_an_ OddString.cpp
class Solution { public: /* Given an integer n, return a string with n characters such that each character in such string occurs an odd number of times. */ string generateTheString(int n) { return n % 2 ? string(n, 'a') : string(n - 1, 'a') + 'b'; } };
58c54d3da2ab1f2682663f4ca2dda2ca853af75d
92d10208fc7d013190635c910902c80216aa962c
/Inversus/Inversus/CBullet.h
5a9851d3f8a744ddfff8f913149a4b87d344d0b4
[]
no_license
NoTwoo/Inversus
7472e11b92e5bfa4f271495f79a4527f9d9bf8f2
5e433e119c28a033f2257eb99181979d053fbd61
refs/heads/master
2021-01-20T06:11:33.900010
2017-05-09T14:20:12
2017-05-09T14:20:12
89,847,843
0
0
null
null
null
null
UTF-8
C++
false
false
265
h
CBullet.h
#pragma once #include "CObject.h" class CBullet : public CObject { public: virtual void ChkCollision(); public: virtual void Draw(); public: void DeleteMe(); const bool& GetDelete(); public: CBullet(); protected: POINT m_CenterPos; bool m_bDeleteMe; };
9888e468979ed3e649a5028a5f55ff5d22e1238f
724fbaf88af41d484f43a1aab7ba5dd0a8b808d1
/SLDR/FCCRCtrlDialog.h
a392e4f728e86b5d0ece58efd97dd0e03fce07fe
[]
no_license
15831944/CurveReconstruction
9b8efccd8c80bf5241d62e50321f4a5876c284f7
6ff5a5e0da619fa20cf0f4d3034ff5e25597abfe
refs/heads/master
2023-03-17T00:58:46.511943
2017-03-17T08:09:47
2017-03-17T08:09:47
null
0
0
null
null
null
null
GB18030
C++
false
false
3,351
h
FCCRCtrlDialog.h
#pragma once #include "resource.h" #include "CP_TopologyExt.h" #include "afxcmn.h" #include "afxbutton.h" #include "FCCR.h" #include "afxwin.h" // FCCRCtrlDialog 对话框 UINT ThreadFunc(LPVOID pParam);//FC method UINT ThreadImrovedFC(LPVOID pParam);//IFC method UINT ThreadImrovedFCPoyline(LPVOID pParam);//IFC m...
f9372cc3e87974c2cca37f333956f19084ceb01b
a4133031ab17970236a0fe8dc90a0adf4b478636
/Chapter 3/InformedSearchStrategies/A_star.cpp
47c17bb607f4d0787f88fd838691e8b7b9e07efd
[]
no_license
azon04/AIMA-CPP
189a7c885250fe6ca3b7ecea0746d6d3f44f5d94
f8d5d22b8287da0b295fa4944b01848327bb5a35
refs/heads/master
2020-12-30T11:14:48.444764
2015-03-12T06:47:17
2015-03-12T06:47:17
29,515,792
0
0
null
null
null
null
UTF-8
C++
false
false
2,542
cpp
A_star.cpp
#include "A_star.h" #include <queue> #include <iostream> int NodeWithAStarCost::inc = 0; NodeWithAStarCost::NodeWithAStarCost(Node* _node, int _f_n, int _g_n) : NodeWithCost(_node, _f_n + _g_n), id(inc++) { f_n = _f_n; } NodeWithAStarCost::~NodeWithAStarCost() { } int NodeWithAStarCost::getPathCost() { return f_...
fa16e5aa36bb3add527b13d79b058acde408c740
0f08276e557de8437759659970efc829a9cbc669
/problems/p1740.h
6ae8feea8a291070d5a7e794fab681ab4f0bcabb
[]
no_license
petru-d/leetcode-solutions-reboot
4fb35a58435f18934b9fe7931e01dabcc9d05186
680dc63d24df4c0cc58fcad429135e90f7dfe8bd
refs/heads/master
2023-06-14T21:58:53.553870
2021-07-11T20:41:57
2021-07-11T20:41:57
250,795,996
0
0
null
null
null
null
UTF-8
C++
false
false
66
h
p1740.h
#pragma once namespace p1740 { class Solution { }; }
4d675f26d84e6caffab394fca9ac43514ac03842
0fcd0c27536d0613d2903e7e43c47b36b2ffaefc
/bird.cpp
21b6bb5430da218f6a4ff28e7a2b2af29cd6ab5c
[]
no_license
Grzegorzwww/run_game
df9e4d1a6152b9460ba18286cdccc8e4e0fe4758
b039633fcb1f522a77bf20693ca3625be824951a
refs/heads/master
2020-03-31T21:37:51.824256
2018-11-09T12:40:18
2018-11-09T12:40:18
152,587,735
0
0
null
null
null
null
UTF-8
C++
false
false
713
cpp
bird.cpp
#include "bird.h" Bird::Bird(b2World& World, int x, int y, texture_param_t texture_param) : AnimatedMovingObj(World, x, y, texture_param) { setFixtureCollisionFilter(BACKGROUND_MOVING_ITEM, GROUND); setBodyDef(b2_dynamicBody); std::srand( time( NULL )); rand_drop_pos = (std::rand() % 680); st...
401f149e2cb77733cbeaef4f5172f91036b42bb5
3c9591a9159a14f3252b352205659dcc54ab9f9d
/src/objects/light.cpp
872bd023a910e3a2673a2834eb283b796c773746
[ "MIT" ]
permissive
Gold-angel/ObjectViewer
4346c9ad7d1593b1eaa93df3ac166a4e064dfe94
718922e00a6f3e83510e6091f7630ac3c0e5066b
refs/heads/master
2023-03-17T06:44:26.562928
2014-02-01T19:26:06
2014-02-01T19:26:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,579
cpp
light.cpp
#include "light.h" #include "../helpers/MathUtils.h" using namespace Math; const float INNER_ANGLE = 30.0f; // 30deg = 0.6981rad = cos(2PI/9) = 0.76604; const float OUTER_ANGLE = 40.0f; // 40deg = 0.5235rad = cos(1PI/6) = 0.86602; Light::Light(const string& name) : m_name(name), m_type(LightType::PointLight)...
85f67af62433c348789350daa0743f4f0a73dfcb
fc77c3e41e67fada01d93568b70c1dd74318825e
/db-10_verkstan/db-verkstan/core/operators/crackleoperator.cpp
d37c8d8b711a20dff3d8800d3ed1034cfba878c6
[]
no_license
olofn/db_public
6e06663be27737768901628d8298ada3143fdeda
13c56c094884509139328004c9fa95332bf50ba4
refs/heads/master
2021-01-25T05:57:43.675455
2016-08-01T18:41:17
2016-08-01T18:41:17
40,801,780
4
0
null
null
null
null
UTF-8
C++
false
false
1,872
cpp
crackleoperator.cpp
#include "core/operators/crackleoperator.hpp" void CrackleOperator::process(int tick) { if (texture == 0) texture = new Texture(); D3DXCOLOR color1 = getColorProperty(0); D3DXCOLOR color2 = getColorProperty(1); int count = getByteProperty(2) + 2; float randomness = getByteProperty(3); sr...
f75522d33046bd9aee7c0c195b71293a41d72348
6774a11ecd96fa2b6b594b0e9cc588bd208e53e9
/tests/Exchange.cpp
afecff74bd800a292d80a054ee4263b8a6f97dc4
[]
no_license
acsl-mipt/photon-c
d6ae2cac7ff7a939798491982e1e8b5ce1541227
1442d259c8485406206dbba4097964a5a8af72d6
refs/heads/master
2021-01-21T04:40:04.871262
2016-08-01T12:43:51
2016-08-01T12:43:51
49,576,496
0
0
null
2016-03-22T09:39:53
2016-01-13T13:47:17
C
UTF-8
C++
false
false
7,510
cpp
Exchange.cpp
#include "photon/Exchange.h" #include "photon/GcExchange.hpp" #include "photon/System.h" #include "PhotonTest.h" #include <gtest/gtest.h> #include <random> #include <deque> #include <cassert> #include <iostream> static PhotonUavExchange _exchange; static photon::Exchange _gcExchange; static std::default_random_engi...
57ce09536bb93cee64ea0bcda1244807caf2d959
57c368bf7032d01f20bcfc109c8de225be3a48fb
/src/sp/python/Quantization.cc
88f4facaa3ca41434282ceb4b7c071ce25cc1447
[ "BSD-2-Clause" ]
permissive
nvdnkpr/bob-1
e217caaeb4a9c005bc8217dc37625cfa3cc95cba
7830573e634fe367346db0999fa67e194479b332
refs/heads/master
2021-01-18T08:55:29.532323
2014-05-27T11:27:26
2014-05-27T11:27:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,299
cc
Quantization.cc
/** * @file sp/python/Quantization.cc * @date Wed Feb 6 10:24:57 CET 2013 * @author Ivana Chingovska <ivana.chingovska@idiap.ch> * * @brief Binds the Quantization class to python * * Copyright (C) 2011-2013 Idiap Research Institute, Martigny, Switzerland */ #include <bob/sp/Quantization.h> #include <bob/pyth...
ee50cd11b105ce0bfe21d7ddb299939f1d4fd651
6d86c6748c210133954d4cc683ce8b1bdc2a565b
/level 1/plus_minus.cpp
1b707eba4332da78eb0692fe3eb032e20e8b75be
[]
no_license
PennyBlack2008/algorithm
de210da702c709dd220e5d083b793125dc2debb2
8730f01ee00a47718110f6888742da041390f780
refs/heads/master
2023-06-01T20:56:03.150159
2021-06-20T06:54:34
2021-06-20T06:54:34
378,570,909
0
0
null
null
null
null
UTF-8
C++
false
false
875
cpp
plus_minus.cpp
// https://programmers.co.kr/learn/courses/30/lessons/76501 #include <stdio.h> #include <stdbool.h> #include <stdlib.h> // absolutes_len은 배열 absolutes의 길이입니다. // signs_len은 배열 signs의 길이입니다. int solution(int absolutes[], size_t absolutes_len, bool signs[], size_t signs_len) { int answer = 0; for (int i = 0; i <...
efaabfdfe2f04ef3792a6b4ee78a15d1a21a7c39
1b051a0cee598619f27f53687c47c37960eea5b2
/IbisPlugins/Examples/SetPlanesWorldPosition/setplanesworldpositionplugininterface.h
23ca8dc8e6b8b2bc3144feda8ac03562c76b0d8b
[ "BSD-3-Clause", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
IbisNeuronav/Ibis
4645b73c870f82480b847cc0ee5d0d8987d30010
a2d0a8b2efd3cc4ab91bfd944d48704d85cddf42
refs/heads/master
2023-07-08T17:30:44.051418
2023-06-28T15:04:12
2023-06-28T15:04:12
60,527,488
38
27
NOASSERTION
2023-06-28T15:04:13
2016-06-06T12:52:03
C++
UTF-8
C++
false
false
903
h
setplanesworldpositionplugininterface.h
#ifndef __SetPlanesWorldPositionPluginInterface_h_ #define __SetPlanesWorldPositionPluginInterface_h_ #include "toolplugininterface.h" class SetPlanesWorldPositionWidget; class SetPlanesWorldPositionPluginInterface : public ToolPluginInterface { Q_OBJECT Q_INTERFACES( IbisPlugin ) Q_PLUGIN_METADATA( IID...
b71458be49212313fd7665cb69245ad3836a9028
e2522e6fa1b894fc888f39bb851b510689950682
/Source/Godzilla/VRPNComponent.h
8a264896b057050e3acd6e9033a27655fb8803e2
[]
no_license
JohnRThomas/2kuhl4skuhl
1bab214c847a26d48af8e17222d004a9ee3b3c9e
2d4bdaeb5e273b1329431dd568e3befd00a7ed43
refs/heads/master
2020-04-05T00:29:54.342371
2015-12-05T20:28:53
2015-12-05T20:28:53
42,082,106
2
2
null
2015-11-04T00:06:58
2015-09-08T01:12:55
C++
UTF-8
C++
false
false
1,115
h
VRPNComponent.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "vrpn/vrpn.h" #include "Components/SceneComponent.h" #include "VRPNComponent.generated.h" UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent)) class GODZILLA_API UVRPNComponent : public USceneComponent { ...
0419eabcce8b57071c76ca340d06c3a17c71c748
577538f4e21dc5d16ba9cd2b3a1bacf21b234864
/Numerical/Exam1_2/gradientSearch.h
ab7bb88495c9dcc030cad44a241142b14e7bbbc3
[]
no_license
proctorsdp/mechanicalEngineering
91b6d14b2887833553fd879e3b55fd744b3e8212
69289b0b70aedfe05c7b8798d91b51c1d426bdfd
refs/heads/master
2021-08-23T19:06:36.475038
2017-12-06T04:36:08
2017-12-06T04:36:08
108,763,774
0
0
null
null
null
null
UTF-8
C++
false
false
6,678
h
gradientSearch.h
// // Created by Steven Proctor on 3/16/17. // #ifndef EXAM1_2_GRADIENTSEARCH_H #define EXAM1_2_GRADIENTSEARCH_H #include <iostream> #include <cmath> #include <sstream> using namespace std; class GradientSearch { public: string gradientSearch(); //returns the results of a gradient search to find the maxima ...
1eeb0ff761e79952c14102cc345176b3cdfb1cb6
09b44b4b5fbc879b3109e60835d522a539243017
/6_Boost/TimerCallback/Timer.h
3f782f3636639a99dc2132ae0b8426004cdf3541
[]
no_license
AlexJCarstensen/ITAPK
f45c161f5d8991f853477e6d07c4dbeff8ad0ff4
4eafdd8fc5329f4706b6736b79bf51efcb9184f7
refs/heads/master
2020-12-31T06:22:15.602221
2016-10-22T13:58:36
2016-10-22T13:58:36
68,791,397
0
0
null
null
null
null
UTF-8
C++
false
false
1,318
h
Timer.h
// // Created by carty on 9/14/16. // #ifndef TIMERCALLBACK_TIMER_H #define TIMERCALLBACK_TIMER_H #include <iostream> #include <string> #include <map> #include <thread> #include <functional> #include <chrono> #include <boost/any.hpp> #include "Events.h" using namespace std; class Timer { public: explicit Timer...
94a90ab456ffd716a987193503e8a646647b78f1
6aee40c6da46eb591e80d22b961fd12c50274578
/src/UI/SelectModeStyle.h
6b4193e3033b901a133dcc2f4ee69cfc93faf7a4
[]
no_license
marlinilram/cranioviewer
74387246751f2a9efa641576ccc4b31349a6043a
5b90c3ff65e3cba4cd07808cfbdb0cdcc4cb8637
refs/heads/master
2021-09-23T07:34:50.651891
2021-09-16T15:29:31
2021-09-16T15:29:31
32,048,952
7
3
null
null
null
null
UTF-8
C++
false
false
838
h
SelectModeStyle.h
#ifndef SelectModeStyle_H #define SelectModeStyle_H #include <vtkInteractorStyleDrawPolygon.h> class SelectModeStyle : public vtkInteractorStyleDrawPolygon { public: static SelectModeStyle* New(); vtkTypeMacro(SelectModeStyle, vtkInteractorStyleDrawPolygon); virtual void OnMouseMove(); virtual void OnLeftBut...
8b1c4bd73ab912bbe64f027218c80afe5638f7f3
19e57cb5961accade05bce0ef76ff7ed77c65f4c
/Plugins/Kirurobo/MocapPlugin/Source/MocapPlugin/Private/MocapPose.cpp
f511502eaddb2134a2fba6bbb8951549f9abbec2
[ "MIT" ]
permissive
UCAS-IIGROUP/KiruroboMocapPlugin
80ad7b1f3e1887808b1fa758dd6fa98837d3aa32
c23ece40b3630bcc1acfa41e01ae136e3872d5df
refs/heads/master
2021-06-08T21:58:17.879036
2016-12-20T09:31:44
2016-12-20T09:31:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,670
cpp
MocapPose.cpp
// Copyright (c) 2015 Kirurobo #include "MocapPluginPrivatePCH.h" #include "MocapPose.h" UMocapPose::UMocapPose( const FObjectInitializer& ObjectInitializer ) : Super( ObjectInitializer ) { Initialize(); } UMocapPose::~UMocapPose() { } // Sets default values void UMocapPose::Initialize() { UE...
1478fa3286913dfb620cf184bfa7459a18eba424
8bcd72658fce34fab2618638d94144b5e1e64b01
/Lab4/4.1/4.1/Compound.cpp
099cd0968082e4982fe65cfb8bf5cce99e66001c
[]
no_license
Jane1408/OOP
f9064836d1bf04ef6e203bc0e598a2434217d08e
cc8977921227c39e5023f7b70650db58f0931627
refs/heads/master
2021-01-21T04:32:41.567382
2016-06-17T09:14:35
2016-06-17T09:14:35
51,423,632
1
0
null
null
null
null
UTF-8
C++
false
false
645
cpp
Compound.cpp
#include "stdafx.h" #include "Compound.h" CCompound::CCompound() { } CCompound::~CCompound() { } void CCompound::AddBody(CAbstractBody const & otherbody) { SetWeight(otherbody.GetWeight()); SetVolume(otherbody.GetVolume()); SetDensity(); } std::string CCompound::GetInfo() { std::string info = "Compound bodies...
980aec7e551e22b2bff1eb2c44e2adef90ad3e09
9b40f187078266a96b7b72fd3a971d19dba05d82
/src/cpp/main.cpp
992397883c2603d1af258b3d6a88a6ed9ee8bf65
[]
no_license
gkromi/test01
29af833b6fa9ce8c480309d69c103b789095a809
3014fa864395141d73dd04ac67cfbe592351054b
refs/heads/master
2022-12-31T01:40:04.394099
2020-10-17T20:27:29
2020-10-17T20:27:29
256,733,447
0
0
null
null
null
null
UTF-8
C++
false
false
275
cpp
main.cpp
#include <iostream> struct StructClass{ std::string localstr; StructClass(std::string str){ localstr=str; } void print(){ std::cout<<localstr; } }; int main(int argc, char **argv){ StructClass *sc = new StructClass(" Hello World ! "); sc->print(); return 0; }
2e466e07c39d9b898698322ba4895b8d56ec8415
8bb38162f7b0038d8f57274ae4e728a4cd187e23
/src/core/Luciol/fonts/BigDigitsFont.h
ec6eb5adc0c9642a54b577583f8485c8bbe8482b
[]
no_license
frederic-bonjour/tebble
3a6ed4a1b6cb4ebe9b8124530b44eb6383544a13
f2f420b8c7d268cb4d6d30b6e1a78c3743e8e1bb
refs/heads/master
2021-05-05T01:17:33.426104
2018-04-22T12:21:20
2018-04-22T12:21:20
119,578,021
0
0
null
null
null
null
UTF-8
C++
false
false
479
h
BigDigitsFont.h
#ifndef _BigDigitsFont_H_ #define _BigDigitsFont_H_ #include <Arduino.h> #include "Font.h" #include "../Singleton.h" class BigDigitsFont : public Font, public Singleton<BigDigitsFont> { friend class Singleton<BigDigitsFont>; private: static uint8_t chars[10][7]; BigDigitsFont(); public: uint8_t...
dbf716a784745264326a5d6a86b64bedf994caec
60db84d8cb6a58bdb3fb8df8db954d9d66024137
/android-cpp-sdk/platforms/android-9/java/util/ListIterator.hpp
507cd4b86a7ecf0ae1269a18141f3e869487d2c7
[ "BSL-1.0" ]
permissive
tpurtell/android-cpp-sdk
ba853335b3a5bd7e2b5c56dcb5a5be848da6550c
8313bb88332c5476645d5850fe5fdee8998c2415
refs/heads/master
2021-01-10T20:46:37.322718
2012-07-17T22:06:16
2012-07-17T22:06:16
37,555,992
5
4
null
null
null
null
UTF-8
C++
false
false
5,509
hpp
ListIterator.hpp
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: java.util.ListIterator ================================================================================*/ #ifndef J2CPP_INCLUDE_IMPLEMENT...
bf6625268e0905b369ed5cc1d51eb89b028eec4e
e803c16a505aa73cb3facbb15caab5f5b12063c2
/ddr3-efficiency/gcu_trg_check/Constants.hpp
71de9b0e11d3523bcc583ff9f4d7935b4c600651
[]
no_license
trRiccardo/juno-efficiency-tests
55bd1c4822523f5149060a19a78c8cda4d14b49b
9ecf4d3fd30a11cc88c77c1445241b11040bf0a3
refs/heads/main
2023-08-29T03:28:07.024835
2021-10-15T19:54:48
2021-10-15T19:54:48
417,584,181
0
0
null
null
null
null
UTF-8
C++
false
false
458
hpp
Constants.hpp
//constants to read raw file //trailer words are swapped #ifndef Constants_h #define Constants_h #include <cstdint> #include <vector> class Constants { public: class header { public: static const uint16_t m1 = 0x805a; static const uint16_t m2 = 0x0000; }; class trailer { public: static constexpr ui...
52b8d4f97dcaa77c2f3edd62e29713e3d866e7a5
cba3f33cd7c43f8cb6ca119334ad02074344b1c7
/TandyZbuffer/Triple.h
2f10e01c1028fb87e9d63cadcab48a0bd6331415
[]
no_license
Tandy123/Zbuffer
86154dcdb46f7e6ca96834c96b6c358882d0eb28
b4164c30af53ce1f92a5498c1e0bb1b52771538d
refs/heads/master
2021-01-20T14:39:45.609984
2017-05-08T15:13:45
2017-05-08T15:13:45
90,641,782
1
0
null
null
null
null
GB18030
C++
false
false
858
h
Triple.h
#ifndef TRIPLE_H_ #define TRIPLE_H_ #include "Math.h" //三点坐标运算 template <typename T> struct Triple { T x, y, z; Triple() {} Triple(T ax, T ay, T az) : x(ax), y(ay), z(az) {} //矢量加法 Triple<T>& operator+=(const Triple<T>& rhs) { x += rhs.x; y += rhs.y; z += rhs.z; return *this; } //矢量减法 Triple<T>...
7e578a33609a61059b75bd5e0447f4960b81d79f
9ee3fc7acc5ed8ae8316040c3a6758dfdbdee1dd
/src/VectorizedStressMajorization/PublicStructure.h
2f6c3faeb6840c047056036bf0b90c7450dfa04b
[ "MIT" ]
permissive
Ideas-Laboratory/vectorized_stress_majorization
f54248c58d4d5d0b0d09d8cb8f9b056f7dbdf769
00eff1a0f94fb1742f12756912ff7e072684b114
refs/heads/master
2022-04-22T22:12:36.725810
2020-04-17T15:28:34
2020-04-17T15:28:34
241,616,407
8
1
null
null
null
null
UTF-8
C++
false
false
548
h
PublicStructure.h
#ifndef PublicStructure_H #define PublicStructure_H #include "stdafx.h" #include "BasicHeader.h" #include "Graph.h" using namespace std; struct LocalLensParam{ LensType lens_type; int lens_index; float weight; int outer_constraint_id; vector<int> lens_nodes; //CIRCLE int focus_node; //SYMMET...
b4b8066453e1393957ea19e524fc0729e8b9a331
3474af20bb9dd6ed40ed0c602d6bc3315e2da23e
/lanterna.cpp
3a595b1cd5513237c133f01fb55a502ee1000a83
[]
no_license
raresmoldovan07/Infoarena
93aee59697f6769d1c65686a09f92301194e9f5a
84c80c68b0096f9a3ac392917d344e9c0314d332
refs/heads/master
2020-04-15T13:57:55.601602
2019-01-08T22:10:27
2019-01-08T22:10:27
164,739,269
1
1
null
null
null
null
UTF-8
C++
false
false
2,166
cpp
lanterna.cpp
#include <iostream> #include <queue> #include <fstream> #include <algorithm> #include <vector> #define INF 0x3f3f3f3f using namespace std; ifstream f("lanterna.in"); ofstream g("lanterna.out"); int n,m, K,t[52][52], w[52][52], tmin[52][1002], prieten[52], used[52][1002]; vector < int > graf[52]; queue <...
3c888b0083ee15f808310863e91709cbe678b22e
be8b9231c92e6c184f0692c92df9667be3770cb1
/Musical_Instruments_2017_2018/Musical_Glove/OLD CODE/gloves/Gloves_R/teensy/avr/libraries/TFT_ILI9163C/examples/vertical_Gauges/vertical_gauges.ino
691719e87a3e0314ff91ca95e4654f0f9335da6c
[ "MIT" ]
permissive
Pocketart/typhoonclawvex
def0f4a607c90b1bafb180466dfa12ddd8a480c1
eb4b523c13541b2b9136d32259bd0399b46a289e
refs/heads/master
2021-09-15T07:26:07.218099
2018-05-07T02:20:15
2018-05-07T02:20:15
105,268,399
4
3
MIT
2018-05-04T17:30:49
2017-09-29T12:12:32
C++
UTF-8
C++
false
false
4,250
ino
vertical_gauges.ino
//example adapted from somewhere but cannot remember! //If the author recognize it drop me a note! #include <SPI.h> #include <Adafruit_GFX.h> #include <TFT_ILI9163C.h> // Color definitions #define BLACK 0x0000 #define BLUE 0x001F #define RED 0xF800 #define GREEN 0x07E0 #define CYAN 0x07FF #define MAGENT...
7218bd02ef313372ce9db618e6e7b1ab34cf6a9e
cd2bea72d860008ce749699057f352e54bc5a12a
/ModelLoading/model.h
0864d6ffe50c46d71d8df2c1626bf0d418c27cd3
[]
no_license
rmccampbell/LearnOpenGL
fe57a30fa6b9584e53c585a1b20e68f5cf869a98
8da9309643ebdd6cf68f59994658d0af23875f39
refs/heads/master
2021-07-16T20:52:12.611470
2020-07-30T05:08:47
2020-07-30T05:08:47
195,761,360
0
0
null
null
null
null
UTF-8
C++
false
false
4,944
h
model.h
#pragma once #include <assimp/Importer.hpp> #include <assimp/scene.h> #include <assimp/postprocess.h> #include <stb_image.h> #include "mesh.h" #include "shader.h" #include <string> #include <vector> #include <unordered_map> #include <filesystem> namespace fs = std::filesystem; unsigned int loadTexture(const char *...
2f84ed9035dd6807bcb551bfa55ffd9bc583e943
9f93116a1a67b9e2e56c9684eb968175fcdb37a4
/FROGV1.cpp
0cc9ef1c0dbac2e4d04e839fcb3af4f37f63b239
[]
no_license
Anmol2307/SpojProblems
72d7fa2b1b56f0228dcdd4c803a40ac97abb592e
9784e8149df8ff19f441d77fd30f829e4f1d551d
refs/heads/master
2016-08-03T07:43:26.350944
2014-11-20T10:06:12
2014-11-20T10:06:12
17,081,832
1
1
null
null
null
null
UTF-8
C++
false
false
2,942
cpp
FROGV1.cpp
/** * In this code we have a very large array called arr, and very large set of operations * Operation #1: Increment the elements within range [i, j] with value val * Operation #2: Get max element within range [i, j] * Build tree: build_tree(1, 0, N-1) * Update tree: update_tree(1, 0, N-1, i, j, value) * Query tr...
49fc0f0c05182a2c49c639ac6c6481d6152be3c9
93338ff6bff815cd693010473b257cd0a20b1e4d
/cpp/cpp/array_algo_test.cpp
a5eee16ef8a3c745abb739e068f3428e7988dcb7
[ "MIT" ]
permissive
elloop/xcode_cpp
3b329abfa611240038c61d9664150244bed9b51a
c4763e3d9a8561d54987108af9e32d3a2d169d45
refs/heads/master
2016-08-11T08:19:44.208786
2016-04-04T14:06:56
2016-04-04T14:06:56
53,487,383
1
1
null
null
null
null
UTF-8
C++
false
false
97
cpp
array_algo_test.cpp
#include "inc.h" NS_BEGIN(elloop); NS_BEGIN(array_algo); NS_END(array_algo); NS_END(elloop);
ef3145ee6fd707d6dab8c33d6616b2fc16a37433
3eb73a20cfab4d635d94b73b8b2d8434e5c2eb46
/YesMaybeNo.ino
2bf5f21d2e67cdaae02f2234e3c5eeb50c7fe0e8
[]
no_license
stephanielha/homework
182872c0d45bb8c68b1748bc483082cd92753554
ce9c44a5ad643d5aab4ad10ebbf9381853c77234
refs/heads/master
2021-07-19T01:36:26.323796
2017-10-23T22:46:32
2017-10-23T22:46:32
106,340,991
0
1
null
null
null
null
UTF-8
C++
false
false
1,156
ino
YesMaybeNo.ino
int timeShowRandom = 1000; int timeShowDecision = 3000; int timeBlink = 50; int buttonPin = 3; int buttonPress = false; int randomNumber; int previousNo = 0; int timePassed = 0; void setup() { pinMode(buttonPin, INPUT); pinMode(12, OUTPUT); pinMode(11, OUTPUT); pinMode(10, OUTPUT); } void getRandom...
262fae2d6f3e547b3ec08fcd73334dfc9fc31092
ef448a74eb1aeee002fb58b31061d074f7cd0ec3
/InParenthesis.cpp
4dfdee5b13b1a444ed25d55bff69c8cb4fcca8a6
[]
no_license
RushilKhantwal/Algo-Codes
68c2c275a4b1de1d7307b73bab91ee606b681497
d2b93c02573426f5d6a7515920b3340817d1cdbc
refs/heads/master
2022-11-20T19:43:56.439640
2020-07-19T21:45:28
2020-07-19T21:45:28
264,461,881
3
0
null
null
null
null
UTF-8
C++
false
false
346
cpp
InParenthesis.cpp
#include<iostream> using namespace std; void inParenthesis(string str) { string s; int i=0; for( i=0;i<str.length();i++) { if(str[i] == '(') break; } i++; while(str[i] != ')') { s+=str[i]; i++; } cout<<s; } int main() { string str; cin>>str; inParenthe...
98eb6606eafa7d1007769cfa3bfba2479676cfb4
2bd1c7a6c2d7eb9a7a7cbb806ab948ba96f335fd
/codechef/vcbc.cpp
f178277d4e513a3e35ccfe6a6aa9e8b3c1b14114
[]
no_license
vaibhavpandey2012000/compatative-Programming
ab6bac52b93d549716ebfb304930cd4b51c2f285
ac88c752196faa08f8cf54a5265fad73734fe7e0
refs/heads/master
2022-11-23T08:29:58.636788
2020-07-17T09:25:16
2020-07-17T09:25:16
280,379,579
0
0
null
null
null
null
UTF-8
C++
false
false
715
cpp
vcbc.cpp
#include<bits/stdc++.h> using namespace std; struct point{ int x,y; }; struct Line{ double a,b,c; }; double det(double a,double b,double c,double d) { return a*d-b*c; } bool intersection(Line l1,Line l2,point &ans) { double zn=det(l1.a,l1.b,l2.a,l2.b); if(abs(zn)<0.00001) return false; ans.x=-det(l1.c,l1.b,l2.c,...
c24ee20bb8a43140bb29cb40cb966e7fd2b8bc8b
a9f5ea9fbca1ecce35c4646a9fb3243cc81c026c
/src/tests/vipm_tests.h
1a0443552d97e38a411142985d825aa537c7f7b4
[]
no_license
player999/VITPerftests
81beadd11905e877aee6fadd2682ed610de4aa3b
4f0ca85a1613ad7be56f8148539b71fdcac43015
refs/heads/master
2020-03-30T16:12:30.040279
2016-01-11T12:50:59
2016-01-11T12:50:59
40,305,484
0
0
null
null
null
null
UTF-8
C++
false
false
10,818
h
vipm_tests.h
// // Created by vadym on 14.08.15. // #ifndef PERFTESTS_VIPM_TESTS_H # define PERFTESTS_VIPM_TESTS_H # include <stdlib.h> # include "perf_vipm.h" # include "../../include/perftests.h" # define SET_VIPM_NAME(x) std::string Name() const { \ return std::string(x) + " " + mod_names[vtype]; } #define VIPM_TEST_CLAS...
5ec41cd6cca53ddb7a2785924e5bf3df0645acc8
1dfa721de3e9dc9174bf9afc87440bca4d6df221
/arreglo1-.cpp
3f70d291e3a63b3bd91f440d75b4cab2da1b72e3
[]
no_license
richardramirezp/taller-3
35bafd31ecc3cd57f7a9458b5bcdc93c9bc7bfd7
573b2c0cf682bcaac7fec0ab0228d4843056e7c1
refs/heads/master
2021-01-22T23:11:04.769170
2017-03-21T03:21:26
2017-03-21T03:21:26
85,616,108
0
0
null
null
null
null
UTF-8
C++
false
false
484
cpp
arreglo1-.cpp
#include <stdio.h> int main(){ int suma=0; int vector[100]; int longitud; printf("ingrese la longitud\n"); scanf("%d", &longitud); for(int i=0; i<longitud; i++){ printf("ingrese valor en la posicion %d\n", i+1); scanf ("%d", &vector[i]); ...
5d6fae06e4b21220f82fe57e3631065dad9634a5
b9213415518804da2123487921913c474e552979
/assignment_3.cpp
85ded3902c0e7cf9705ad292a35cdd2756acb27a
[]
no_license
amygardiner/cpp
374723d8d67fd2ba91733a83ac16ab8db1dba6ba
ee05e87708e78d26ee1001a511c751f035152052
refs/heads/main
2023-05-04T02:47:01.698230
2021-05-17T09:07:43
2021-05-17T09:07:43
344,766,189
0
0
null
null
null
null
UTF-8
C++
false
false
2,561
cpp
assignment_3.cpp
// PHYS 30762 Programming in C++ // Assignment 4 // Classifying Galaxies // // Hubble types: E[0-7], S0, S[a-c], SB[a-c], Irr // Redshift z in range [0,10] // Total mass M_tot in range [1e7,1e12] M_sun // Stellar mass fraction f_* in range [0,0.05] #include<iostream> #include<string> #include<vector> #include<cmath> c...
541fb97c01f9a74fe9328c3fd920a5b8baa8227f
71734273f0efd015e771aeb8026e2cdb045870cc
/cef/libcef_dll/cpptoc/sslinfo_cpptoc.cc
1c8b51645c372c564cfe7ec903bbd04dd2a39c59
[ "Apache-2.0" ]
permissive
killvxk/miniblink49
6efc4ff4a65eaface992d6bf02e537caa9131ed2
ff3d0e133d18de1748c688b0c0e173965db17033
refs/heads/master
2020-03-18T01:43:40.001114
2019-04-27T12:11:45
2019-04-27T12:11:45
134,156,673
1
0
MIT
2019-04-27T12:11:46
2018-05-20T14:17:42
C++
UTF-8
C++
false
false
8,402
cc
sslinfo_cpptoc.cc
// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // // --------------------------------------------------------------------------- // // This file was generated by the CEF translato...
7d8be837ec778d262c1d3adc7e1fa3b37677c7da
d927bf64b46d509436f441acbd999217248b59fe
/src/Graphics/TilesetCanvas.cpp
cce18147019faed46f1de45f871cc6026d2964a8
[ "Apache-2.0" ]
permissive
UltimaBGD/Ngine
890ad137beb474793429f0dba97cf9fc839bb1d2
f672c52ca391b32fd0f808166c8728cf4597a077
refs/heads/master
2020-08-05T06:44:44.412514
2019-09-20T09:13:06
2019-09-20T09:13:06
212,435,567
0
0
Apache-2.0
2019-10-02T20:31:12
2019-10-02T20:31:12
null
UTF-8
C++
false
false
6,987
cpp
TilesetCanvas.cpp
/********************************************************************************************** * * Ngine - A (mainly) 2D game engine. * * Copyright (C) 2019 NerdThings * * LICENSE: Apache License 2.0 * View: https://github.com/NerdThings/Ngine/blob/master/LICENSE * *********************************************...
ea1cc1324be8da1bac171edc5dca812c03fde62c
c179224f29f2a718d5012a34dc96d90d7d7084f1
/Raytracing_in_on_week/src/010_Ray_tracer/metal.h
ef6cd734eae04820ba00709f1002ba18254b46cc
[ "MIT" ]
permissive
NaPiZip/Programming-basics-cpp
796fd2b0c0fd526949093f2696be119c0e469294
d84bf4baa25fbcf28b12fb06be7a6270c143effc
refs/heads/master
2021-07-08T23:43:04.639204
2020-06-26T12:16:56
2020-06-26T12:16:56
137,138,652
0
0
null
null
null
null
UTF-8
C++
false
false
404
h
metal.h
#ifndef METALH #define METALH #include "material.h" template<typename T = double> class metal: public material { public: metal(const vec3<T>& a, T f); virtual bool scatter(const ray<T>& r_in, const hit_record<T>& rec, vec3<T>& attenuation, ray<T>& scattered) const override; privat...
6238d79980184395c7037347d3f29c2eab3ad1bc
8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a
/3rdParty/boost/1.78.0/boost/wave/cpplexer/re2clex/scanner.hpp
81e5428c907578fbd316041f342a2ce2e2f0b1c1
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause", "ICU", "Zlib", "GPL-1.0-or-later", "OpenSSL", "ISC", "LicenseRef-scancode-gutenberg-2020", "MIT", "GPL-2.0-only", "CC0-1.0", "LicenseRef-scancode-autoconf-simple-exception", "LicenseRef-scancode-pcre", "Bison-exception-2.2", "LicenseRef-scancode...
permissive
arangodb/arangodb
0980625e76c56a2449d90dcb8d8f2c485e28a83b
43c40535cee37fc7349a21793dc33b1833735af5
refs/heads/devel
2023-08-31T09:34:47.451950
2023-08-31T07:25:02
2023-08-31T07:25:02
2,649,214
13,385
982
Apache-2.0
2023-09-14T17:02:16
2011-10-26T06:42:00
C++
UTF-8
C++
false
false
3,690
hpp
scanner.hpp
/*============================================================================= Boost.Wave: A Standard compliant C++ preprocessor library http://www.boost.org/ Copyright (c) 2001 Daniel C. Nuffer. Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost Software License, Version 1.0. (S...
4fcf1f90bac9b48fa49ffc1daeb3aff0d32cdbe1
f10ed4fd398bde4c0468f97fb93d61ef6175acdd
/AbstractFactoryAndBuilder/INpcFactory.h
e3b0e1b1726bc5a311f1cd605fcbff8ac15e1d7f
[]
no_license
AppleMangoSpd/DesignPatternExamples
9475194d8cf4c9954993c3b2faac9155bdf74cb7
f6d28150931c1d62ab9b5d4bfbb0a02312d4cbef
refs/heads/main
2023-03-15T04:07:49.785776
2021-03-24T17:34:37
2021-03-24T17:34:37
351,166,956
0
0
null
null
null
null
UTF-8
C++
false
false
254
h
INpcFactory.h
#pragma once class Enemy; class Friendly; class EnhancedEnemy; class INpcFactory { public: virtual ~INpcFactory() {}; virtual Enemy* CreateEnemy() = 0; virtual Friendly* CreateFriendly() = 0; virtual EnhancedEnemy* CreateEnhancedEnemy() = 0; };
1163828bc1dbcee27e468d1cd69cb15d0a0b0ba5
68f671b314c676f9da33ccc00cd06bde42ce93c9
/AdvanceLevel _C++/1043 Is It a Binary Search Tree (25).cpp
5d2141d7bbf54a42d372f483ea9f73e7d3a9e7c8
[]
no_license
EluvK/PTA
445efb354d22192b1ee6f309ebf974dfa72a9fda
bbbf69e3311ac1852f6c7cf8c8a519ff25577d61
refs/heads/master
2020-06-16T08:16:59.355587
2020-01-02T01:20:43
2020-01-02T01:20:43
195,521,442
0
0
null
null
null
null
UTF-8
C++
false
false
1,731
cpp
1043 Is It a Binary Search Tree (25).cpp
#include <stdio.h> #include <iostream> #include <vector> #include <map> #include <math.h> #include <string> #include <queue> #include <algorithm> using namespace std; vector<int> inpt; vector<int> pre; vector<int> post; struct node{ int data; node* left; node* right; }; void mirror(node *root){ if(root==NULL) ...
e4767cbbecd1200c07f4ccdb116f32a835ec9f85
0a0383679680575dd2ab3dcaa966cfec81d74700
/App.cpp
a2ebd3865db83f61fbc08c7ff73234d0643e5d09
[]
no_license
keifergu/mgame
613775513f0ef22a39fc0e09a45f8b7f0c669d3a
dd8c0210b7a135f007dbf65ad37a4a6893a219b7
refs/heads/master
2020-07-31T01:03:37.390667
2016-12-14T13:39:11
2016-12-14T13:39:11
73,613,294
2
0
null
null
null
null
GB18030
C++
false
false
4,703
cpp
App.cpp
#include "stdafx.h" #include "App.h" App::App() { userAdmin = new UserAdmin(); gameAdmin = new GameAdmin(); run(); } App::~App() { } void App::run() { viewStartMenu(); } void App::viewStartMenu() { system("cls"); char choose; cout << "-----欢迎来到记忆游戏-----" << endl; cout << "1.登录账号进行游戏" << endl; cout << "2....
a7c705a0198287cbe5ffc2fc1df681d9b525e7d2
06fee45a8cd9f5391bb89e0dcbd81a374ea3593b
/CommunityServer/Source/CPP/Game/Maps/Map/Tutorial.cpp
8c98343816e1d294a69f7a51a3c45b228ae534d2
[]
no_license
ivanlamega/dragon-ball-online-tw-server
3afde0aae0c8a15370559670e58ec509fa680147
31e432f208d725cb4c71d91d0292b4056819d075
refs/heads/master
2022-03-03T14:57:27.590250
2022-02-16T17:49:51
2022-02-16T17:49:51
208,133,340
33
37
null
2019-10-15T10:33:29
2019-09-12T19:44:55
Perl 6
UTF-8
C++
false
false
2,226
cpp
Tutorial.cpp
#include <Game\Maps\Map\Tutorial.h> #include <Game\Object\Mob.h> #include <Game\Object\Npc.h> #include <Game\Object\Player.h> #include <CommunitySession.h> #include <Logger.h> Tutorial::Tutorial(uint32 id) : Map(id) { } Tutorial::~Tutorial() { } void Tutorial::Update(const uint32& time) { } void Tutorial::ChangeSt...
ad063abd11fd06d90ec586e537bd1d8e02c0e289
0ca640f5f1aea153ad4aa5e7daddbd41b762d8d5
/Mod1/ex02/main.cpp
2955c177c1adc90e3ce0b00304861156dd02365f
[]
no_license
hherin/Cpp
a2aeaeb9130752f4fc4697cd5b524b75e9ac6a8e
b54c8639e56d8aaf8fa83d5c0fd71bd6aba666ef
refs/heads/master
2023-02-07T19:48:41.405197
2021-01-03T14:52:39
2021-01-03T14:52:39
317,210,578
0
0
null
null
null
null
UTF-8
C++
false
false
1,518
cpp
main.cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: ...
f112610c5307cb88b91806fa7b1e2c725445413f
46e08bef56326515d990a62feb11547a8d4d08c3
/include/Arista.h
03a40adebc0324256160b57f0ab18917e250a827
[]
no_license
DanielLeonP/ProyectoElectrico
0f571ec7cccd8a096fc36333e8dc517c0c6c6efe
8b38efcb032bb327f2f77c2d4e77e6d19bfcf44a
refs/heads/master
2023-05-01T18:44:12.829991
2021-05-22T03:02:28
2021-05-22T03:02:28
null
0
0
null
null
null
null
ISO-8859-3
C++
false
false
843
h
Arista.h
#ifndef ARISTA_H #define ARISTA_H #include "Nodo.h" class Arista { private: /**Atributos*/ Nodo *inicial, *sig; double costoMonetario;// double cableado;// double calibre; double cantSuministrada; /**Constructor*/ public: Arista(); Arista(double cableado2, double calibre2, double ca...
553c54f2e1f522ce7fa5b1fa45694de9bd6e84f8
74ea441c8d036614aed7896320b4a26975af40dd
/CUDAstudy/02ThreadBlock.cpp
8d1ac4cff0c8ca31cab0859af31f077b864575f6
[]
no_license
lumeng16/NVIDIAproject
c4368c9493072c0f1b203c54f7a6bcb6d03880c4
b10366a45ad4a9b181b4ad57fa5a0341748f0144
refs/heads/master
2021-10-23T13:02:57.636434
2019-03-17T14:37:38
2019-03-17T14:37:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
377
cpp
02ThreadBlock.cpp
#include <stdio.h> #define NUM_BLOCKS 16 #define BLOCK_WIDTH 1 __global__ void hello(){ printf("Hello,world! I'm a thread in block %d.\n", blockIdx.x); } int main(int argc, char **argv){ //launch kernel hello<<<NUM_BLOCKS,BLOCK_WIDTH>>>(); //force the printf()s in hello to flush cudaDeviceSynchr...
dea571fd9de8d88fa9384932ab924adcf64181e1
4dbc04f288adbf61691178adcb7747b5f4eaf5e9
/hellorouter/main.cpp
3ad6cdbb2a9953e2ba840a97e3431df9f52d2fd1
[ "MIT" ]
permissive
flugs/examples
1e8b944c677e617833092a47e829b5aa82b5f631
5eb86668650253cad43c2494993046183a18f960
refs/heads/master
2021-01-22T10:17:54.462709
2017-02-16T23:13:29
2017-02-16T23:13:29
81,998,485
0
0
null
null
null
null
UTF-8
C++
false
false
1,127
cpp
main.cpp
#include <QCoreApplication> #include <QDateTime> #include <Flugs/HttpServer/HttpServer> #include <Flugs/Router/Router> using namespace Flugs; int main(int argc, char** argv) { QCoreApplication app(argc, argv); HttpServer server; Router router(&server); router.get("/", [](Request req, Response* res) ...
386c12861397889771f6b181368bc6befdc89d22
d443d21170d299b382ad51b47103f73c91784da2
/dir/from_fs.cpp
6bd7b0fa035fb31112086f8262835c9a5fb2f737
[]
no_license
korslund/spread
2513c8c664d28887241fde70864acce779b2728a
377cc5175dc5f5b46eea3a06b77f181c4163e072
refs/heads/master
2021-01-10T20:22:52.035754
2013-11-30T12:08:29
2013-11-30T12:08:29
4,837,827
1
2
null
null
null
null
UTF-8
C++
false
false
1,747
cpp
from_fs.cpp
#include "from_fs.hpp" #include <boost/filesystem.hpp> #include <assert.h> using namespace Spread; namespace bf = boost::filesystem; static std::string addSlash(std::string input) { if(input.size()) { char c = input[input.size()-1]; if(c != '\\' && c != '/') input += "/"; } return inp...
99d324dbb1962bd1e8ff32e044ef22009d344056
daeaee9c0a7f85a04ee7ac93bccd8cb254dd0e45
/subho_dll_library/subho_dll/bin_tree.h
36c79c8e5751c87b837c3d092f82230c26dac204
[]
no_license
SubhoBasak/Learn_cpp
355ed1a59d260431c39aac93856acf86034cd050
686c10f3bb8f04dea3dc6b016f8b653e34d77e94
refs/heads/master
2021-05-19T10:18:46.563064
2020-04-29T12:26:09
2020-04-29T12:26:09
251,649,042
0
0
null
null
null
null
UTF-8
C++
false
false
782
h
bin_tree.h
#ifndef BIN_TREE_H #define BIN_TREE_H #include <windows.h> #define EXPORT __declspec(dllexport) class Node_bin_tree{ public: int val; Node_bin_tree *left_child = NULL; Node_bin_tree *right_child = NULL; Node_bin_tree(int val){ this->val = val; } };...
2d6c0f5507beee1248260b89946cd6e6122b960a
527e1c1aa58f9491a25918bdd8df9943fe691265
/OOP/Assignments/Homework 3/Food.h
03496b593de55dd2f31d49f2d6a76df94893fa7f
[]
no_license
AbdullahADhaim/PSUT
15895554723a530729c2d1265fa4a2d633186f6c
0df587b2f8e512f4271a72403cef4cfc9c22a733
refs/heads/master
2022-07-09T13:09:18.191485
2017-05-18T21:24:35
2017-05-18T21:24:35
91,706,450
0
0
null
null
null
null
UTF-8
C++
false
false
344
h
Food.h
#pragma once #include<iostream> #include "string" #include "Product.h" #include "Date.h" using namespace std; class Food : public Product { private: string unit; Date expDate; public: bool isExpired(Date date); void setExpDate(Date); void setUnit(string); Date getExpDate(); string getUnit(); ...
d8fe82beae93b1038951a485e13b3599aaff25e1
ae9fbe0a6b0b2b1f6895418af9d16bdc16aedccd
/MemoryLeaks.cpp
58b586f435ee1c9cf2cfcde67339eceb395b09f6
[]
no_license
ArjunKrishnak/CPP-Memory-Leaks
25d26cfd1668f9f4d065f37948a6153cdd692b4f
790725e9677b53acfe4eae65cf0ff904c7e24e20
refs/heads/master
2022-10-14T13:02:37.013499
2020-06-07T17:47:44
2020-06-07T17:47:44
270,369,365
0
0
null
null
null
null
UTF-8
C++
false
false
2,707
cpp
MemoryLeaks.cpp
// Created by Arjun krishna on 07/06/20. // Copyright © 2020 Arjun krishna. All rights reserved. // =========================================================================== // Common Memory Leaks in CPP // =========================================================================== #include <iostream> // Memory l...
7b00ccd32983981b5aab6b88b9f2d192e18db910
d70723e7109bd61b83bc24a39f84808517c52fad
/utillib/exportcontext.h
c0e9d3a4633b4bc4a9e0a9cda597404fa774441e
[ "MIT" ]
permissive
ahuachen/ethslurp
e4c46985e9c9290bfa89df4ffe0484b930f5eae2
bc7354cc03599eaa82fdc431f7adc8b223619fc1
refs/heads/master
2021-01-22T16:21:08.686549
2016-07-05T13:48:43
2016-07-05T13:48:47
62,947,348
3
3
null
2016-07-09T11:56:49
2016-07-09T11:56:49
null
UTF-8
C++
false
false
4,100
h
exportcontext.h
#ifndef _EXPORTCONTEXT_H #define _EXPORTCONTEXT_H /*-------------------------------------------------------------------------------- The MIT License (MIT) Copyright (c) 2016 Great Hill Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentatio...
729d5c8607083a706edaf6d1ad6b1aa39f3b8c6d
157c466d9577b48400bd00bf4f3c4d7a48f71e20
/Source/ProjectR/UI/Guild/UC_GuildModifyPopup.cpp
bcf72dd3aa97db02492e5350ecb8408c89dd922e
[]
no_license
SeungyulOh/OverlordSource
55015d357297393c7315c798f6813a9daba28b15
2e2339183bf847663d8f1722ed0f932fed6c7516
refs/heads/master
2020-04-19T16:00:25.346619
2019-01-30T06:41:12
2019-01-30T06:41:12
168,291,223
8
1
null
null
null
null
UTF-8
C++
false
false
6,052
cpp
UC_GuildModifyPopup.cpp
#include "ProjectR.h" #include "UC_GuildModifyPopup.h" #include "UI/Common/UC_CurrencyDisplay.h" #include "UtilFunctionIntegrated.h" #include "UI/ItemManagement/UP_ItemShortagePopup.h" #include "Network/PacketFunctionLibrary.h" #include "UI/RWidgetManager.h" #include "GameInfo/UserInfo.h" #include "GameInfo/GuildInfo...
f1a2ec98c561500fc172f33ca78df9fa54854b1c
c00eaa165a6fa9860aab7d7b2fce9ef1273472e2
/Core/HeteregenousTuple.hpp
833ef4dda31d6ca53c5cde8f3927b10565d514c7
[ "BSD-3-Clause" ]
permissive
jlandess/LandessDevCore
40ab89443c05e04ba94f74d6fb8a51f68db34f22
3319c36c3232415d6bdba7da8b4896c0638badf2
refs/heads/master
2021-12-29T18:03:30.805114
2021-12-19T14:49:41
2021-12-19T14:49:41
240,625,347
4
1
null
null
null
null
UTF-8
C++
false
false
15,683
hpp
HeteregenousTuple.hpp
// // HeteregenousTuple.h // DataStructures5 // // Created by James Landess on 2/22/19. // Copyright © 2019 James Landess. All rights reserved. // #ifndef HeteregenousTuple_h #define HeteregenousTuple_h //#include "Definitions/Common.hpp" #include "Memory/ElementReference.h" #include "TypeTraits/Decay.hpp" #inclu...
0f48f4b0e50942ac9e3f2662e28488d882a1ce55
45d1768d87a8fb3418594ec64cf7ed2daf06c6e9
/darkness-engine/include/engine/resources/ResourceCommon.h
971f63f916dfdbd482e4814c677f74ba74e6d9a7
[ "MIT" ]
permissive
FutureInfinity/Darkness
c54888829de48eaaeed09acde4edce7423ba8774
c87eaf067a2707a0141909125ff461f69a3812e0
refs/heads/master
2021-09-13T15:39:45.959663
2018-05-01T17:15:25
2018-05-01T17:15:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,148
h
ResourceCommon.h
#pragma once #include <string> #include <vector> #include <functional> namespace engine { enum class ResourceType { Image, Model }; struct ProcessResourceItem { ResourceType type; unsigned int encodingFormat; bool generateMips; std::string absoluteS...
cd783cbbccc07dc48f3c6d2bb8b1b6a7b4d5c412
056031c0883e9e9547af1726a97e2973ad28f155
/blatt10/normal-generator/a26-normal-generator.cpp
2a1abfc1ca674da226a703ab12025ad9673c320e
[]
no_license
mxsg/programmieren-cpp
c30dbc6bbe0e8ed3d43fe7079376bc6022dc9709
99be3608bd532f30435d554bb2f6b95bb1de1bd1
refs/heads/master
2021-01-01T17:10:56.838145
2015-01-17T00:44:43
2015-01-17T00:44:43
20,354,890
0
0
null
null
null
null
UTF-8
C++
false
false
3,794
cpp
a26-normal-generator.cpp
/* * Programmieren fuer Physiker: C++ * SS 2014 * * Aufgabe 26: * Normalverteilte Zufallszahlen */ #include "NormalGenerator.hpp" #include <iostream> #include <fstream> #include <vector> #include <cmath> using namespace std; double mean(vector<double> numbers) { double result; for(auto& it : numbers) ...
297a2a37ed5a2037d3ec2dc633bec293ed044192
3593844fd237df13b8f1839beab949f57de27307
/Codeforces/Brazilian2018/1/A.cpp
e5a97b36fdf815ad4f3ba5d0447d8ad47a1a8cba
[]
no_license
juniorandrade1/Competitive-Programming
d1330cdde646e770c423abf474c0bfc7ef04c4c0
75c11dcfef38088e2367508acfe507f85cfbd36b
refs/heads/master
2021-01-10T09:32:17.051979
2018-05-27T20:06:26
2018-05-27T20:06:26
51,162,932
1
3
null
null
null
null
UTF-8
C++
false
false
683
cpp
A.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; struct Point { ll x, y; Point(){} Point(ll _x, ll _y) { x = _x; y = _y; } void read() { scanf("%lld %lld", &x, &y); } Point operator - (Point other) const { return Point(x - other.x, y - other.y); } double operator % (...
279af7b8b0c4b86f051fcf817090eed53249c219
d6c90613feb72d586727a9389fa94f62b5c93074
/Arduino/Transmitter/TimerOne.cpp
47b9faa4a2c6001e90976673dbc1332beb03fe90
[]
no_license
camillebeland/design3
f70f633c8871af4063281e125407405a40868742
cc5b04b8701ca0d0f8cf805483d5850c71475f52
refs/heads/master
2021-04-30T22:58:25.996253
2016-04-18T02:14:14
2016-04-18T02:14:14
49,664,782
0
0
null
2017-02-20T18:22:01
2016-01-14T17:56:57
Python
UTF-8
C++
false
false
772
cpp
TimerOne.cpp
#include "TimerOne.h" #include <avr/io.h> #include <avr/interrupt.h> TimerOne Timer1; ISR(TIMER1_OVF_vect) // interrupt service routine that wraps a user defined function supplied by attachInterrupt { TCNT1 = Timer1.counter; // reload Timer1.isrCallback(); // ISR } void TimerOne::init(int freq, void (*is...
42caf828b4897898636e59d98a76e994b5ff441b
9da9440bfde05266df9ad6c62983873326bb86e3
/leetcode/74_search_a_2d_matrix/main.cpp
f8e3cec25d275c43df37b1b3b3959a4d352a4e0f
[]
no_license
liruicrecky/Linux
76a49bb76f1a83f83fc56a01bbac4c39dcb89dd4
4373bbefd84a3e0d7a36c836f3c743a4ba79f979
refs/heads/master
2021-01-01T19:51:44.724089
2015-04-10T15:00:18
2015-04-10T15:00:18
30,750,177
5
0
null
null
null
null
UTF-8
C++
false
false
1,795
cpp
main.cpp
/************************************************************************* > File Name: main.cpp > Author: Reacky > Mail:327763224@qq.com > Created Time: Mon 16 Mar 2015 05:09:21 PM CST ************************************************************************/ #include<iostream> #include<vector> using namesp...
765e0154ae32ba1f6bd996349409e5aa2a476229
4ad841857e74b1a018c0bbb668c3a9901cfe3293
/19. Remove Nth Node From End of List.cpp
f3a62970022df96debd4eb15ea80f153f6110983
[]
no_license
MuVen/LeetCode
978ccdf434d7de5d9200c1d376a24b9d80fe1582
bef228fe298da3fe1c337d6b7e7f0947989cc9e3
refs/heads/master
2020-08-05T06:03:07.519901
2019-12-04T20:45:19
2019-12-04T20:45:19
212,422,736
0
0
null
null
null
null
UTF-8
C++
false
false
1,061
cpp
19. Remove Nth Node From End of List.cpp
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { ListNode* thead; public: void remove(int n){ ListNode* temp = thead; ListNode* first = thead; //mo...
376e44b140e32807e6c923efb290d9caaf1c4e50
b84aa8a1745f3346f22b9a0ae1c977a244dfb3cd
/SDK/RC_HitIndictor_functions.cpp
c54f3319a9896a5d545e4511f98ec28cc599430b
[]
no_license
frankie-11/Rogue-SDK-11.8
615a9e51f280a504bb60a4cbddb8dfc4de6239d8
20becc4b2fff71cfec160fb7f2ee3a9203031d09
refs/heads/master
2023-01-10T06:00:59.427605
2020-11-08T16:13:01
2020-11-08T16:13:01
311,102,184
1
0
null
null
null
null
UTF-8
C++
false
false
3,136
cpp
RC_HitIndictor_functions.cpp
// RogueCompany (4.24) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function HitIndictor.HitIndictor...
e4f59d264221711313d2f42d24713f1cdbe7a1b7
bf662e6b98538d5e264a432eff90767ef9de404c
/singleLinkedList.cpp
585dfd675a076edba36ad5d7fe2c393ecd351b52
[]
no_license
ashokdibbada/codebase
058bf7e83d5443957ce301a8532bfcbcd1e3f5c7
9916589bcae9f742cfd1a6654df3808ef8ec0ef3
refs/heads/master
2021-01-19T19:59:18.239847
2017-04-26T10:50:45
2017-04-26T10:50:45
88,472,380
0
0
null
null
null
null
UTF-8
C++
false
false
3,366
cpp
singleLinkedList.cpp
#include <stdlib.h> #include <stdio.h> #include <iostream> using namespace std; struct node { int data; struct node* next; }; void printList(struct node* pp); int ListLength(struct node* lp); struct node* createNode(int data); void appendNode(struct node** dp,int data); void insertNode(struct ...
4e130e4693241d6d90389a20cfebc3054fb8abd1
b43506f054ee2dcab59e87cf8d5505d4f55e830b
/raspberry/ubatmanager/lm75a/lm75temp.cpp
3c721f7eb881027334737777d79d7284e2f1704b
[]
no_license
alessiol78/caravanshield
512fc11bc663a4448f23d516214ff2683dc1b2c4
8a8022d0fb8373df11046aa445213d91579a9912
refs/heads/master
2021-04-06T02:39:13.609437
2018-04-20T07:46:43
2018-04-20T07:46:43
125,048,520
0
0
null
null
null
null
UTF-8
C++
false
false
3,801
cpp
lm75temp.cpp
#include "lm75temp.h" #include "project.h" #include <QSettings> #ifdef __arm__ extern "C" { #include "../bcm2835/bcm2835.h" } #endif //#define DEBUG_LM75 int twos_complement(unsigned input_value, uint8_t num_bits) { unsigned val = input_value >> (16-num_bits); #ifdef DEBUG_LM75 printf("val: %04x\n",val); #end...
3b182b35e4853ebe0c1c8eb1061e281ed46d2db3
c5910ece945b0251ffaa8d4376502e8c71f537a4
/src/BayesFilters/src/ParticleFilter.cpp
105f75e3f0ea1a4523cb21668fdc582df6d4cbe8
[]
no_license
Lenotary/bayes-filters-lib
1623cec8812b703fb8f72c7cf7663fac734c2320
24cfbed786a017f7aebb5bf3ace3694d4f7d5f66
refs/heads/master
2020-07-11T17:07:56.294873
2019-04-04T10:37:50
2019-04-04T10:37:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,994
cpp
ParticleFilter.cpp
/* * Copyright (C) 2016-2019 Istituto Italiano di Tecnologia (IIT) * * This software may be modified and distributed under the terms of the * BSD 3-Clause license. See the accompanying LICENSE file for details. */ #include <BayesFilters/ParticleFilter.h> using namespace bfl; ParticleFilter::ParticleFilter ( ...
921066f1c8ea5594ad1ff7c6a47b9b78f35f25a5
a1920971357d07a23c017db49dfea9492e1b23d3
/opencv_vis/point_set/PointCloudVisualizer.hpp
6500c3876798f84ef8323c52a4a3af178e69e162
[]
no_license
zcbmlijygrdwa/cvminecraft
7b9e37695df8211ecf0ed1df5bd97aa6acdfbc48
4d85e3a9f806917b5009695f4c1848100eee801e
refs/heads/master
2020-04-09T03:21:19.066665
2020-02-16T05:26:15
2020-02-16T05:26:15
159,979,168
1
0
null
null
null
null
UTF-8
C++
false
false
8,246
hpp
PointCloudVisualizer.hpp
#ifndef POINTCLOUDVISUALIZER #define POINTCLOUDVISUALIZER #include <opencv2/viz.hpp> #include <iostream> #include <fstream> //using namespace cv; class PointCloudVisualizer { private: bool is_color_set; bool camera_pov; int point_size; public: bool is_cloud_widget_set; ...
a7365c49be4ab509a7c8c47e299159652d265163
0932a1d94a15ef74294acde30e1bc3267084e3f4
/OJ/POJ1/POJ1068.cpp
04e1606f2211ce0838f3e26842b4a022ec8a23a4
[]
no_license
wuzhen247/ACM-ICPC
9e585cb425cb0a5d2698f4c603f04a04ade84b88
65b5ab5e86c07e9f1d7c5c8e42f704bbabc8c20d
refs/heads/master
2020-05-17T19:51:48.804361
2016-09-03T12:21:59
2016-09-03T12:21:59
33,580,771
0
0
null
null
null
null
UTF-8
C++
false
false
426
cpp
POJ1068.cpp
#include<iostream> #include<cstdio> using namespace std; int main() { int t,n,i,j,temp1,temp2=0,a[22],num; scanf("%d",&t); while(t--) { scanf("%d",&n); temp2=0; for(i=0;i<n;i++) { scanf("%d",&temp1); a[i]=temp1-temp2; temp2=temp1; num=1; for(j=i;j>=0;j--) { if(a[j]>0) { a[j]--...
e35cec13e9b33a728152ce8cf2f1d29de18662fa
1f3f16de4e1367c528d9f1997e668b94bec482b7
/taskmgr/utils.cpp
54f9484085b27c27862590de7b5b3f0da5d6ee77
[]
no_license
crwn1337/taskmgr
11b70f9b268146d9a54e2603048ab820143faa91
e859f11640d49352d5ae344c002e4d6d9f602700
refs/heads/master
2023-08-26T18:52:47.816336
2021-10-22T08:19:40
2021-10-22T08:19:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,839
cpp
utils.cpp
#include "utils.h" #include <algorithm> namespace utils { // TODO: fix this, uses a scuffed way to get around some problems (K defined as int) uint32_t rgb_to_cmyk(int R, int G, int B) { double C = 1 - ((255 - R) / (double)255); double M = 1 - ((255 - G) / (double)255); double Y = 1 - ((255 - B) / (double)255...
ea135d5611f50c0150fd0e6d62fe5cfcd7b90fb9
be7506ae9b539d69ead5d8191fb826ee00a17e00
/MakingABridge/MakingABridge.cpp
ba6d43f9d6ae5d46e02949dd096d3818e29edc0d
[]
no_license
bethebiggreen/algo_vs2013
69c916b8d1aaadb1c48f70d669b23ec8ac60be29
3bbe9640f4c91c95512e6f9647394441353c70e6
refs/heads/master
2021-01-21T04:43:21.562707
2016-07-21T09:28:45
2016-07-21T09:28:45
53,916,561
0
0
null
null
null
null
UTF-8
C++
false
false
2,979
cpp
MakingABridge.cpp
#include <stdio.h> typedef struct node_t { int x, y, val; } node; const int MAX_N = 101; int map[MAX_N + 1][MAX_N + 1]; int dist_map[MAX_N + 1][MAX_N + 1]; int visited_map[MAX_N + 1][MAX_N + 1]; // QUEUE int cnt = 0; int N = 0; template<typename T> class Q { public : static const int MAX_DEFAULT_Q_SIZE = 1024 * 10...
b1f9c8d6c3720315a1fc1f86e6a60c550bb336d4
8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a
/arangod/IResearch/IResearchRocksDBEncryption.h
a6b54a964427ca30c402ac411dabb234cdfb40ff
[ "Apache-2.0", "BSD-3-Clause", "ICU", "Zlib", "GPL-1.0-or-later", "OpenSSL", "ISC", "LicenseRef-scancode-gutenberg-2020", "MIT", "GPL-2.0-only", "CC0-1.0", "BSL-1.0", "LicenseRef-scancode-autoconf-simple-exception", "LicenseRef-scancode-pcre", "Bison-exception-2.2", "LicenseRef-scancode...
permissive
arangodb/arangodb
0980625e76c56a2449d90dcb8d8f2c485e28a83b
43c40535cee37fc7349a21793dc33b1833735af5
refs/heads/devel
2023-08-31T09:34:47.451950
2023-08-31T07:25:02
2023-08-31T07:25:02
2,649,214
13,385
982
Apache-2.0
2023-09-14T17:02:16
2011-10-26T06:42:00
C++
UTF-8
C++
false
false
2,721
h
IResearchRocksDBEncryption.h
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2023 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
356f1a2d220bff326c96edd7a18b28e943d9ce0f
bea57521f2d3288e9fe1fe176fdf50dee68e95c1
/ems/ProfFeedback.cpp
9c6721c987c6a5a4228f13ebfbd5609bd9cd1e8e
[]
no_license
r3curs10n/EmployeeManagementSystem
a0272c1f1eae9d6a71ccc8ca7c8301132d0aca0d
fffc02bcd9db90ae31441f981576c487c8193f75
refs/heads/master
2020-04-20T08:45:55.967918
2013-03-17T20:43:58
2013-03-17T20:43:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
85
cpp
ProfFeedback.cpp
#include "StdAfx.h" #include "ProfFeedback.h" ProfFeedback::ProfFeedback(void) { }
0e2c5828e58dabcd2d80c943dc8235a9e2d0c3c5
74b1b34cf71d0f027ac78b807d4e324f0b4c7fc0
/src/Entities/star.cpp
d9e4a907b39d9deea7786788fe3afc7ee550dcd3
[ "MIT" ]
permissive
Gaurav07Robin/worldLineSim
407f264c282bd92ab71d07db1ffe6e5460c42f1e
f1c03a5a23cf74c6b1ad8547b9ae512b8fbbbf75
refs/heads/main
2023-08-28T12:34:28.608627
2021-08-30T17:50:51
2021-08-30T17:50:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
319
cpp
star.cpp
#include "Entities/star.hpp" std::optional<Entity_Point> Star::getPrimaryPos() const { return std::optional<Entity_Point>(); } void Star::_Action1() { } void Star::_Action2() { } void Star::simulateExistence() { } void Star::pauseExistence() { } SolarState* Star::_get_current_state() const { return nullptr; }
9a8f84d4a8095f62829f1fffa62d350c4989bcc5
021f65f3affeffaaff3d981e2e30177256cb988b
/Olympiad Programs/Marhale 3 azmayeshi/soal2.1.cpp
801991ec47e7a8d8c656704d694d32c2af8a36bf
[ "MIT" ]
permissive
mirtaba/ACMICPC-INOI_Archive
2d95bef1efdb26bbaabcf2993210b1562a3cc399
ea06e4e40e984f0807410e4f9b5f7042580da2e3
refs/heads/master
2021-04-09T15:17:47.532859
2018-03-16T09:11:48
2018-03-16T09:11:48
125,491,625
2
0
null
null
null
null
UTF-8
C++
false
false
3,167
cpp
soal2.1.cpp
#include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <string> #include <stack> #include <queue> #include <list> #include <vector> #include <cmath> using namespace std; long long in; bool nums[(12*11*10*9*8*7*6*5*4)][12]; bool check(int s[12]) { bool num[12]={0,0,0,0,0,0,0,0,0,0,0,0}...
677fe8a7e02f39dcdbcac6cdd0a1f0bfa3344a25
8cf0c7b774992b4671d67e75a5616dab8ffb573d
/Src/Common/UIComponent/CubeFlight.h
3aea0025d83b2f9376685df57953d4011e64ed84
[]
no_license
gdijaejung/GyroTargetting
04c86c7cb87435e629a446bec34252cc883e7520
442f97e08a3bdf84eb5a327d9d66b3d7ae2375e6
refs/heads/master
2021-01-10T11:17:17.890300
2015-11-19T08:56:50
2015-11-19T08:56:50
46,250,961
0
0
null
null
null
null
UHC
C++
false
false
562
h
CubeFlight.h
// // 큐브 비행체 정보를 관리한다. // // #pragma once class cCubeFlight { public: cCubeFlight(); virtual ~cCubeFlight(); bool Init(graphic::cRenderer &renderer); void Render(graphic::cRenderer &renderer); void Update(const float deltaSeconds); void SetEulerAngle(const float roll, const float pitch, const float yaw); con...
b432436adf54602d113e28c2e73d40ab9bf78c89
5b14af7b9ce3ff8f9ec95aa3d9a82054252ccb1f
/python_bind/list.cpp
32ea3a975fff9e56141281c2ddb23d35807a3e8b
[]
no_license
or17191/persist
2073ec06db738269dd737c5f661f3ab7648faec8
c7c8e1364f2bb26b5c9299d18e824b00e3c10c4a
refs/heads/master
2021-01-12T17:27:10.589298
2016-10-24T20:58:54
2016-10-24T20:58:54
71,571,351
0
0
null
null
null
null
UTF-8
C++
false
false
1,435
cpp
list.cpp
#include "list.hpp" #include "common.hpp" #include <pybind11/pybind11.h> #include <pybind11/operators.h> #include <sstream> namespace py=pybind11; using list_t=persist::list<py::object>; namespace persist{ template<> bool operator==<py::object>(const list<py::object>& lhs, const list<py::object>& rhs){ if(lhs.size()...
b8e9a42158a7a1117b8acc168aba59a580100805
45f594a06dc01a8366b52c66ec61a167ba14a613
/example/edit_script_range_example.cpp
e9d1672de914efe088c9b4ed8726f6acc91685c4
[ "BSL-1.0" ]
permissive
erikerlandson/edit_distance
fb5b1b817233a7a18d49cb0cc2dbc32345f4d238
ce9d840c791517310aa22cf329fd6a2ce3fc17c6
refs/heads/master
2021-01-10T21:30:15.085553
2014-04-14T22:08:16
2014-04-14T22:08:16
10,517,547
8
1
null
null
null
null
UTF-8
C++
false
false
1,342
cpp
edit_script_range_example.cpp
/******* edit_distance: STL and Boost compatible edit distance functions for C++ Copyright (c) 2013 Erik Erlandson Author: Erik Erlandson <erikerlandson@yahoo.com> Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt *******/ #incl...
afb4ebd956f4eccccbb83cf24b4e7d626e8c44e2
7f642a4a79d25d407f6bab22f57c718d6f1288b0
/main.cpp
8a395722c07fd87c4d0398cb39e75a69e49039a1
[]
no_license
Max-E/systemc-threading-classes-tests
3b16082aff2c84902e526ea2746649a36a0a8ac6
c8c9010383e8d901541712aeead2e1c706351ff2
refs/heads/master
2021-01-19T07:35:19.399741
2015-02-13T16:52:15
2015-02-13T16:52:15
30,683,617
0
0
null
null
null
null
UTF-8
C++
false
false
970
cpp
main.cpp
#include "threading_pthread.h" #include <stdio.h> #include <unistd.h> #include <time.h> void *worker_1 (void *arg_void) { char *arg = (char *)arg_void; printf ("%s 1\n", arg); sleep (1); printf ("%s 2\n", arg); return NULL; } sc_thread_pool_t pool_hello (worker_1, (void *)"hello"); sc_thread_pool_t pool_h...
36aa1374953c8306f70e3698bdc48c515a0293f5
7f66901343d1cbbd907ce6edbeadf1cad5ca6cf0
/src/engine/graphics/mesh_map.cpp
d975361221579e022d4ed45c375f5226a4caf07b
[ "MIT" ]
permissive
konai123/konai3D
cd98a8bcaa1ba7f44230af25fcb66bd4ab8684f4
d4c3455401a9d8f4c4451562d854104f6bfa3fed
refs/heads/master
2023-07-30T05:03:26.593931
2021-09-22T05:57:00
2021-09-22T05:57:00
391,039,229
5
0
null
null
null
null
UTF-8
C++
false
false
6,697
cpp
mesh_map.cpp
// // Created by korona on 2021-07-30. // #include "src/engine/graphics/mesh_map.h" #include "src/engine/graphics/blas.h" _START_ENGINE MeshMap::MeshMap(std::shared_ptr<DeviceCom> deviceCom) : _device(deviceCom), _nonamed_index(0) { } void MeshMap::AsyncLoad(std::vector<std::filesystem::path> paths) { _mesh_load...
4359d8f434c8a04aeb749e1b7ade58372a1d863b
ad485ea0ef7e719f8ad8c8f698629cce88c2fec6
/Highway.h
7bfa8042eaff7d348532833c124bb0ed300df481
[]
no_license
konstantinoscs/Atiki_odos-Simulation
78ed69515a3a2476deadcde51ba2dc98ab8cc45c
a9651f56d225dd21546258ea65a2497ff0dec94b
refs/heads/master
2021-01-21T10:34:09.063857
2018-04-06T21:51:10
2018-04-06T21:51:10
83,453,062
1
2
null
null
null
null
UTF-8
C++
false
false
265
h
Highway.h
#ifndef HIGHWAY_H #define HIGHWAY_H #include "Segment.h" #include <vector> class highway { int vehicles; std::vector<segment*> segments; public: highway(int NSegs, int capacity, int K); ~highway(); void operate(int percent); }; #endif
25cfcf6b76e949550a1ad082c27da221a99db99c
1e1fc12fe3170bfe402ed4f49d9e1ad574fc8619
/ZombieGame/Human.cpp
63893589ada0247869383dd360a752e60d4337ed
[]
no_license
nnthienbao/AdvancedOpenGL
c2764ccfaad902be80f1588eee3d29739a95212d
442168167dbd0bae36d80fbd5627c94f2ced829d
refs/heads/master
2021-01-13T12:37:25.547902
2017-01-14T04:59:49
2017-01-14T04:59:49
72,551,254
0
1
null
2016-11-01T16:01:13
2016-11-01T15:47:47
C
UTF-8
C++
false
false
1,318
cpp
Human.cpp
#include "Human.h" #include <random> #include <ctime> #include <glm/gtx/rotate_vector.hpp> #include <MyEngine/ResourceManager.h> CHuman::CHuman() : _frames(0) { } CHuman::~CHuman() { } void CHuman::Init(float speed, glm::vec2 pos) { static std::mt19937 randomEngine(time(nullptr)); static std::uniform_real_dist...
fcabd5d6675b99820ab8b09a19e03ac13ef951bc
aa42148478e58952dff35129e85c79cad2f64134
/InterviewBit/Tree Data Structure/Vertical_Order_Traversal.cpp
19fc27b48f60b7a9a82206851807d784f9177aad
[]
no_license
anuwu/Competitive-Programming
56e9d6f6443af7316417370bab76e948e5f44a50
b78aa0a92987b7832395f9992a1ecd39b92ff81f
refs/heads/master
2023-03-14T05:45:32.166385
2021-03-13T21:46:03
2021-03-13T21:46:03
273,766,094
0
0
null
null
null
null
UTF-8
C++
false
false
1,910
cpp
Vertical_Order_Traversal.cpp
vector<vector<int> > Solution::verticalOrderTraversal(TreeNode* A) { int mindist, maxdist, dist ; TreeNode *node ; vector<pair<TreeNode*,int>> lev, nexlev ; pair<TreeNode*,int> p ; unordered_map<int,vector<int>> m ; nexlev.push_back (make_pair (A, 0)) ; m[0] = vector<int> () ; m[0]...
9ad3a878fd1277eede390d1e827d9b7160a155c0
6bfa997a3a20657f757ee42d782ed6b00c916f46
/src/test.cpp
c3d197355d2ab0602e088231e0c99b22af520c28
[]
no_license
Jakz/rsk
4e9855d5f7ac775cfcfe856bc6692f4c359e4ac8
80d55ae174dbe092c8ed46f176a178cd253153fa
refs/heads/master
2020-05-23T09:46:59.552455
2018-06-29T03:51:09
2018-06-29T03:51:09
84,760,737
0
0
null
null
null
null
UTF-8
C++
false
false
126
cpp
test.cpp
#define CATCH_CONFIG_MAIN #include "util/catch.h" TEST_CASE("Catch library correctly setup", "[setup]") { REQUIRE(true); }
28e95206f58246a49e82a2122b082d89deb900e3
fb3ed0e20290fef06a9bdd908fe31dde0931084d
/gcd-lcm.cpp
79ef61f971f42e77fc1499136d7c812a65c9f126
[]
no_license
souravdutta1998/codes-c-cpp
3ad8eb7d4acf4113a2bddd56c86a63a23ce3e97a
de623303010fd5a4d8ecf778da5ba91c62a0abac
refs/heads/master
2021-04-30T01:21:20.878093
2018-03-26T08:45:47
2018-03-26T08:45:47
121,482,068
0
0
null
null
null
null
UTF-8
C++
false
false
274
cpp
gcd-lcm.cpp
#include <iostream> using namespace std; int main() { int x, y; cin>>x>>y; int rem; int n1 = x; int n2 = y; while(n2!=0){ rem = n1 % n2; n1 = n2; n2 = rem; } cout<<"gcd: "<<n1<<endl; cout<<"lcm: "<<(x*y)/n1; return 0; }
960a4a0657d48a98649dd01557f28b44f3ac69bc
123152a4b0e949dc69a07c5bf15101d5dd450c95
/USACO-Bronze/January-2019/Sleepy Cow Sorting/C++/sleepycowsorting.cpp
d0a557561497271566f94b9404826bca08dc60c3
[]
no_license
c0deexuser1/USACO-Bronze
77e56cde14d42b80a4b7b6203ee3a7cc5cb60d32
2f0f569df96d176eb6a8e23304f795110bc143dc
refs/heads/main
2023-04-18T05:13:32.452555
2021-04-28T19:38:50
2021-04-28T19:38:50
340,855,069
0
0
null
null
null
null
UTF-8
C++
false
false
256
cpp
sleepycowsorting.cpp
#include <iostream> using namespace std; int N; int A[100000]; int main() { cin >> N; for(int i=0;i<N;i++) cin >> A[i]; int ans = N-1; for(int i=N-2;i>=0;i--) { if(A[i] < A[i+1]) ans = i; else break; } cout << ans << '\n'; return 0; }
b77f982e000bb2e22f1e9f72ff5bd1b0b7747c66
1c0bfc4962ad093cba4b90b80a1b672ce02e420e
/Desktop App/qt/client/client/app/QEquipmentView.h
ae0a0f7f1979c1cc94746a6cae4b9f024bbef473
[]
no_license
Ace4teaM/Arduino-Project
159d94cccf6972f78366fa69f5c7ae775308c9b4
f080d9b9d214f8dad138070b42a4c0aceeeeaad5
refs/heads/master
2016-08-08T13:09:35.171463
2014-11-29T17:04:28
2014-11-29T17:04:28
9,118,958
0
0
null
null
null
null
UTF-8
C++
false
false
1,639
h
QEquipmentView.h
#ifndef QEQUIPMENTVIEW_H #define QEQUIPMENTVIEW_H #include "result.h" #include "qequipmentitem.h" #include "qserveritem.h" #include <QGraphicsView> #include <QGraphicsScene> #include <QGraphicsEllipseItem> #include "QEquipmentScene.h" #include "../model/Equipment.h" #include "../model/Client.h" #include "riff.h" #inc...
1b9c723adb820155c8e0994aa91e638ff4625845
f798e5955febcbb5e053604dde0056225954e956
/Codechef/INCRDEC.cpp
3325816086e3e49cf057a23eed13da13bff77a24
[]
no_license
atulRanaa/problem-solving-directory
bd129da93f205602fd1b596a80d98ca3c164020f
3c261a7a57591203d0fb502859a0e388f9b09ae1
refs/heads/master
2022-09-02T00:22:02.199595
2022-08-22T07:14:56
2022-08-22T07:15:41
177,447,829
0
0
null
null
null
null
UTF-8
C++
false
false
1,402
cpp
INCRDEC.cpp
// codechef #include <bits/stdc++.h> using namespace std; typedef long long ll; const ll N = 2e5 + 5; const ll MOD = 1e9 + 7; #define all(x) x.begin(),x.end() #define pii pair<int,int> #define pis pair<ll,string> #define F first #define S second #define LCM(a,b) ((a*b)/__gcd(a,b)) #define inf 1e10 #define test ll cse;c...
d36e38ba1773aa6bcf3f31c025ab4606452a4563
f72a7eaeffb4af33af42798731ec6aa6c916b017
/Recursion_printNos.cpp
f54aa3e948e338b0fcd08755d44d79d099d6ba30
[]
no_license
nik-31/Recursion
c049218ab863a93dcaf4d30555e047366728392c
c4ba6fbbc999d7df00d8dd60e168e023dd7c0fd8
refs/heads/master
2022-11-28T01:33:52.968496
2020-08-11T13:43:20
2020-08-11T13:43:20
280,710,550
0
0
null
null
null
null
UTF-8
C++
false
false
246
cpp
Recursion_printNos.cpp
#include <iostream> using namespace std; int recur_print(int a,int n){ if(n<a){ return 1; } cout<<a<<endl; return recur_print(a+1,n); } int main() { //code int n; cin>>n; recur_print(1,n); return 0; }
085522cfea09921d66f776c4e0112724a2ec8c9a
d8d9c766803f49a416f1e049a42fee6068459fa7
/Kursach2/DAO/workbookinfodao.h
2ee090ebd2239eb9d0b91213504883edc78eafba
[]
no_license
seidakey/Kursach
81e40fd54f78ef25ddcca767ef9a7547afbc6acc
739cbfac11c8a7a8735cdfb3fdb349ce2a1502a3
refs/heads/master
2021-08-27T21:21:32.951478
2017-12-10T11:02:59
2017-12-10T11:02:59
111,287,061
0
0
null
null
null
null
UTF-8
C++
false
false
314
h
workbookinfodao.h
#ifndef WORKBOOKINFOLIST_H #define WORKBOOKINFOLIST_H #include <QVector> #include "Model/workbookinfo.h" class WorkbookInfoDao { protected: static const QString WORKBOOK_LIST_SQL; public: WorkbookInfoDao() = delete; static QVector<WorkbookInfo> getWorkbookInfoAll(); }; #endif // WORKBOOKINFOLIST_H
f34d2b0eeaeb8b382b20a350eaa604c59f30d896
bb274d1aa2b1536ed0478aa27073044b94873a4e
/taksofon v2/Payphone/Payphone/process.h
e33531171680eec6820485fff1b1ecee355a2031
[]
no_license
nareykov/Projects
211fd8da119d6fd8e9a468b46b6b14d94fe44d39
93fd79a257b2ae10efbeea319155c9eceebce8af
refs/heads/master
2021-01-18T20:53:10.663494
2017-06-14T17:07:39
2017-06-14T17:07:39
86,997,395
0
0
null
null
null
null
UTF-8
C++
false
false
1,466
h
process.h
#ifndef PROCESS_H #define PROCESS_H #include <iostream> #include <limits> #include <stdio.h> #include <vector> using namespace std; #ifdef _WIN32 #include <process.h> #include <Windows.h> #include <string> #endif #ifdef linux #include <sys/sem.h> #include <sys/types.h> #include <fcntl.h> #include <semap...
39ae1aea9500b1b354a2a4b02d9682ba9de52240
2ba81fca5c3849653745beeadbad33070aa40a23
/C++_Programmers/C++_Programmers/20210714.cpp
05620a9bb78a735bcb6c170223af52e14a8238b8
[]
no_license
DeukYu/Algorithm
0c3585f5c584e50727671b2396f48fdd898dc325
abd391537ebfe110912f56018eb379f366e95655
refs/heads/main
2023-01-05T06:56:42.101973
2023-01-03T14:09:53
2023-01-03T14:09:53
153,907,301
0
0
null
null
null
null
UHC
C++
false
false
525
cpp
20210714.cpp
/* < 평균 구하기 > -- 문제 설명 정수를 담고 있는 배열 arr의 평균값을 return하는 함수, solution을 완성해보세요. -- 제한사항 arr은 길이 1 이상, 100 이하인 배열입니다. arr의 원소는 -10,000 이상 10,000 이하인 정수입니다. -- 입출력 예 arr return [1,2,3,4] 2.5 [5,5] 5 */ #include <string> #include <vector> using namespace std; double solution(vector<int> arr) { double answer = 0; fo...