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
2ce496513d36e9c71c26769536fe38f654bd374c
b39dba38a99bc970d7c861517ab82bb92f5fc548
/unarchiver/archive.h
87b508b1e4356d38878f36e84c434371c2ac5d4c
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
OpenMPT/openmpt
711aef385c6a098a9a2aaefa25f6563e4501d2e8
41c5bde364ed61afb414ac38792715ee9433c01c
refs/heads/master
2023-09-01T21:37:18.329917
2023-09-01T10:10:22
2023-09-01T10:10:22
82,913,630
501
87
BSD-3-Clause
2023-07-14T08:47:12
2017-02-23T10:04:01
C++
UTF-8
C++
false
false
2,181
h
archive.h
/* * archive.h * --------- * Purpose: archive loader * Notes : (currently none) * Authors: OpenMPT Devs * The OpenMPT source code is released under the BSD license. Read LICENSE for more details. */ #pragma once #include "openmpt/all/BuildSettings.hpp" #include "../common/FileReader.h" #include <string> #inc...
8b6e4d9573ed64d0463dd9e9641ad1710c6b6b3b
90245c66be4d9f57b8a794582d6552c73de76a59
/学习整理/Qt代码/学生信息管理系统/源代码/StudentDataBase/WeatherData/weatherdata.h
8007f8f443489bdc68c9d9b9ca828f4724325f38
[]
no_license
dowerwang/Study
aba592dcd1054954d9ab3a1b45caf17ad75c2150
a293032fd2cd4720f1cd55429749bbe5d98bdd7f
refs/heads/master
2023-03-16T07:53:40.435765
2017-07-27T07:51:57
2017-07-27T07:51:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,481
h
weatherdata.h
#ifndef WEATHERDATA_H #define WEATHERDATA_H #include <QWidget> #include <QString> #include <QSqlDriver> #include <QSqlRecord> #include <QSqlQuery> #include <QSqlDatabase> #include <QtXml> #include <QFile> #include <QIODevice> #include <QDomNodeList> #include <QtScript> #include <QNetworkAccessManager> #include <QNetwo...
f9af203bf7e6e3164fbe97c1c92c174b9a54c404
83c4652d4d4e1d4d3eb5e6b8a7fc15c17a85b4c8
/common/src/golden_cudgel.cpp
467d3dee36f78263fa1d92e6ca156d79f92a9568
[]
no_license
vengine/XGC
8af20955766a28694f23c22b825fccd5c183c836
71b685b436c3ff9d0dff9e1ab4bb2fe8f8e1d520
refs/heads/master
2016-09-08T00:34:16.783851
2013-11-10T14:48:42
2013-11-10T14:48:42
13,206,428
1
1
null
null
null
null
UTF-8
C++
false
false
2,422
cpp
golden_cudgel.cpp
#include "pch.h" #include "golden_cudgel.h" #include "emem.h" #include <windows.h> struct _golden_cudgel { unsigned char* mem; unsigned char* tail; euint ele_size; euint ele_count; }; #define MEMORY_PAGE_SIZE 4 * 1024 #define MEMORY_RESERVE_SIZE 128 * 1024 * 1024 ///static unsigned char* mem_begin_addr...
5b0eb37cc64f3c5fc04cadab0eb45aa412357339
9f26c9047a25c1c43763d59526219bea5d5c9266
/src/Kernel/KMathA.CC
5105a6d80dff610f3f4b943bae85e5fd653399fa
[ "Unlicense" ]
permissive
y4my4my4m/ZenithOS
fec98491badb10d799e60d87aac578dc38651271
861b19b51e9878baabc3c9c900abb29576e913b6
refs/heads/master
2022-10-28T14:19:54.217394
2020-06-12T07:30:56
2020-06-12T07:30:56
271,889,926
0
0
Unlicense
2020-06-12T21:04:29
2020-06-12T21:04:28
null
UTF-8
C++
false
false
13,160
cc
KMathA.CC
asm { //************************************ _D3_NORM:: PUSH RBP MOV RBP,RSP MOV RDX,U64 SF_ARG1[RBP] FLD U64 [RDX] FMUL ST0,ST0 FLD U64 8[RDX] FMUL ST0,ST0 FADDP ST1,ST0 FLD U64 16[RDX] FMUL ST0,ST0 FADDP ST1,ST0 FSQRT FSTP U64 SF_ARG1[RBP] MOV ...
2599b76a4f89599b5024d7a96fce1a44a61becc1
59cb0e5cd9da12a6cab1a80f8dfdbbb25f2674ff
/Queue/Queue.cpp
003eee1eae233e4939cdf990211805f17edbb3fc
[]
no_license
jupmorenor/CppAlgorithmsStructures
73a75be3d1314c8aec1761007f8054494fdd8f7a
a98855b65668bfa38ac2dfa25b168f5f6d12c25d
refs/heads/master
2022-11-23T10:19:14.814327
2020-07-01T02:02:42
2020-07-01T02:02:42
276,252,787
0
0
null
null
null
null
UTF-8
C++
false
false
2,546
cpp
Queue.cpp
/* * Queue.cpp * * Created on: 29/09/2014 * Author: Juan Pablo Moreno Rico - 20111020059 */ #include <stddef.h> #include "Queue.h" template <typename T> Queue<T>::Queue() { cabeza = NULL; tam = 0; } template <typename T> Queue<T>::~Queue() { Nodo<T> *Aux; if (!esta_vacia()) { for(Aux=cabeza->siguien...
f0f5f7a99d51184ef5b4e72b7eff973fd1476d9e
3a6018a0c82dc39c4e513da40dcd8cf5b1d23089
/emperorlu/2593/3192058_WA.cc
6dbfd9325aaa4456125e96b670280c31c23c9b7e
[ "BSD-3-Clause" ]
permissive
lulyon/poj-archive
2ff04082ff70e0afc997c7a49d23d3d31ce3ddbe
7ba5569d1780f8619621bc8b1adc0501b0d7ec51
refs/heads/master
2020-06-01T23:29:51.532319
2013-09-14T08:14:08
2013-09-14T08:14:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
860
cc
3192058_WA.cc
#include<iostream> #include<math.h> using namespace std; int a[100010],Left[100010],Right[100010]; int main() { int n,sum,max,tmp; while(1) { scanf("%d",&n); if(!n)break; for(int i=0;i<n;++i) scanf("%d",a+i); sum=0; max=-10000000; for(int i=0;i<n;++i) { if(sum>=0)sum+=a[i]; e...
2871c4e4e30a65f205597e7542120216e0ecb472
7bbf59e87c2cc7f42581d0e6506672b0e1b7a040
/SoulCollectorDxLib/TypeCardBase.cpp
565e9a84fd5990ec5d52e69b574d90fd7f85e864
[]
no_license
ProjectVapen/SoulCpllectorDxLibNext
d1aa30574829111d967a2cbc4f3a2d36919e8efb
554bcc8bd38863655785e89a7c4c7e33f4699409
refs/heads/master
2016-09-10T18:49:17.645666
2015-06-27T19:17:37
2015-06-27T19:17:37
38,081,295
0
0
null
null
null
null
UTF-8
C++
false
false
97
cpp
TypeCardBase.cpp
#include "TypeCardBase.h" TypeCardBase::TypeCardBase() { } TypeCardBase::~TypeCardBase() { }
3c63e71d96a851e626c8065c1ba395f149650910
b99885f604995812c172054510554b3486784f45
/VolumeFile/Inode.h
bb7ab653077e52a5fdf01d45cfc4326954613773
[]
no_license
zzc-tongji/volume-file
a7867c91966266672ed73d8a3ededea79ee9086f
e415cd1d7c63fbe83e64ff5300949d878c690b6b
refs/heads/master
2021-10-10T17:29:39.626107
2018-08-02T09:39:36
2018-08-02T09:39:36
104,196,412
1
0
null
null
null
null
GB18030
C++
false
false
17,100
h
Inode.h
#pragma once #include "Image_SuperBlock.h" #include "Image_BitMap.h" #include "Image_UserData.h" /* Inode */ class Inode { public: //一个Inode节点所占据的空间大小:64(务必确保!) static const unsigned int INODE_SIZE = 64; //初始化时设置标志位 static const unsigned short MODE_INIT = 0x0000; //占用时设置标志位(110 110 110...
e62088e93a27b71e895e1627ac5397c2784624ac
e842372699fbba5e42708fc18de4cc775377e5d0
/fs_mgr/liblp/test_partition_opener.h
b90fee759b4e65c5fb31ce95abfb8ea07ec85e85
[ "MIT" ]
permissive
aosp-mirror/platform_system_core
cd1921c7e87396ef99ff46332aa34512977c58a4
18560efc308f9c345915dd4d5fa1a2939fcf5ebc
refs/heads/master
2023-08-28T05:09:18.711274
2023-08-25T17:07:42
2023-08-25T17:07:42
65,923
610
877
NOASSERTION
2023-05-13T20:56:01
2008-10-21T18:21:04
C++
UTF-8
C++
false
false
1,386
h
test_partition_opener.h
/* * Copyright (C) 2018 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...
a5fb801d31211d52fba49c398928777faa470bf9
86dcea4619590879ad9b1938d80ffe0a035cd041
/NeuroStudio/impl/Win32/AbstractNNWnd.h
5d14e2be4480f7dcfbefa0b22813cc5f5ba9743f
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
smmzhang/NeuroStudio
aaa4826ef732963e4f748a46625a468a1ae810d3
f505065d694a8614587e7cc243ede72c141bd80b
refs/heads/master
2022-01-08T23:37:52.361831
2019-01-07T11:29:45
2019-01-07T11:29:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,141
h
AbstractNNWnd.h
#pragma once #include "gui/win32/MappingWnd.h" #include "gui/Win32/GraphicUtil.h" #include "network/NetworkMatrix.h" #include "network/NNMatrixModify.h" using namespace np; using namespace np::network; using namespace np::gui::win32; class AbstractNNWnd : public CMappingWnd { public: AbstractNNWnd(const network::N...
df2a47747e3341f5cfdf8f90155106806c3b7a95
1ed1f5c2d12dcd3c11ae405c7e84d90e82bef8e0
/Phase II/basicsP2/AlphaShapeManipulation.cpp
762c9097b3e9bd80b5c04da922bcee7075b5d86d
[]
no_license
akbari59/cs5237-geo
6805f67e12e08b1994974f0d7e467af32196353e
f928a999fec3130684f16fd0321f5a1e95251dff
refs/heads/master
2020-04-15T15:32:52.693194
2012-11-13T12:39:28
2012-11-13T12:39:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
186
cpp
AlphaShapeManipulation.cpp
#include "trist.h" void Trist::setVoronoiVertex(OrTri tri, const LongInt& x, const LongInt& y, const LongInt& denominator) { triangles[tri>>3].setVoronoiVertex(x, y, denominator); }
7c7a2f17f2e6254a984e6cdfa68d6e5326ca0123
af0ecafb5428bd556d49575da2a72f6f80d3d14b
/CodeJamCrawler/dataset/13_33_30.cpp
ff1e293fcdf3e7a92b3d59e4dfd7d27d43e14401
[]
no_license
gbrlas/AVSP
0a2a08be5661c1b4a2238e875b6cdc88b4ee0997
e259090bf282694676b2568023745f9ffb6d73fd
refs/heads/master
2021-06-16T22:25:41.585830
2017-06-09T06:32:01
2017-06-09T06:32:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,305
cpp
13_33_30.cpp
#include <iostream> using namespace std; int verificar(char mat[4][4]) { int respuesta=0; int x=5,y=5; int lasx=0,lasy=0; bool haypunto=false; for(int i=0;i<4;i++) { for(int j=0;j<4;j++) { if (mat[i][j]=='T') {x=i;y=j;} if (mat[i][j]=='.')...
5a6b44bde1becb02c86c88bb2739719cda0a9689
23f6ef9ef92bc43e86822363b08c957c074250e4
/src/attribute.cpp
1ac0bd00e92330131647830482b5c0c916435ec5
[ "MIT" ]
permissive
szszss/CharmingTremblePlus
51e2a64984227dd59225a6d53fb116a0cb987154
1f14a100963b4bc846324f0bd7bfbc0751f7e1bd
refs/heads/master
2020-05-21T01:05:53.212814
2014-10-29T08:06:28
2014-10-29T08:06:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,053
cpp
attribute.cpp
#include "attribute.h" #include "entity.h" #include "memory.h" //#include "collection.h" int InitAttributes() { LoggerInfo("Attributes initialized"); return 0; } BOOL AttributeMossySlow::OnUpdate(World &world, Entity *entity) { EntityPlayer* player = (EntityPlayer*)entity; if (player->landed && ((lastLife) < (Ge...
7e3201fdb893ffa27ddfea2d4c6b004b6ae84989
c558cf8bf8f74696925e190a327fcdd3f912eb33
/encoder_information.h
747167022c006e8384252de59421f148abc0e198
[]
no_license
sdusky/encoder_device
4aeb4d3efe0c197cc92b5d6ea11e807cffbdaace
4695e5933e577f750542c573e42ea0b3788f585a
refs/heads/master
2021-01-10T20:57:37.616635
2015-02-26T02:47:14
2015-02-26T02:47:14
28,015,952
1
1
null
null
null
null
UTF-8
C++
false
false
1,430
h
encoder_information.h
#ifndef ENCODER_INFORMATION_H #define ENCODER_INFORMATION_H #include <QObject> #include "encoder_package.h" /** * @brief 信息打包类,生成结构化视频信息包 * 邢大天 2014-12-07 * 邢大天 2015-02-06 * */ class encoder_information : public QObject { Q_OBJECT public: /** * @brief * * @param parent */...
c7d31eb0d9855f46298d1994adc493b11079f6cc
da7dff2101a6af25d2a6070e8e1944ae069a8a69
/game/state/rules/city/ufogrowth.h
5adf75fe60d7a979ad5a51b62c412d1f60bd1b83
[ "GPL-3.0-only" ]
permissive
idshibanov/OpenApoc
2983c72bd07ac1e964fc7a0ba16375834c0ed673
50bffd4d7fcfc58bb27f9983d0a9cdcdf43e09f3
refs/heads/master
2021-05-20T17:15:18.505076
2021-02-20T13:02:06
2021-02-20T13:02:06
61,973,803
2
0
MIT
2020-07-22T13:39:57
2016-06-26T04:35:55
C++
UTF-8
C++
false
false
278
h
ufogrowth.h
#pragma once #include "game/state/stateobject.h" #include "library/strings.h" #include <vector> namespace OpenApoc { class UFOGrowth : public StateObject<UFOGrowth> { public: int week = 0; std::vector<std::pair<UString, int>> vehicleTypeList; }; }; // namespace OpenApoc
2552acad9b35e689a8ae0de8a1b9338ed6fb78a6
90f2191bb8a5c9f82c33a23e34f58d7a2b8e6c96
/Binary Trees/Lab/BinaryTreeDeleteTest.cpp
b110c8be4bed0e77190929a52356fd24ff7a20a4
[]
no_license
Pierce1396/Data-Structures-Algorithms
0e34443eadcff66bc4e17770e5033a736279bbec
86b3b35b192ccc67efb0eef68161e422f0e9ef0e
refs/heads/main
2023-02-02T03:40:19.685273
2020-12-23T18:36:36
2020-12-23T18:36:36
323,976,344
0
0
null
null
null
null
UTF-8
C++
false
false
2,902
cpp
BinaryTreeDeleteTest.cpp
#include <iostream> #include <string> #include <memory> #include "BTree.h" using namespace std; bool checkTest(string testName, bool condition); bool checkTest(string testName, int whatItShouldBe, int whatItIs); void testFindMethod( BTree<int>); void testRightMostNodeSearch(BTree<int>); void deleteTest(BTree<int>); BT...
c0bc3caf3c004b9a6223d896ade03599b6df233c
870208ac28f0c2523e1a0d939e771dc9fcb10b99
/p0.5 Display Array.cpp
b7145d1180fd26ab7af0dc81134827272cc70e9a
[]
no_license
Greco452/Cplusplus-code-examples
47ac3381cd63253394e3ee40ad3f4b6bddab51de
df60b59f95ad79c8c7a988dba89026beb1b00216
refs/heads/master
2021-07-03T21:39:46.445461
2017-09-18T15:44:36
2017-09-18T15:44:36
103,957,456
0
0
null
null
null
null
UTF-8
C++
false
false
1,017
cpp
p0.5 Display Array.cpp
// Course: CS2400-60 Computer Science 2 // Name: Greco, Michael // Assignment: P0.5 // Date assigned: 1/19/17 // Date due: 1/25/17 // Date handed in: 1/31/17 // Remark: This is a program consisting of main and display_array functions. //The main function then calls the display_array function to display the cont...
d43c2261150492ff974e521c7ab5824f306d4dca
04f15913aca8a702efe47962bf82b60eedad73d9
/Lib/DbUi/DbBackupThread.h
f7abf56ac27e02c47d8fc2208e7cbd6955e71834
[]
no_license
DevilCCCP/Code
eae9b7f5a2fede346deefe603a817027a87ef753
9cc1a06e5010bb585876056a727abad48bca3915
refs/heads/master
2021-10-07T17:04:27.728918
2021-09-28T06:49:50
2021-09-28T06:49:50
166,522,458
0
1
null
null
null
null
UTF-8
C++
false
false
1,114
h
DbBackupThread.h
#pragma once #include <QThread> #include <QSet> #include <Lib/Db/Db.h> #include <Lib/Db/DbBackup.h> DefineClassS(DbBackupThread); DefineClassS(DbBackupTc); DefineClassS(FormDbBackup); DefineClassS(DbBackup); class DbBackupTc: public DbBackupController { FormDbBackup* mHost; public: /*overri...
3e77ba6e57abc06d864bdba7f0a007f32bd493bc
7b34793f270945fb20c03d6bd3e2ced13b59f079
/Xcode Build/that game engine/that_game_engine/Math.hpp
3c6012443fc917780f1194b763fb42ddc3b41d71
[ "MIT" ]
permissive
thatgamesguy/that_game_engine
3a1c8fa57d5582ec19bcef111552f12eb669be94
90c80ebb4e890b9e4684ec87841b4bf4e446a3d1
refs/heads/master
2021-12-31T07:11:15.765836
2021-12-10T10:24:26
2021-12-10T10:24:26
120,003,746
88
34
MIT
2021-04-01T16:23:40
2018-02-02T16:21:06
C++
UTF-8
C++
false
false
416
hpp
Math.hpp
#ifndef Math_hpp #define Math_hpp class Mathf { public: static inline sf::Vector2f Normalise(const sf::Vector2f& v) { float l = Magnitude(v); if (l != 0) { return v / l; } return v; } static inline float Magnitude(const sf::Vect...
cb1f0ba2ff87a8ddcbb4b7e0d0ce3d1aa672f6f6
9f561d4ce1646b0818b69087b06813a26bb290a5
/Codeforces/C++/A/653A.cpp
708f170224babc7a598347117d1f4bc226ae47c9
[]
no_license
ahmedfci93/Problem-Solving
b5c34601b59075d5b62aead10b8073b6c00f797c
148e9e29bd4fd3cf6fe9f93a7d90983abb83cd38
refs/heads/master
2018-12-22T15:43:55.405718
2018-10-06T16:28:23
2018-10-06T16:28:23
112,637,571
0
0
null
null
null
null
UTF-8
C++
false
false
428
cpp
653A.cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int i,n,f=0,num; vector<int> t; cin>>n; for(i=0;i<n;i++) { cin>>num; t.push_back(num); } sort(t.begin(),t.end()); t.erase(unique(t.begin(), t.end()),t.end()); int sz=t.size(); for(i=0;i<sz-2;i++) { if(t[i]+1==...
124dc2c1c1889bac80a3c494901eae7aa3667911
4cbd85de1b149a0bb35a90e09160bbcbc935b042
/NOI/sols/E/IP/contest.cpp
5d4f0d4237401cee312e6bffad04c35b97595a02
[]
no_license
Alex-Tsvetanov/Testing-Scripts
cacaaea1642b18f6ea261faa0e19d0cc26a5b6d2
c201f3bf02662a8fb3e862211cbf6f74725dfac3
refs/heads/master
2021-05-13T23:46:17.206320
2018-01-07T00:18:13
2018-01-07T00:18:13
116,525,044
0
0
null
null
null
null
UTF-8
C++
false
false
227
cpp
contest.cpp
#include <iostream> using namespace std; int main (){ long long nBrZ; long long tCasa; long long fz; long long xVr; long long vreme; cin>>n>>t>>fz>>x; vreme=1; for(fz=vreme;tCasa>vreme;nBrZ=xVr*nBrZ) return 0; }
2a339fa3fa7c3eb4b61b7ebe9a8b373e19d01446
ef035816f2fd3f6c5ab32b835b8a6dcbbf097bf6
/src/prototype/simulation/Rate.h
3e7a5e58f4fafa0a769915422682b2dd9815cd0c
[]
no_license
sdellang/ispn-cpp-client-prototype
a71a8e0e01bba43e418773bfae4e19966e430eb9
d8b30456f7c8fe3d9ee888f780bb63ef4b07b522
refs/heads/master
2021-01-19T07:53:42.462635
2013-10-23T16:30:55
2013-10-23T16:30:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
501
h
Rate.h
#ifndef PROTOTYPE_SIMULATION_RATE_H #define PROTOTYPE_SIMULATION_RATE_H #include "prototype/simulation/RateInterval.h" #include "prototype/simulation/RateIter.h" #include <vector> namespace prototype { namespace simulation { class Rate { public: Rate& add(const RateInterval& rate); RateIter...
88081a6df498e7ed9821cf460e01e5080476809d
7e1b9bc535ec774dca11b716dbcd037f9c2acf77
/include/gallery/rsearch_gallery.h
5505ff36a0b7e4e1f314dea112c6386fee8019bd
[]
no_license
ZhengZhuorui/rsearch
5b2424f8f89bd3549f14d5edf339f85606e447c2
1996c762474f2aef22b62eb0463240f5fa2073a4
refs/heads/master
2021-03-12T04:40:03.064320
2020-07-31T15:26:32
2020-07-31T15:26:32
246,590,332
0
1
null
null
null
null
UTF-8
C++
false
false
880
h
rsearch_gallery.h
#pragma once #include "rsearch_def.h" #include "utils/utils.h" namespace rsearch{ template<typename T> class gallery{ public: gallery(){} virtual ~gallery(){} virtual int init() = 0; typedef typename TMap<T>::type Tout; virtual int add(const T* const x, const int n) = 0; ...
44355690f494236e6cd865b386041c01b1091700
c19fbae37e0361d44cbc4ef93df055b336467709
/C++/talkWithMe/mainwindow.cpp
74f3072c55f3b8dc3fb9b47190a8dbc7f9e34b60
[]
no_license
cuidx/codememo
6894bd4668b63c8981ee7a35bd98496b404add13
3bad4d3039a60c1369d74c77962d3b33a14cdbe1
refs/heads/master
2021-09-04T03:00:18.695532
2021-08-13T01:04:35
2021-08-13T01:04:35
104,612,147
0
0
null
null
null
null
UTF-8
C++
false
false
1,700
cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" #include "objectview.h" #include <QDebug> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); ObjectView *view = new ObjectView(this); view->setGeometry(rect()); view->SetResource(QString(...
fa9d14e291dec7453717304617575d9fba919d1b
d2f67d6c5933f96b816a3195401aabd56a4f7f05
/Day_04/ex00/Victim.hpp
3d501d70418d202155b29e8c57305d03c46ba6c9
[]
no_license
florianne1212/CPP_piscine_42
2ce473fdd4cdac4ee100159b80a28ac91426843f
c151616103e606ab05f2f6ac66d5a93b2900591b
refs/heads/master
2023-03-25T03:43:53.828656
2021-03-24T11:15:04
2021-03-24T11:15:04
316,215,698
0
0
null
null
null
null
UTF-8
C++
false
false
446
hpp
Victim.hpp
#ifndef VICTIM_H # define VICTIM_H #include <string> #include <iostream> class Victim { protected: Victim(); std::string _name; public: Victim(std::string name); Victim(Victim const & copy); virtual ~Victim(); Victim & operator=(Victim const & ope); virtual void getPolymorphed() const;...
645ba4d1b98f900fb43a4de9343a8f14ffb65a6a
b42b0be53a4b0a6d0333dc231c0c613dfaa7b321
/Plugins/VRCharacterPlugin/Source/VRCharacterPlugin/Public/VRCharacterBase.h
64370338bd5676201b98b4ce600f29379dde3fba
[]
no_license
saiedbaran/VRCharacter_UE4
8e1fda2138bf18481b3acd5c19c3b328d160168a
34fabe3c3fa1161d1027030a4c141f2a6cd46319
refs/heads/main
2023-03-29T23:08:06.448065
2021-04-06T16:32:29
2021-04-06T16:32:29
326,738,132
1
0
null
null
null
null
UTF-8
C++
false
false
5,089
h
VRCharacterBase.h
// Pawn Class for VR applications in Unreal Engine // Game Lab Graz, Jan 2021 #pragma once #include "CoreMinimal.h" #include "GameFramework/Character.h" #include "VRCharacterBase.generated.h" class USphereComponent; class UVRHandMotionController; class UCameraComponent; constexpr float GripOpen = 0.0f; constexpr ...
5037e3a05daae610299eb0ca34d1daa6902da781
e9d06e6a15a71faca95835d5bedfe1eac290cc63
/libcamera/ExynosCameraActivitySpecialCapture.h
d94723a7f53bc2f11cd34de8bab281e051b1885e
[ "Apache-2.0" ]
permissive
randomstuffpaul/android_hardware_samsung_slsi-cm_exynos5420
3a2a5d1232e823f8a6f9525d3ba5f48cdaa30b3d
d49b27252de467ff93448332585e2ada74395643
refs/heads/cm-13.0
2021-01-15T18:45:59.045047
2016-09-14T02:12:46
2016-09-14T02:12:46
68,110,096
2
0
null
2016-09-13T13:19:23
2016-09-13T13:19:23
null
UTF-8
C++
false
false
3,373
h
ExynosCameraActivitySpecialCapture.h
/* * Copyright 2012, Samsung Electronics Co. LTD * * 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 ...
98a4603d3fe35545b562aeaeb488887a0bc1feb1
0ba59fda936961754036920538a7d7a02446b642
/debug.h
6527b6126aff0db239105bc95ba22d9ac0cfca02
[]
no_license
okdshin/SavageOld
c00d53c504bb79df07f496f3f04d43b1912e8910
7c07f3d9b13226da79211404422390497b719315
refs/heads/master
2023-06-10T08:26:59.964985
2014-04-17T13:43:29
2014-04-17T13:43:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
355
h
debug.h
#ifndef SAVAGE_DEBUG_H #define SAVAGE_DEBUG_H //20140326 #include <iostream> #define SAVAGE_DEBUG_PRINT(Message) \ std::cout << "DEBUG: " << Message << std::endl; #define SAVAGE_DEBUG_DEFAULT_IMPLEMENTATION_USED_NOTATION \ std::cout << "DEBUG: " << __FILE__ << ":" << __LINE__ << ": default implementation used" << s...
af273662e8e04bf97261aa4072647b879275cacb
051c01825ff71f40b177796cb4a5a5f597ce41dc
/SETools/SEToolsCommon/SECollada/SEColladaAnimationChannel.h
fe823ade0e048faa47ceece3febf36b2b9789a21
[]
no_license
jazzboysc/SwingEngine1
896d1df24d7012308ad67bf4e86bf46383492c87
48f229ce2f1750756010a9db5e340e819b28b7ef
refs/heads/master
2020-06-02T16:09:24.663829
2015-07-31T05:19:29
2015-07-31T05:19:29
39,988,059
0
1
null
null
null
null
UTF-8
C++
false
false
2,511
h
SEColladaAnimationChannel.h
// Swing Engine Version 1 Source Code // Most of techniques in the engine are mainly based on David Eberly's // Wild Magic 4 open-source code.The author of Swing Engine learned a lot // from Eberly's experience of architecture and algorithm. // Several sub-systems are totally new,and others are re-implimented or // re...
dac833d22254c9d7e60aa5ee6f6eaa5d486cc41f
337d83b40f9795f909c1a9355fe074c51053fca9
/leetcode/find_first_and_last_position_of_element_in_sorted_array.cpp
c6a1627654601a54d8998a0ddda9b97067bdedd3
[ "MIT" ]
permissive
alexandru-dinu/competitive-programming
022d61f1901d91c75e9424f5ce04f4119e5692ac
4515d221a649b3ab8bc012d01f38b9e4659e2e76
refs/heads/main
2023-08-21T20:36:08.146902
2021-11-04T16:05:31
2021-11-04T16:05:31
328,739,204
0
0
null
null
null
null
UTF-8
C++
false
false
1,206
cpp
find_first_and_last_position_of_element_in_sorted_array.cpp
// https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array class Solution { public: int bs(const vector<int> &nums, int target) { int l = 0, r = nums.size() - 1; int mid; /* * default value = array size * intuitively, if x >= target is ...
dbc0e5c6cb06e15e4334764cade3ad2c80c17dc2
e6f8c63578c8617cf13794c921aff29ff6c56230
/io/printf.hpp
d198f71b4b51db5d0fb4934648a7fa7d20cf9f4a
[]
no_license
simonask/grace-base
8b76c60c9b3d1eae0b32d9dd3432d6d2ccb669ea
ab5a0fd4fc7583c3f3b59f2c18770f5fe0a9abc5
refs/heads/master
2021-03-13T00:01:01.765633
2013-10-03T14:46:40
2013-10-03T14:46:40
12,755,495
2
0
null
null
null
null
UTF-8
C++
false
false
1,887
hpp
printf.hpp
#pragma once #ifndef GRACE_PRINTF_HPP_INCLUDED #define GRACE_PRINTF_HPP_INCLUDED #include "io/formatted_stream.hpp" #include "base/string.hpp" #include "base/parse.hpp" #include "base/regex.hpp" #include "memory/static_allocator.hpp" #include <array> namespace grace { struct IWriteToFormattedStream { virtual void w...
6da5a808aba0d6a16f3a53c576be6980744932b8
23ec7aa0c7f56175529b342673be9d2a956804d9
/include/RealSenseID/UserFaceprints.h
4b1910661340394a533fb2e98b8152af78631629
[ "Apache-2.0" ]
permissive
NoahRosa/RealSenseID
4bef4d3e0408062140ad0ccd49444720848d9fbe
8710465c534b0825cc0ec90eaccb4c83d8862928
refs/heads/master
2023-07-18T16:48:22.408538
2021-08-30T10:14:30
2021-08-30T10:14:30
385,933,413
0
0
Apache-2.0
2021-08-30T14:19:28
2021-07-14T12:32:06
C++
UTF-8
C++
false
false
652
h
UserFaceprints.h
/******************************************************************************* INTEL CORPORATION PROPRIETARY INFORMATION This software is supplied under the terms of a license agreement or nondisclosure agreement with Intel Corporation and may not be copied or disclosed except in accordance with the terms of that agr...
8f305400d71d24f6863ffa80c92e8f50aab83b1a
425548609102bd655c4eff66b066321fef6bb3de
/enterdialog.cpp
e8a11ec0efd6260335830240200f61bc17927e05
[]
no_license
anhcx0209/GraphIO
4fad545b033bcf3a4092633dab53ce21a05179f1
fea7d56153ce0c3ad3d2b0895020dd6d5baecbc1
refs/heads/master
2021-01-20T13:42:13.828593
2017-05-18T10:42:02
2017-05-18T10:42:02
90,514,673
0
0
null
null
null
null
UTF-8
C++
false
false
2,301
cpp
enterdialog.cpp
#include "enterdialog.h" EnterDialog::EnterDialog(QString name) { name_ = name; data_ = 0; number_edges_spinbox_ = new QSpinBox; number_vertexs_spinbox_ = new QSpinBox; table_view_ = new QTableView(); QHBoxLayout *tableLayout = new QHBoxLayout; tableLayout->addWidget(table_view_); QL...
1e1101d14f85948cef48634e81ce1ea0da428181
c950ab1606311abbe3c4de455077bf8d54e9596e
/main.cpp
b370389d6e9c6122246cde0a464588ad339e1880
[]
no_license
Pwera/Executors
ae7fa9f4ab8ec597ebe43dc76ffb9e5bdabdbdb3
276998f5d318e119a342c9a4cce1b469b76ef656
refs/heads/master
2020-12-31T07:19:47.797177
2017-08-04T07:51:45
2017-08-04T07:51:45
56,632,301
1
1
null
2018-10-20T18:52:08
2016-04-19T21:10:43
C++
UTF-8
C++
false
false
841
cpp
main.cpp
#include "headers.h" #include <atomic> #include <functional> #include <future> #include <set> #include <thread> #include <utility> #include <vector> #include <thread> #include <chrono> int main(){ //just for terminal clearance std::this_thread::sleep_for(std::chrono::milliseconds(3000)); // sys...
cdef66d37dfe11e0d674cc33ec0c1dd8997c390c
2fcee87709417717620d2ca4131f96e29c0bc320
/Codeforces/vjude_B.cpp
39df2e20bac557f5e105c0e32476d6e3d1391117
[]
no_license
Jaminur-Rashid/Problem-Solving
7b502b03c5eea180282adcaad1b74ab526c92f12
c651c9e810dba6a8f4b1ece6a3c27554d4a49ac0
refs/heads/master
2023-07-27T15:22:14.744541
2021-09-09T12:13:13
2021-09-09T12:13:13
404,700,331
1
0
null
null
null
null
UTF-8
C++
false
false
961
cpp
vjude_B.cpp
#include<bits/stdc++.h> #include<utility> #include<algorithm> #include<map> #include<vector> #include<cmath> using namespace std; typedef long long ll; #define pb push_back #define PI acos(-1.0) #define MAX 10000007 //1e7+7 #define rep(X,Y) for (int (X) = 0;(X) < (Y);++(X)) //#define rrep(X,Y) #define rrep(X,Y) for(in...
1859d1308b3dc07d895784a80a45388c4faf9eae
51ad6a4afb352752fb79ccc130b6ee2ab16a7b17
/LLParsing/parser-generator.cc
1a56f2fe5d1d79b9b8e76af8f1928d132e11b89b
[]
no_license
hechangqing/ParsingTechniques
2b969b1d7cf9876c03ce8f722b8e70a980459be0
9dce0889d8e6b1c1eb4000ff607e9872e2b66530
refs/heads/master
2021-05-26T16:06:12.533575
2020-07-19T05:55:20
2020-07-19T05:55:20
254,130,773
0
0
null
null
null
null
UTF-8
C++
false
false
32
cc
parser-generator.cc
#include "parser-generator.h"
a3874553e3f82238c37a3dbfff591b04c16f51dc
1b78473394bc01af38ccc6161375ab5ffc016c02
/libctrpf/source/CTRPluginFrameworkImpl/Graphics/Renderer_Sysfont.cpp
456c136a6fdb8d95607663ff2e30fa2dbabbbe8c
[ "MIT" ]
permissive
RedShyGuy/Vapecord-ACNL-Plugin
70080dd2ea8e4921bebf24a42b70451a27a143e2
e57d1e56c3a36276f78eee98e003272ae9624a08
refs/heads/master
2023-08-21T12:51:26.345266
2023-08-14T00:30:09
2023-08-14T00:30:09
203,736,413
90
16
MIT
2023-07-13T03:57:20
2019-08-22T07:15:13
C++
UTF-8
C++
false
false
20,124
cpp
Renderer_Sysfont.cpp
#include "types.h" #include "CTRPluginFramework/Graphics/Render.hpp" #include "CTRPluginFrameworkImpl/Graphics.hpp" #include "CTRPluginFrameworkImpl/Graphics/Font.hpp" #include "CTRPluginFrameworkImpl/Preferences.hpp" #include <algorithm> namespace CTRPluginFramework { extern "C" CFNT_s* g_sharedFont; extern ...
7bb78caaacfb2e7372f9e4e8a62cfea163a3c9d4
a2e4e437e39f6280a889d31fa58fd5d52563ec10
/HelloWorldVCpp/CommonLibrary/CommonLibrary.Android/CommonLibrary.Android.cpp
cae4d23d2ca2feb9361970da595c24b14cf5156d
[ "MIT" ]
permissive
bobbyz-dk/cross-cpp-hello
e632c22fa83765dcce0b71fcdbba7565073ed20f
75525b0119877cb0b37f304093b2146419b5ec7c
refs/heads/master
2020-12-24T14:54:11.454495
2015-06-14T18:27:05
2015-06-14T18:27:05
31,918,951
0
0
null
null
null
null
UTF-8
C++
false
false
385
cpp
CommonLibrary.Android.cpp
#include "CommonLibrary.h" #include "CommonLibrary.Android.h" CommonLibraryAndroid::CommonLibraryAndroid() { lib = new CommonLibrary(); } CommonLibraryAndroid::~CommonLibraryAndroid() { } char * CommonLibraryAndroid::getTemplateInfo() { return CommonLibrary::getTemplateInfo(); } std::string CommonLibraryAndroid::...
2cb8c23aa9a90c781ed45b24a65c3da7daf7c8d6
40fc6cfdadbc09d0d0f69aaceeb6c9400e9f29d8
/tests/main.cpp
a9c4b89c92bef6b30d465e000907af143f1ab127
[]
no_license
Kevincav/Data_Trends
611d6b30f9c6d19f6fa65af035e3a893103ae789
a049a9591dc104c52f9a70cebce6d19e177da83f
refs/heads/master
2016-09-05T17:08:49.982246
2014-03-19T22:57:30
2014-03-19T22:57:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
271
cpp
main.cpp
#include <iostream> #include <random> #include <vector> #include "../src/Graphs.hpp" #include "../src/Parser.hpp" int main(int argc, char *argv[]) { Parser p(argv[1]); Graphs g(p.getMatrix()); std::cout << g.calcSalery(95) << std::endl; return 0; }
b2ee0022d92473a8ed4da597a5bfa2727991bc83
a9d89247d9c49ce51e2b74a8fd8cded95123cd5d
/icebox/sync_host_context.h
c36e4e49f427f2bbc6c9dbd35ffb856182f805c8
[]
no_license
lubing521/librhino
e021062a3fa4b947487cd62bec6a09cf122128c3
08983a744fe01dc4446168d46cdee4f532b974cd
refs/heads/master
2022-01-16T03:12:02.189216
2014-11-21T01:28:32
2014-11-21T01:28:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,389
h
sync_host_context.h
#ifndef RHINO_ICEBOX_SYNC_HOST_CONTEXT_H_ #define RHINO_ICEBOX_SYNC_HOST_CONTEXT_H_ #include "base/gtest_prod_util.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" namespace net { class URLRequestContextGetter; } // namespace net namespace remoting { class AutoThreadTaskRunner; } namespac...
daf85046ce52d813261ad019620e4f926171ff81
fded81a37e53d5fc31cacb9a0be86377825757b3
/additionally/rpod_v.cpp
3f12af1aa96de4e712e232013627d5ad4821ad54
[]
no_license
iceblinux/iceBw_GTK
7bf28cba9d994e95bab0f5040fea1a54a477b953
a4f76e1fee29baa7dce79e8a4a309ae98ba504c2
refs/heads/main
2023-04-02T21:45:49.500587
2021-04-12T03:51:53
2021-04-12T03:51:53
356,744,886
0
0
null
null
null
null
UTF-8
C++
false
false
10,892
cpp
rpod_v.cpp
/*$Id: rpod_v.c,v 1.15 2013/08/13 06:10:25 sasa Exp $*/ /*12.01.2006 29.04.2004 Белых А.И. rpod_v.c Ввод и корректировка сальдо по счетам */ #include <stdlib.h> #include <ctype.h> #include <unistd.h> #include <time.h> #include "i_rest.h" #include "rpod.h" gboolean rpod_v_key_press(GtkWidget *widget,GdkEventKey *eve...
7e724b5506550478986db04ca84349d888ff7e4d
f1bd4d38d8a279163f472784c1ead12920b70be2
/xrLC/Occlusion/_vector3d.h
d6af4e7f0220c10b6b9a0b041a0b7730af1dca68
[]
no_license
YURSHAT/stk_2005
49613f4e4a9488ae5e3fd99d2b60fd9c6aca2c83
b68bbf136688d57740fd9779423459ef5cbfbdbb
refs/heads/master
2023-04-05T16:08:44.658227
2021-04-18T09:08:18
2021-04-18T18:35:59
361,129,668
1
0
null
null
null
null
UTF-8
C++
false
false
5,209
h
_vector3d.h
#ifndef __V3D__ #define __V3D__ typedef struct _vector { public: union { struct{ float x,y,z; }; float m[3]; }; __forceinline D3DVECTOR *d3d(void) { return (D3DVECTOR *)this; }; __forceinline void set(float _x, float _y, float _z) { x = _x; y = _y; z = _z; }; __forceinline void set(_vector &v)...
f91fb2ad3d27207fe2393e655568df1f2bcb23a1
9918520b3e6fee65fef2ac82d7de7ba65cef8d65
/libs/geometry/OBB.h
12eae5f2161ed76e571b88908141b6d2de087b58
[]
no_license
jijinlong/shaobohou-cppcodes
e93e430130216a992471c989764a9e41cc850856
bb1357f4a7513919f74fcd1c36089aa376fd0e6d
refs/heads/master
2021-01-10T09:51:59.535408
2012-03-04T16:39:04
2012-03-04T16:39:04
48,173,421
0
1
null
null
null
null
UTF-8
C++
false
false
1,268
h
OBB.h
#ifndef OBB_H #define OBB_H #include "Vector3D.h" #include "Quaternion.h" #include "ConvexHull.h" class OBB { public: OBB(); OBB(const Quaternion &orientationOffset, const Vector3D &centreOffset, const Vector3D &extents); OBB(const Vector3D &position, const Quaternion &orientation, const ...
827f65cb70d26ede70a7831522eda84fcfd7badd
b6c61fe159f9ac42a693c6372c243565aad2edec
/comp345game/IPlayerType.h
701a4e3fb3e96f3bf904217944133b2566923377
[]
no_license
anthroe/KingOfNewYorkGame
9b874f18292e90953ba2a4fe6f042e95c6d59b61
02f15c5b9cd7227303d0e4db9be03ea2b0eba056
refs/heads/master
2020-03-28T14:55:27.083722
2018-12-03T04:44:33
2018-12-03T04:44:33
148,536,445
0
1
null
null
null
null
UTF-8
C++
false
false
730
h
IPlayerType.h
#pragma once #include "player.h" #include "deck.h" class player; class IPlayerType { public: virtual void rollDice(player*); virtual void resolveDice(player*); virtual void move(player*); virtual void chooseStartingRegion(player*); virtual void buyCards(player*); }; class aggressiveBot : public IPlayerType { p...
c6bc8f59191a47c29f0b8444438e44177822b8cb
41fd2e43649ccc2c9cdd6bbcddf159babdf36dba
/compass/regressions/C++/References 5/test.cpp
ba0b57af3b1ddd12301bff6fa1f2994f730767a0
[]
no_license
fredfeng/compass
84d37183c11692da77b3c8cf7666c15a5b524390
3063df1a86e9473bbd62d52e9002743fd7e90c3b
refs/heads/master
2020-04-10T11:57:17.616921
2015-03-10T16:54:21
2015-03-10T16:54:21
31,969,036
0
1
null
null
null
null
UTF-8
C++
false
false
202
cpp
test.cpp
#include <stdlib.h> class Foo { int x; public: Foo(){x = 5;}; virtual int get_x() {return x;}; }; void test_reference() { Foo x; Foo & y = x; static_assert(y.get_x() == 6); //should fail }
bfcf09e64cc221188708b535fd3f922e5d1de4ce
668fa4c7a0d0595dd114f5f36d89146e35bac4d4
/src/viz/ReadCSV.h
647d9d9bd0e6ef3664f91b0bab5f377fd2804c29
[]
no_license
sippeangelo/dota2viz
b537b678a578166b0b192379b0218534893674a2
1d2941f8d6adc2c6b96f8c67a2356d3526610183
refs/heads/master
2020-05-23T14:50:30.346631
2015-03-18T22:37:53
2015-03-18T22:37:53
32,207,234
0
0
null
null
null
null
UTF-8
C++
false
false
246
h
ReadCSV.h
#include <iostream> #include <string> #include <tuple> #include <vector> #include <boost/filesystem.hpp> struct Data { double x; double y; double team; double time; }; class ReadCSV { public: std::vector<Data> read(std::string path); };
1ce978a56bd3046d499242803fdc1b1e30229205
b902f7edd4dd21bbd5644be7bfb8a0bca7f065cd
/shader_stuff.h
af8d3dc43c20cd513ab077fc54f5aaf4dc932aa2
[]
no_license
kubzoey95/OpenGLProjekt
b2037ccb2e05744f774e3b11c12692420a418900
20a59f13afc7d792d62be25f33635277823db152
refs/heads/master
2023-01-04T12:50:31.499978
2020-11-03T20:24:15
2020-11-03T20:24:15
309,771,556
1
0
null
null
null
null
UTF-8
C++
false
false
40,859
h
shader_stuff.h
#ifndef __SHADER_STUFF #define __SHADER_STUFF #define M_PI 3.14159265358979323846 // References: // https://www.opengl.org/sdk/docs/tutorials/ClockworkCoders/loading.php #include <fstream> #include <string> #include <stdio.h> #include <iostream> #include <vector> #include "texture_loader.hpp" #include <stdio.h> #inc...
cc770c99182ee774d70070660a893f14c773a9ca
8b3186e126ac2d19675dc19dd473785de97068d2
/bmt_prod/util/bezier.h
b4073d982237223238b6f5e3a7c840edecdb47aa
[]
no_license
leavittx/revenge
e1fd7d6cd1f4a1fb1f7a98de5d16817a0c93da47
3389148f82e6434f0619df47c076c60c8647ed86
refs/heads/master
2021-01-01T17:28:26.539974
2011-08-25T20:25:14
2011-08-25T20:25:14
618,159
2
0
null
null
null
null
UTF-8
C++
false
false
468
h
bezier.h
#pragma once #include "../globals.h" class BezierCurve : public Curve { public: BezierCurve(); ~BezierCurve(); void destroy(); //point = piste, tangent = suunta (sisältää jo pisteen paikan) void startCreation(); void addPoint(Vector3 &point, Vector3 &tangent); void endCreation(); Vector3 getValue(float t); ...
a1187c4507107eb2a2896f601f3adeb71d11ed59
e1522f45a46820f6ddbfcc699379821e7eb660af
/codeforces.com/Codeforces Ladder 1500-1599/0275B.cpp
5c6960722fe70ab769d53293c9654e21fd9c3ad1
[]
no_license
dmkz/competitive-programming
1b8afa76eefbdfd9d5766d5347e99b1bfc50761b
8d02a5db78301cf34f5fdffd3fdf399c062961cb
refs/heads/master
2023-08-21T00:09:21.754596
2023-08-13T13:21:48
2023-08-13T13:21:48
130,999,150
21
12
null
2023-02-16T17:43:53
2018-04-25T11:54:48
C++
UTF-8
C++
false
false
2,465
cpp
0275B.cpp
/* Problem: 275B. Convex Shape Solution: dynamic programming, brute force */ #include <iostream> #include <algorithm> #include <string> #include <vector> #include <cassert> int main() { int nRows, nCols; scanf("%d %d", &nRows, &nCols); std::vector<std::vector<bool>> arr(nRows, std::vector<bool...
4c555577f527fe90e7701088bf68be7bc04d4260
c3782a52da4479a5ca3d0131cbacd3ff23cea572
/Codeforces/contest/554/a/14710701.cpp
6a0ec8370901417851a525314ccdb0bb285e93e2
[]
no_license
misclicked/Codes
5def6d488bfd028d415f3dc6f18ff6d904226e6f
1aa53cf585abf0eed1a47e0a95d894d34942e3b1
refs/heads/master
2021-07-16T00:28:05.717259
2020-05-25T06:20:37
2020-05-25T06:20:37
142,436,632
6
0
null
null
null
null
UTF-8
C++
false
false
158
cpp
14710701.cpp
#include<bits/stdc++.h> using namespace std; typedef long long LL; int main(){ string input; cin>>input; cout<<input.size()*25+26<<endl; }
c6fe66fc102be505bd7cb6eb0b40dd1b4181a395
041688683f349dd00d0c47e4444e8178184a813c
/Bombillo_con_aplausos_recomendado.ino
daf12b1ed9a48a275dc8654ea6b3314a9050579b
[]
no_license
EstebanCP2003/EstebanCP2003
64f46474656ca32ac518bb1b8aff90f7657caca7
2a62c3ca439ef8763e48b6d7e910280f4db4f53f
refs/heads/main
2023-06-29T22:36:47.771045
2021-08-06T17:52:42
2021-08-06T17:52:42
392,820,055
0
0
null
null
null
null
UTF-8
C++
false
false
175
ino
Bombillo_con_aplausos_recomendado.ino
void setup() { pinMode(2, OUTPUT); pinMode(A0, INPUT); } void loop() { if(analogRead(A0) > 600) { digitalWrite(2, !digitalRead(2)); delay(1000); } }
d934dc232fec94ddb47dab63abeaccc924a30ef2
eb827d7993b146cf507b57a45e420fffdf641eef
/tinkoff/2020/data_structures1/e2.cpp
a949ce4cd956362e1c37ace7c73b609d6ac43345
[]
no_license
khbminus/code2020
dfdbcae71d61d03d4457aad47ff7d4136e6fcc1e
a0d2230b0905df79ba78cb98353f4ba03f16e8b0
refs/heads/master
2023-07-16T16:08:20.629283
2021-08-29T20:35:14
2021-08-29T20:35:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,818
cpp
e2.cpp
#include <iostream> #include <vector> #include <stdio.h> #include <algorithm> #include <set> #include <limits.h> using namespace std; #define int long long int maxn, logn; struct e { int a = -1, b = -1, c = -1; }; int n, d; vector<vector<int>> t; vector<e> lst; void rel(vector<int> &cur, int x) { vector<in...
50fe0dc1a0a352d8d701c9ce70d10e3f6f5a12b5
e51d009c6c6a1633c2c11ea4e89f289ea294ec7e
/xr2-dsgn/sources/xray/editor/base/api.h
5463deca05bfb949cf9aaac36378def289ff7138
[]
no_license
avmal0-Cor/xr2-dsgn
a0c726a4d54a2ac8147a36549bc79620fead0090
14e9203ee26be7a3cb5ca5da7056ecb53c558c72
refs/heads/master
2023-07-03T02:05:00.566892
2021-08-06T03:10:53
2021-08-06T03:10:53
389,939,196
3
2
null
null
null
null
UTF-8
C++
false
false
584
h
api.h
//////////////////////////////////////////////////////////////////////////// // Created : 14.07.2010 // Author : Sergey Pryshchepa // Copyright (C) GSC Game World - 2010 //////////////////////////////////////////////////////////////////////////// #ifndef XRAY_EDITOR_BASE_API_H_INCLUDED #define XRAY_EDITOR_BASE_API_H...
81ebc0db7d91dc1e878c977bd76634475a979eab
c5bde0e881594d1208f397f0317c2e02fd33d164
/main.cpp
986789e1e77027c2cd6c88099b56bb8e25dbadb9
[ "MIT" ]
permissive
FascodeNet/lightdm-greeter-dbus-server
df75ac9cc7b6279152118d2d743ac3952b736a59
b62a709a24f662e895208da4fe18beeb199ab14e
refs/heads/master
2023-03-03T21:05:29.194304
2021-02-11T03:50:40
2021-02-11T03:50:40
337,392,507
0
0
null
null
null
null
UTF-8
C++
false
false
1,354
cpp
main.cpp
#include <QCoreApplication> #include "lightdmobject.h" #include "dbus_lightdm_server.h" #include "greeter_subprocess_runner.h" #include "settings_manager.h" #include <QCommandLineParser> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QString pathBase = "net.fascode.lightdm.greeter_dbus."; ...
0b9e7b2ed04d28d5aee9dd91876881ea26da13f6
9a72c6c2754e86f0de7014e824ffc42917c63a7a
/original_backup/rank_based_selection.cxx
e8a1ac7fa7d8bb720f075653617f8f8aa8828a30
[]
no_license
sentinel88/IDP
305461f689af12c22e23b978d00933a1f24f370c
01d2a9e446cd797d69ee8c7b4ce79dc5108e3392
refs/heads/master
2016-09-10T01:03:04.908517
2015-10-12T19:03:27
2015-10-12T19:03:27
34,963,959
0
0
null
null
null
null
UTF-8
C++
false
false
10,926
cxx
rank_based_selection.cxx
#include <defs.h> #include <data.h> #include <funcs.h> #ifdef RANK_BASED_SELECTION int assign_selection_rb_prob(candidate *ga_cand, int size) { int i; int fitness = size; int total_fitness = (size * (size+1))/ 2; for (i=0; i<size; i++) { ga_cand[i].selection_prob = (float)(fitness)/(float)total_fitne...
fed23291254f67ec5a72892c33238d1802f145ac
e055052d3aaaad2da20f0cc2ffabd06e8b134861
/Direct3D_11/Sunrin_Engine_D3D11/Engine/SR_Input.cpp
8f531707866be78ecc091509ead894e72cc0ae64
[ "MIT" ]
permissive
shh1473/Sunrin_Engine_2019
e911d7e34717445ee4455fa1642bf32e8560df8d
182f7c9bae5bdd2d0e8bda792d672138abb4f9b4
refs/heads/master
2023-07-08T17:06:52.687553
2023-06-27T09:13:39
2023-06-27T09:13:39
160,938,238
0
0
null
null
null
null
UTF-8
C++
false
false
2,203
cpp
SR_Input.cpp
#include "SR_PCH.h" #include "SR_Input.h" #include "SR_App.h" namespace SunrinEngine { SR_Input::SR_Input() noexcept : m_oldKeyState {}, m_nowKeyState {}, m_oldMouseState {}, m_nowMouseState {}, m_directInput { nullptr }, m_keyboardInput { nullptr }, m_mouseInput { nullptr } { } bool SR_Input::Ini...
bd86ef4e6e5449fcc99320e5c5d1f08eef4b8339
f583498f66102429f6dd5b38ed79df546b665a91
/KonkurensTCPSzerver/SysThread.h
773ea3adf2bf6621cd55c74af1aaedcafd22991c
[]
no_license
bartaliskrisztian/chat-server
4e4197d89c0e34a6d9481d2d676669e9b4d5718c
7138ae8d05583caa8b81c2042fa69937dd29008f
refs/heads/master
2023-06-02T23:48:52.661414
2021-06-19T11:56:42
2021-06-19T11:56:42
327,062,083
0
0
null
null
null
null
ISO-8859-2
C++
false
false
691
h
SysThread.h
#pragma once #include <windows.h> class SysThread { public: SysThread(void); virtual ~SysThread(); virtual bool start(void); virtual bool stop(unsigned int timeout = 0); inline volatile bool& isRunning(void) { return m_bRunning; } inline volatile bool& isExited(void) { return m_bExited; } protected: vi...
d9580881da7b2006d22a857dbd1557cd7da569df
fe58581d25467deb5ca2e87cfdd93894b643f5ca
/dll断链/Source/AirLib_Match/AirLibRunOneInstance.cpp
7aa8089f5fd257af6844015a9060880e26671f68
[]
no_license
radtek/dll-
2de55cabb7989a72aeba7aa2ecf02d36e0d18624
523b43dcb4c4e5b35d89ecb68a996fcb43a3f8d7
refs/heads/master
2020-06-14T09:59:37.419795
2015-07-31T08:45:36
2015-07-31T08:45:36
null
0
0
null
null
null
null
GB18030
C++
false
false
775
cpp
AirLibRunOneInstance.cpp
#include <Windows.h> #include "AirLibRunOneInstance.h" #include "logfile/LoLHelperLocalLog.h" //本dll只运行一个实例检测 static const char* strSemOnlyRunOnce = "AirLibDLLstrSemOnlyRunOnce"; static HANDLE hOnlyRunOnce = 0; BOOL AirLibOnlyRunOnceInit() //有一个AirLib在运行,如果是的话,返回FALSE { hOnlyRunOnce = OpenSemaphoreA(SEMAPHORE_ALL_AC...
943fd9f880f0a1de268a4a033ebddbc17b6c981c
28e2d2e153fe265988b232c46f694b03e339c030
/src/control/utils.h
41bc086c0ed221d620947c60176f9d87ba0d9225
[]
no_license
NhielECE/Lunabotics_ROS
4bde0cdf6c457446032d774912ef3ae1ac11a1fe
7a3f3adb437792b552f18eb9d864cfaebcc711c3
refs/heads/master
2020-05-20T10:08:35.877953
2013-07-11T03:55:44
2013-07-11T03:55:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
179
h
utils.h
#ifndef _UTILS_H_ #define _UTILS_H_ #include <vector> namespace lunabotics { std::vector<double> lowpassFilter(std::vector<double> values, float dt, float smoothing); } #endif
fa9e969a3686ee20070e3f9693f1b76fd3135f96
781682cc989137a8f5b6a396032142bfc6856379
/Теория графов/Определения/adj_matrix->vert_list/main.cpp
b16e5311ae6a11baa9f6c305efa813bb1860bcdd
[]
no_license
agafonovartem/Competitive_programming
ff3a1d5b6156fc21e4b4023d7f595ba23d663d68
eb131c8abf1bc6a3a671670b262d084935fa4d90
refs/heads/master
2022-12-03T05:57:03.048767
2020-08-23T17:43:33
2020-08-23T17:43:33
288,933,632
0
0
null
null
null
null
UTF-8
C++
false
false
654
cpp
main.cpp
#include <iostream> #include <vector> #include <set> using namespace std; int main(int argc, const char * argv[]) { ios_base::sync_with_stdio(0); cin.tie(0); int n; cin >> n; vector<pair<int, int>> vert_list; for (int i = 1; i <= n; i++){ string s; cin >> s; for (in...
5dbe97841cbcdb586757fae72e376932e8aeabe9
6dc788234a360c41864930ccf27d3af33b774492
/memory_block.h
0f91a60bde0e50fc2ddb9b5b05e461ed5412d14f
[]
no_license
nidhibelur95/Memory-Management-System
48153714d48d0f5124bedbd94bbca3bd0c2d61f2
252b082ec093c7f4fbc1cf1dc46562414c72f6ef
refs/heads/master
2021-08-22T09:50:38.588776
2017-11-29T22:39:11
2017-11-29T22:39:11
112,507,505
0
0
null
null
null
null
UTF-8
C++
false
false
1,031
h
memory_block.h
// Created by nbelur on 11/16/17. /* Creating an interface to work with memory blocks. These blocks are added into the dynamically allocated mms space with their address and size defined for easier access. */ #ifndef MMS_MEMORY_BLOCK_H #define MMS_MEMORY_BLOCK_H #include <string> namespace mms { using namespace st...
8ddb9f01b1a2382170624ba65721a059d1344353
836239167d8ef7542b680d527866dff76fe7902a
/Poisson.cpp
d972fa5c4caebe1e271e368f2d11b6a87f9e31f3
[]
no_license
apsgk9/final-save1
c6f958173674338e07614f8dfc5c6a0301e86981
c9a38f91cb3009bb63df1a76b8302f7c87cfa4da
refs/heads/master
2022-07-14T07:00:14.353100
2020-05-10T03:41:02
2020-05-10T03:41:02
261,906,258
0
0
null
null
null
null
UTF-8
C++
false
false
4,366
cpp
Poisson.cpp
#include "Poisson.h" Poisson::Poisson(const string input_file, const string output_file, double forcing_function) : file_input(input_file), file_output(output_file), image(retrieve(file_input)), A(createPoissonAMatrix(image)), compact_A(A), b(createBvector(forcing_function,A.rows())) {} vector<double> Poisson::c...
978cc642e133ff4c53e86c7202559539d0ac582f
253b2cb5d2acdcee2dedef39d0e18c5e9355c951
/src/mlpack/methods/ann/init_rules/zero_init.hpp
b4538b76a58a5fc906de458b8293ef1507cb6a30
[ "BSD-3-Clause" ]
permissive
varunnagpaal/mlpack
f49d3db4d65153c0d705309464bb3e4458dcb781
cd5986e141b41781fdc13a9c89443f9be33b56bd
refs/heads/master
2021-01-17T21:13:08.956324
2015-12-15T01:16:32
2015-12-15T01:16:32
48,117,626
2
0
null
2015-12-16T15:13:09
2015-12-16T15:13:09
null
UTF-8
C++
false
false
1,489
hpp
zero_init.hpp
/** * @file zero_init.hpp * @author Marcus Edel * * Intialization rule for the neural networks. This simple initialization is * performed by assigning a zero matrix to the weight matrix. */ #ifndef __MLPACK_METHODS_ANN_INIT_RULES_ZERO_INIT_HPP #define __MLPACK_METHODS_ANN_INIT_RULES_ZERO_INIT_HPP #include <mlpac...
863e6450d6f23cc944c89adda6fc28e317c1ab06
678f05bcf766f085e24dacbdffadca587fd74c05
/modules/gin_dsp/dsp/gin_oscillators.cpp
5ab2672dbfc9e38cc1e57dd01610f5acd4ced287
[ "BSD-3-Clause" ]
permissive
FigBug/Gin
7771a68a4830638dc91cf1de450479a258061b29
d85397a3a16cd987b1c3d2d558ac8b0fd68618bb
refs/heads/master
2023-09-04T08:16:57.144381
2023-09-03T20:18:43
2023-09-03T20:18:43
117,844,713
176
30
BSD-3-Clause
2022-12-20T23:25:21
2018-01-17T14:06:47
C++
UTF-8
C++
false
false
3,836
cpp
gin_oscillators.cpp
/* ============================================================================== This file is part of the GIN library. Copyright (c) 2019 - Roland Rabien. ============================================================================== */ //========================================================================...
b989137e4244fc2797d5337cbee33db6b143a21c
c9eb7d56b539faf0c820751a697663a1b4d3f7e0
/NNKit/CommonTools/interface/TreeData.h
044ee547d0e7a67093c0cb35afafa89b74ba622e
[ "Apache-2.0" ]
permissive
ashrafkasem/cmg-cmssw
450638fe7fd31283604b21cde8f9e4d5bb95a2f3
e29f0e064eefc0306c71c3e984d5733eed6a0e1e
refs/heads/heppy_94X_dev
2022-12-31T13:22:16.833971
2019-02-27T11:27:53
2019-02-27T11:27:53
109,702,769
0
0
null
2019-02-27T12:18:16
2017-11-06T14:03:15
C++
UTF-8
C++
false
false
5,712
h
TreeData.h
/* * TreeData.h * * Created on: May 23, 2017 * Author: hqu */ #ifndef NTUPLECOMMONS_INTERFACE_TREEDATA_H_ #define NTUPLECOMMONS_INTERFACE_TREEDATA_H_ #include <string> #include <vector> #include <memory> #include <map> #include <cassert> #include <typeinfo> #include <typeindex> #include <stdexcept> #includ...
746341bf624d77c6c4871ae0087050198d016fb3
7846e98b2a8c5ed349f52c8bbb4e956425f4e9cc
/src/ManagementLayer/TrafficManager.h
e92d071b896d41b7389aeebc6042aa3dc7a3b53b
[]
no_license
SwirlGit/sniffer
3121fa0d95fa8b677cd91280e425d3b5b26c0b62
b5be7a51b62efe6dfe9bb63522588447358e69e0
refs/heads/master
2020-04-24T09:53:10.406999
2019-02-27T11:06:03
2019-02-27T11:06:03
171,876,013
0
0
null
2019-02-27T11:06:03
2019-02-21T13:23:32
C++
UTF-8
C++
false
false
1,058
h
TrafficManager.h
#ifndef TRAFFICMANAGER_H #define TRAFFICMANAGER_H #include "AbstractViewManager.h" #include "DataLayer/NetworkPackage.h" #include <memory> namespace ViewLayer { class TrafficView; } namespace ManagementLayer { /** * @brief Менеджер трафика */ class TrafficManager : public AbstractViewManager { Q_OBJECT publ...
98ed1e34d9eeb299d650eff505cd52c0e3c7f186
ac7d7823a48bb465072353b167136c03d8c79d28
/hw4/Mem.h
2cd37e601f88b97a14615fce6fd29b00b9c2e0fc
[]
no_license
gengyu89/Computer-Architecture
42013a75a90916328a80f53264be74494bc30677
d5def1d1882a54a265785c15609928460f11bf97
refs/heads/master
2021-06-19T14:18:29.829089
2017-07-18T07:32:30
2017-07-18T07:32:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
221
h
Mem.h
#ifndef MEM_H #define MEM_H #define MEMsize 256 class Mem { private: int mem[MEMsize][4]; public: Mem (); int* getfromMem(const int); void writetoMem(const int, int*); void printMem(); }; #endif
526fe0bb436f9f0faf1bb2f15549dab183db44ca
72a0d15bbc90b292cba8e02e8bc6d37c1ed2b7a9
/Chapter_16/ex_16_62/ex_16_62.cxx
eb3c47049786711d8282c9457b849e4aba199b7f
[]
no_license
GuanqunGe/Cpp-Primer_Exercise
9414f053c0d343fd3521d63d3f873a9f165764a4
295ab9272c83e9dc3a627fb647e7977c01ef88ad
refs/heads/main
2023-03-24T11:22:15.913814
2021-03-23T13:03:33
2021-03-23T13:03:33
319,142,953
0
0
null
null
null
null
UTF-8
C++
false
false
473
cxx
ex_16_62.cxx
#include <iostream> #include <unordered_set> #include "Sales_data.h" int main(){ std::unordered_multiset<Sales_data> set1; set1.insert(Sales_data()); set1.insert(Sales_data("AAAAA")); set1.insert(Sales_data("AAAAA", 5, 30)); set1.insert(Sales_data("BBBBB", 9, 10.4)); set1.insert(Sales_data("AA...
77417004ae3eaa3bd748a724765a6abbdf5f8243
4768468efa6b23f66f3a776674e1adf733a3f699
/cpp/test.cpp
ff23ab16ae177169b9c6d60b522b0b553eb11f5e
[]
no_license
tongust/notebook
6c1e74dae6e8426e34c1d7d7e0b464ca5cf88e99
98c04ce3a8793247cbca128a6aed74ff25e8afe7
refs/heads/master
2021-01-23T05:10:19.835700
2018-06-07T10:55:19
2018-06-07T10:55:19
102,461,713
0
0
null
null
null
null
UTF-8
C++
false
false
2,214
cpp
test.cpp
#include <algorithm> #include <cmath> #include <iostream> #include <iterator> #include <list> #include <math.h> /* log2 */ #include <random> #include <set> #include <string> #include <unordered_map> #include <unordered_set> #include <vector> #ifndef MMIN #define MMIN(x,y) ((x) > (y) ? (y) : (x)) #endif #ifndef M...
b959b08408254db14ecbb78313cdd946faa53617
640a23b3d5270f64e42fee279da4d3c66dec1bf5
/cpp/base/virtual_test1.cpp
33e5697dd76f980e40495aed999a416e2c11d06b
[]
no_license
f20500909/study_note
82bc7f3d80e5c0684e4659fa5d4ac08a903b3757
09181332565479016aa9067c68769d3bcd40a6ab
refs/heads/master
2022-07-31T22:28:28.897562
2020-05-11T10:41:41
2020-05-11T10:41:41
228,950,706
0
0
null
null
null
null
UTF-8
C++
false
false
1,854
cpp
virtual_test1.cpp
#include <iostream> using namespace std; class Parent { public: int iparent; Parent() : iparent(10) {} virtual void f() { cout << "Parent::f()" << endl; } virtual void g() { cout << "Parent::g()" << endl; } virtual void h() { cout << "Parent::g()" << endl; }...
8f71164ffdc819c594f25973514417c7e9a205c7
b93ae4e1ced2079bb0d8bc4be779ee5694df423c
/IMCPlusPlusForMacProj/IMCPlusPlusForMacProj/Headers/NatworkEngine/UPacketProcessor.h
26bfca7359f42db137afc12f91c5d3c5125762e9
[]
no_license
lynnlinyong/IMDemoTest
382d5a99787a7416c7603a02a8925e83b2302fe0
2ccda999029942b066977e803a38afc199525842
refs/heads/master
2019-01-19T13:38:36.136980
2012-12-28T19:29:34
2012-12-28T19:29:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
992
h
UPacketProcessor.h
/* * File: UPacketProcessor.h * Author: easydigital-001 * * Created on 2012年11月28日, 下午5:07 */ #ifndef UPACKETPROCESSOR_H #define UPACKETPROCESSOR_H #include <map> #include <pthread.h> #include "debug.h" #include "errorNumber.h" using namespace std; class UPacketProcessor { public: virtual ~UPacketPro...
6d352059c5f18a35a045fc8e9d55ed19ded0ede1
66a0e5c3959683c12a61c2e97b0f361dc042a3e4
/CodeForces/CF#742/C.cpp
b44af8f4e827b4f7cdb99fb961c980944737491a
[]
no_license
theteleton/ACM
3f5fb98a20599443b5ead010e477c3338fbb07e0
161b6daea32a6b0fd122c6858749f54269089b45
refs/heads/master
2023-07-14T15:09:38.779805
2021-08-26T18:00:55
2021-08-26T18:00:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
243
cpp
C.cpp
#include <bits/stdc++.h> #define pb push_back #define mp make_pair #define f first #define s second using namespace std; typedef long long ll; int main() { ios_base::sync_with_stdio(false); cin.tie(); cout.tie(); return 0; }
1a47768f0c3341173c76d93814b885973386cddc
a1809f8abdb7d0d5bbf847b076df207400e7b08a
/Simpsons Hit&Run/game/libs/radcore/tools/flamer/src/Main.cpp
8d65c3c2d10e7046daf367c37678f7210ae1a09c
[]
no_license
RolphWoggom/shr.tar
556cca3ff89fff3ff46a77b32a16bebca85acabf
147796d55e69f490fb001f8cbdb9bf7de9e556ad
refs/heads/master
2023-07-03T19:15:13.649803
2021-08-27T22:24:13
2021-08-27T22:24:13
400,380,551
8
0
null
null
null
null
UTF-8
C++
false
false
19,611
cpp
Main.cpp
/* * Program to burn Saturn, PSX, and Windows CD's using * a Yamaha CDR100 and the SEGCDW software * */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <direct.h> #include <ctype.h> #include <time.h> #include <assert.h> #include "global.h" #include "dir.h" #include "cnstrnt...
db08af95b2d73098f5eee2f50df81e4facbb2d95
c8ac03f5c9ce8019451b212db1ca069b9074df78
/2021春招/20210320滴滴两道做了1.63道/didi1A了第一道.cpp
2400403a8b1e5d727c5a7b17abb2e92a2600232e
[]
no_license
HANXU2018/HBU2019programingtext
88099b842a1165bfbd1bfe9521e905b1eccac194
4e64de1170646a090a6d6ac05a44bebe04db1388
refs/heads/master
2021-06-16T16:13:28.877457
2021-04-24T12:24:51
2021-04-24T12:24:51
195,534,579
5
1
null
2020-05-11T13:34:09
2019-07-06T11:59:44
C++
UTF-8
C++
false
false
741
cpp
didi1A了第一道.cpp
#include<iostream> using namespace std; int num[300]; int main(){ string s; cin>>s; for(int i= s.size()-1;i>=0;i--){ if(num[s[i]]==0)num[s[i]]=i; } // for(int i='a';i<='z';i++){ // cout<<num[i]<<" "<<i<<endl; // } int flag=0; for(int i=0;i<s.size();i++){ if(flag==1){ ...
42c1c4c693321447dbc7599a0d75b9e6e43a4a7a
49ce19efa25bf27f03e25edb7fe3a5c3582c33b5
/src/Camera.cpp
d634830e063bafc3ea69da95f6ca71212d9e9063
[ "Unlicense" ]
permissive
jpunzel/jray
1a506a38d9b2ced487aa14e708b83320db2da031
a78792356f8ffafdb41fd958f24b4bcebc165507
refs/heads/master
2023-03-21T04:50:57.854087
2021-03-15T19:22:47
2021-03-15T19:22:47
348,055,076
0
0
null
null
null
null
UTF-8
C++
false
false
2,230
cpp
Camera.cpp
#include <random> #include "Camera.h" #include "math.h" Matrix Camera::view_transform(const Point &from, const Point &to, const Vector &up) { Vector forward = normalize(to - from); Vector upn = normalize(up); Vector left = cross(forward, upn); Vector true_up = cross(left, forward); Matrix orienta...
8035e6d4a0cee63269ea1d4d407bcde6d68d20da
c14bfb9cef1d89d4d0588f5cc46b66611426c2b8
/Code/spectrum_mod/spectrum_mod.ino
313a21d6e627f4d7982d6cb67e1f077fcacaa6fb
[]
no_license
jmaccarl/Build-18-2016-Emotional_Flower
ee83fef844ae3c3f6146cd8a8a76092ab78f5c18
6df9d3c22a591dcdf786928e163ccf5c93c729a9
refs/heads/master
2021-01-10T09:50:48.670484
2016-01-18T22:10:37
2016-01-18T22:11:03
49,619,154
2
0
null
null
null
null
UTF-8
C++
false
false
9,694
ino
spectrum_mod.ino
// Audio Spectrum Display // Copyright 2013 Tony DiCola (tony@tonydicola.com) // This code is part of the guide at http://learn.adafruit.com/fft-fun-with-fourier-transforms/ #define ARM_MATH_CM4 #include <arm_math.h> #include <Adafruit_NeoPixel.h> ////////////////////////////////////////////////////////////////////...
ee94d67f227e5774331efc6ab260463d49e88415
e5223c63a2f43c699345c733098d3b680b38bffe
/BTreeLib/BTree.h
38e15f9edd1c8785bcaa80eee2a5e6741fe7c645
[]
no_license
vakho10/BTree-Implementation
819fbad8ed0d74e180c8c1eacf3c0fcac8fcf88e
9d346799a0161c6939e3d4facdc94f02f504fd7b
refs/heads/master
2021-01-20T02:54:42.555077
2017-05-02T13:12:34
2017-05-02T13:12:34
83,823,619
1
0
null
null
null
null
UTF-8
C++
false
false
849
h
BTree.h
#pragma once #include <string> #include <functional> #include "BTreeNode.h" namespace BTreeLib { template<typename T, typename Compare = std::less<T> > class BTree { BTreeNode<T, Compare> *root; // Pointer to root node int t; // Minimum degree Compare cmp; // Custom comparator public: // Constructor (I...
3f9211d2c6eb56f734a7e7126ee7a5de3c93846b
f437d77e62ad87d3328968bf6f432f1f0d403dc1
/maxQuene.cpp
2007412d923829362a5e4155857e65ac49e678de
[]
no_license
ericivan/alg_sign
8b0924ba8b6ff194d347a5ec0b154c4ef87b1948
7027fdaf9a1f3cb208d5de2da400a123c113acf6
refs/heads/main
2023-03-29T15:42:46.408051
2021-04-06T08:03:12
2021-04-06T08:03:12
349,018,828
0
0
null
null
null
null
UTF-8
C++
false
false
614
cpp
maxQuene.cpp
#include "QueueMax.h" //队列的最大值https://leetcode-cn.com/problems/dui-lie-de-zui-da-zhi-lcof/ int QueueMax::max_value() { if (d.empty()) { return -1; } return d.front(); } /** * 往队列插入数据 * @param value */ void QueueMax::push_back(int value) { q.push(value); while (!d.empty() && d.back(...
b312a680d8c1b09525814e463f8f477e55fa8ae0
59f6d4d1ecb6c67dc0acc1a69855bd3ebd9d9103
/lib/Helper.cxx
902b1363e51206201b1938fd33cd6c769d39b0e8
[ "MIT" ]
permissive
ufz-vislab/EnvimetReader
52670e62a81dce5c31b53118508700715cfdeb23
f183e9896ec4e87217d2c5c2cca53ca7888bb4ca
refs/heads/master
2021-01-17T12:20:41.280273
2019-04-17T13:01:25
2019-04-17T13:01:25
32,026,593
2
0
null
2015-10-28T09:55:39
2015-03-11T15:53:36
C++
UTF-8
C++
false
false
540
cxx
Helper.cxx
// // Created by Lars Bilke on 26.10.15. // #include "Helper.h" #include <iostream> #include <sys/stat.h> int Helper::CanReadFile(const char *name, const char *extension) { // Check if file exists struct stat fs; if (stat(name, &fs) != 0) { std::cout << "The file " << name << " does not exist." << std::endl; ...
390476df7bc35f39aaee5e9bb520d29c2d7e4101
566e45d21ca67d4b930b7971125b434d9536a8c2
/src/utility/timers.cpp
f964bdeb5e2e5c21c8f9736fe2d10ddc422a095b
[]
no_license
TheNotChosenOne/Sorrow
bae1e852eb00c30c639e2ccc3be543277ca8a814
cc7e7af7d6815fa3104be5d4193bba2bb75804c0
refs/heads/master
2021-06-07T08:13:42.302570
2020-05-10T20:16:50
2020-05-10T20:16:50
133,557,612
2
0
null
2018-09-17T03:35:14
2018-05-15T18:33:55
C++
UTF-8
C++
false
false
1,690
cpp
timers.cpp
#include "utility/timers.h" DurationTimer::DurationTimer() : timingIndex(0) { } void DurationTimer::tick(const std::chrono::duration< double > seconds) { if (timings.size() < 256) { timings.push_back(seconds.count()); return; } timings[timingIndex++ % 256] = seconds.count(); } double DurationTimer::avera...
a104ab826cfd0ecb6d077bd084668cb7bef49523
6932c21a775e4a180b0d48efb2bd33eb506d70ff
/source/CrazeCore/SystemInfo/SystemInfo.h
ba1844ee277727c35d99a7597e4b8976368379be
[]
no_license
lindend/lighting-thesis
8e42d4cc75212b06a5c7aa17314be9c69088a0d5
d37f9e2a1409ba716899487f91cb9c474176df5f
refs/heads/master
2021-01-19T13:52:48.240078
2013-01-23T20:45:55
2013-01-23T20:45:55
35,110,146
0
0
null
null
null
null
UTF-8
C++
false
false
189
h
SystemInfo.h
#pragma once #include <string> namespace Craze { namespace SystemInfo { bool Initialize(); unsigned int GetNumProcessors(); const std::string& GetCurrentDir(); }; }
253bd6bd65280efb748bc2a96a1c8b702a2dc154
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5766201229705216_0/C++/TooHard/full_binary_tree.cpp
1f7f4328c60c06dedee8df7fbff81a6f390e4754
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
2,659
cpp
full_binary_tree.cpp
// // full_binary_tree.cpp // // Siwakorn Srisakaokul - ping128 // Written on Friday, 25 April 2014. // #include <cstdio> #include <iostream> #include <sstream> #include <cstdlib> #include <string> #include <vector> #include <set> #include <queue> #include <stack> #include <list> #include <cmath> #include <algorithm> ...
04dd8ec657a2a426c488ee0423876cfce71e763c
d8f0d15bff3b8bf1d73a9616709048a605d7dc46
/Foundation/library/source/TTThread.cpp
debff8420d0fa1d2025be1cf73163b9d2522ec3f
[ "BSD-3-Clause" ]
permissive
i-score-old/JamomaCore
bcdf458d2b7dc870d55e9d9ac310e62ef775a018
73632decfa2da9227638961f888f972053b4df3d
refs/heads/master
2021-01-17T16:48:39.097122
2014-12-08T12:36:38
2014-12-08T12:36:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,557
cpp
TTThread.cpp
/* * TTBlue Class for working with threads * Copyright © 2008, Timothy Place * * License: This code is licensed under the terms of the "New BSD License" * http://creativecommons.org/licenses/BSD/ */ #include "TTThread.h" /***************************************************************************************...
ed542cfebedc6472a701e9df13e49c142858e0b1
2ad0f289d045cbb147ce7410a80f7fa50e23e3ff
/openframeworks/src/Creature/Tangles.cpp
7d69882de515386e4e7e4fa326f075700c598591
[]
no_license
imclab/socialsqncr
291216cad20053835cab8efe3011641c1efc97e0
7c145e43e83894927a3f5d9337c45442ee8352b1
refs/heads/master
2020-05-29T11:43:20.121233
2011-04-22T00:08:20
2011-04-22T00:08:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
15,936
cpp
Tangles.cpp
/* * Tangles.cpp * openFrameworks * * Created by Nick Hardeman on 3/25/10. * Copyright 2010 __MyCompanyName__. All rights reserved. * */ #include "Tangles.h" void Tangles::initiate(int $numPts, int $numSegmentPts, float $maxRadius, float $spineLength, float $extremetySpacing, float $tentacleDivLength) { C...
e242a7cb5f3956b56d73fb8084d28aa6a036bd27
8ed61980185397f8a11ad5851e3ffff09682c501
/thirdparty/GeometricTools/WildMagic5/SampleMathematics/NonlocalBlowup/GpuPyramid2.cpp
2d7258822b690eecb085b42b603373c47e7cf418
[ "BSD-2-Clause-Views" ]
permissive
SoMa-Project/vision
8975a2b368f69538a05bd57b0c3eda553b783b55
ea8199d98edc363b2be79baa7c691da3a5a6cc86
refs/heads/melodic
2023-04-12T22:49:13.125788
2021-01-11T15:28:30
2021-01-11T15:28:30
80,823,825
1
0
NOASSERTION
2021-04-20T21:27:03
2017-02-03T11:36:44
C++
UTF-8
C++
false
false
11,596
cpp
GpuPyramid2.cpp
// Geometric Tools, LLC // Copyright (c) 1998-2014 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 5.3.0 (2010/09/07) #include "GpuPyramid2.h" #include "Wm5BitHacks.h" usin...
b1eb37ece88d5983fff470ffefc624df3e73a21d
806735c91d9fac50ac6a0e0b44c68ac438b9ecb6
/iitk interview/night-fury/J.cpp
8b3fe6801083b8f6df5192ce0ada0f919f8f8d49
[]
no_license
v-pratap/cp
a04119a5c42853b5ae5bb3535deaa726a23b113d
28ba7e27cd7b065800954445497642b852e20160
refs/heads/main
2023-06-05T03:46:55.685212
2021-06-28T05:56:06
2021-06-28T05:56:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,731
cpp
J.cpp
//LASER GRID #include <bits/stdc++.h> typedef long long ll; typedef long double ld; #define f(i,a,b) for(int i = a;i<b;i++) #define rep(i,a,b) for(int i = a;i<=b;i++) #define fd(i,a,b) for(int i = a;i>b;i--) #define repd(i,a,b) for(int i = a;i>=b;i--) #define pii pair<int,int> #define pll pair<ll,ll> #define fi f...
22d571938248f7203a3f70647baec04a18abd17c
62e6e04d4ab08ca4b5090179af1f670099f94780
/客户端组件/游戏广场/QiXingCai.cpp
41a985199dc36dcbd942f4bf996e4c5dae919635
[]
no_license
hanshouqing85/wh6603_hpkj
9895e3bc2e9948aacb15f6bc60f083146796ddf9
eed96681c75dcc2948f89c63088da21e3d8e0bc0
refs/heads/master
2020-04-13T13:48:10.811183
2019-06-15T10:49:21
2019-06-15T10:49:21
163,242,393
0
0
null
null
null
null
GB18030
C++
false
false
200,062
cpp
QiXingCai.cpp
#include "stdafx.h" #include "GamePlaza.h" #include "QiXingCai.h" #include "BmpUtil.h" /*#include "LuckMeDlg.h"*/ #include "MessageDlg.h" #include "DlgAddtional.h" #include "PlatformFrame.h" #include "DlgFandian.h" #include "GDIpng/MemDC.h" #include <map> extern map <int,CString> mapFandian; extern map <int,float> mapP...
b5136c4810838bdd9e8d1f9b4d5fc9b30d3e7cba
0f2b08b31fab269c77d4b14240b8746a3ba17d5e
/orttraining/orttraining/core/session/tensor_helper.cc
6a36dcc65644bebcc54877d516f4674310676275
[ "MIT" ]
permissive
microsoft/onnxruntime
f75aa499496f4d0a07ab68ffa589d06f83b7db1d
5e747071be882efd6b54d7a7421042e68dcd6aff
refs/heads/main
2023-09-04T03:14:50.888927
2023-09-02T07:16:28
2023-09-02T07:16:28
156,939,672
9,912
2,451
MIT
2023-09-14T21:22:46
2018-11-10T02:22:53
C++
UTF-8
C++
false
false
12,668
cc
tensor_helper.cc
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "orttraining/core/session/tensor_helper.h" namespace onnxruntime { // Copy a chunk of memory to CPU from GPU. void CopyGpuToCpu(void* dst_ptr, const void* src_ptr, const size_t size, const OrtMemoryInfo& dst_loca...
282df2f277f6a3d83d28577265242fa1580c62da
7eeb08de415c20d867495821880c6b24a6fef4be
/includes/MazeCore.hh
efdfc00317541a6e3ef7add8a0d4a6806f6f9d5d
[]
no_license
girard-r/mazer
bfa1e79b2e0c3f721f610959a04f0ca83fe30ddf
6d4add8b2042dad9a170e1fb22c3f60a67fba78a
refs/heads/master
2021-01-19T17:19:47.670692
2017-02-19T08:29:40
2017-02-19T08:29:40
82,444,971
0
0
null
null
null
null
UTF-8
C++
false
false
1,318
hh
MazeCore.hh
/* ** ** Author : Aurelien Girardeau ** */ #pragma once # include <string> # include <map> # include "ArgsTree.hh" # include "Maze.hh" # include "LoadMaze.hh" # include "GenMaze.hh" # include "SVGGenerator.hh" # include "Utils.hh" # include "Exceptions.hpp" # include "SolveMaze.hh" # define USAGE "USAGE ORDER : ./m...
072a91059f72b1bcb1428e80233527712f83ec65
e10c4397a97157c2161f638802ca95c80f3e4f20
/active-active/simulator/readTraces/src/IRandomReadTraceAddressGenerator.cpp
c72e2eaf3f4eaab3bcd6d55f3424a1b925fcb0c7
[]
no_license
OSLL/cache-simulator
d8fc45c310b9716f60252598aa3c48483d798475
21535acfc72c787bee55db1ae931912562666db7
refs/heads/master
2021-01-10T15:01:24.044661
2015-05-23T07:03:09
2015-05-23T07:03:09
36,111,034
0
0
null
null
null
null
UTF-8
C++
false
false
542
cpp
IRandomReadTraceAddressGenerator.cpp
#include "IRandomReadTraceAddressGenerator.h" qulonglong IRandomReadTraceAddressGenerator::getRaidSize() const { return m_raidSize; } qulonglong IRandomReadTraceAddressGenerator::getQulonglongRand(const qulonglong raidSize) const { qulonglong result=0; qulonglong n = raidSize / (qulonglong)RAND_MAX; ...
bbeddaf640a92a8d42325484efa071862bf7b5be
993635387a5f4868e442df7d4a0d87cc215069c1
/OMV/OMV/ViewTree.cpp
b6d3e15a779d96486aef4ee98d2ffe7f6c9c051f
[]
no_license
windrobin/ogremeshviewer
90475b25f53f9d1aee821c150a8517ee4ee4d37d
679a2979320af09469894a6d99a90ec1adc5f658
refs/heads/master
2021-01-10T02:18:50.523143
2011-02-16T01:06:03
2011-02-16T01:06:03
43,444,741
0
2
null
null
null
null
UTF-8
C++
false
false
2,407
cpp
ViewTree.cpp
/* ----------------------------------------------------------------------------- This source file is part of Tiger Viewer(An Ogre Mesh Viewer) For the latest info, see http://code.google.com/p/ogremeshviewer/ Copyright (c) 2010 Zhang Kun(zhk.tiger@gmail.com) This program is free software; you can redistribute ...
1018550f74a7037dad38334e84fb0ec7f58c4096
199fbf48ca10bd4cf60ed7ee1e66d75523f3c75c
/Blatt 1/Aufgabe 3/Aufgabe 3/Vektor.cpp
dbc03e59a727e6d7791987967ec8f37a012bed3a
[]
no_license
Nawygator/Info2
a1c9486dd1638a0fa6e58aac666bf031bb641ccf
8deb4f5dea4540df5ec202c076b08df03c244413
refs/heads/master
2021-01-19T10:15:21.804017
2017-04-25T06:41:23
2017-04-25T06:41:23
87,846,494
0
0
null
2017-04-13T13:08:30
2017-04-10T18:54:01
C++
UTF-8
C++
false
false
950
cpp
Vektor.cpp
#include <iostream> using namespace std; static double PI = 3.141562; struct VektorT { int a; int b; int c; }; void Ausgabe(VektorT a); double Skalarprodukt(VektorT a, VektorT b); VektorT Addition(VektorT a, VektorT b); double Laenge(VektorT a); double Winkel(VektorT a, VektorT b); void Ausgabe(VektorT a) { co...
ab7c8fb1c366b5e53b91795e64dcbd0b0f00179f
41e035a17acba996a0090602485d7d25ef6b1b77
/include/base3d/math.inc
f7d11068256fa1ea7a43a0c4aa490af0bbc2fe6c
[]
no_license
sabareeshrg/rayer
37bede1884a60cea4bac39aac3d3dcc572e57c04
c7dc3bdd08c063ca91bc5dc6dbcf533f594c63aa
refs/heads/master
2021-01-17T22:15:02.733195
2012-10-30T03:25:01
2012-10-30T03:25:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
703
inc
math.inc
inline double rad2deg(double r) { return r*180/M_PI; } inline double deg2rad(double r) { return r*M_PI/180; } inline double clamp(double x, double minx, double maxx) { if (x<minx) return minx; else if (x>maxx) return maxx; else return x; } inline double angle_normalize(double angle) { if (angle>2*M_PI) {...
caca61522951681bc80dad2acb701e4f4050b41b
0a3f5acdbfdf0f8e49dbecc2477d934f6853ae6c
/code/Degree Centrality/Degree Centrality/Degree Centrality/Source.cpp
c7a76c160f5365fe0ab833fa952631a849fa1720
[]
no_license
sanody/Social-Media-Analysis
a4cf1bd996121b3b74b9498d846755b521ed9deb
e1268b418d5659650f6bbcc908559f4ac4c90a74
refs/heads/master
2020-06-12T02:24:35.867146
2019-07-03T23:36:58
2019-07-03T23:36:58
194,166,311
0
0
null
null
null
null
UTF-8
C++
false
false
800
cpp
Source.cpp
#include <iostream> #include <vector> #include <set> #include <stack> #include <algorithm> using namespace std; struct node1 { int No_Node; int Size; //bool mark = false; }; bool operator<(const node1& l, const node1& r) { return r.Size < l.Size; } bool operator==(const node1& l, const node1& r) { return l.No_Nod...
94e28909b92c1ebe05a356928c918c43770676e8
d266d98b0801fb755cd8280fdc50354486cd3170
/3.5.3/pointer.hpp
9ee61e65e5020f02bdc2d076a0511f2208e4b389
[]
no_license
stephennovis/C-For-Financial-Engineering
ad528fa3d4b72e8c24d0c574d540e324e4ec7e4a
9277bda2c39dcf576ac58216feaf96730a7ca09a
refs/heads/master
2020-04-10T01:33:50.544935
2018-12-06T22:18:55
2018-12-06T22:18:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
390
hpp
pointer.hpp
// // Created by Steve on 11/1/18. // #ifndef INC_3_5_2_POINTER_HPP #define INC_3_5_2_POINTER_HPP #include "shape.hpp" class Point : public Shape { private: double x; double y; public: Point(); Point(double m_x, double m_y); Point(Point& p); virtual ~Point(); Point& operator = (const Point...
785e3e53a2a28c9f9706665b41f53adda7332625
621817aaa661aae8205905df9566342f8bfb03ad
/myprog.cpp
290004d69b3204417b150de270c19f1983517900
[]
no_license
4638434/praktika01
15d28a5c0a16317aa13a294f9893c3281ff94111
8d1d2e1741e4551cd09a6f277ea6347795fb335e
refs/heads/master
2020-04-17T07:29:58.215875
2019-01-22T08:25:53
2019-01-22T08:25:53
166,372,334
0
0
null
null
null
null
UTF-8
C++
false
false
240
cpp
myprog.cpp
#include <stdio.h> #include <iostream> using namespace std; class troad { public: float Length; int Width; troad(); }; troad::troad() { Length=0; Width=0.0; } int main() { troad road; road.Length=60.0; return 0; }
57ecf109de8f5c3fb49c5026aa545344109809e5
ffc7dd59c9dcbfcfd5ee7abd246f8d8038ac7b39
/app/jni/src/spacebiem/spacebiem/entities/InputIndicatorEntity.h
84049d818c3aa938ade945aa7f8048e934d20665
[]
no_license
luukspierings/SpaceBiem
a1dd0cfb629a27f0c884236d91648cd2cbd428fa
679e1f4194653ec94b204bad494337b29f64a344
refs/heads/master
2023-01-01T13:51:00.696797
2020-10-11T16:02:47
2020-10-11T16:02:47
265,687,796
1
0
null
null
null
null
UTF-8
C++
false
false
1,534
h
InputIndicatorEntity.h
#pragma once #include "../../biemgine/Biemgine.h" using biemgine::Entity; using biemgine::PositionComponent; using biemgine::ColorComponent; using biemgine::UIComponent; using biemgine::RectangleComponent; using biemgine::TextureComponent; #include "../components/OxygenComponent.h" #include "../globals/Fonts.h" nam...
9f31ed9f4088c11942377d5a03d453585131cd2e
64b358f9339f05267c70e43658903fb5da349659
/sanfaust/Counter.h
f1846f5e573baf7f32828719b8719fb8fe566b6f
[ "MIT" ]
permissive
astagi/sanfaust.ino
1812680bac1bc67569d4e28de05e3a95c39d969a
5bc76c81f1f702ff73a50f8aa628a12c3df81bb6
refs/heads/master
2020-04-11T08:07:19.367696
2016-02-14T15:25:42
2016-02-14T15:25:42
50,996,367
1
0
null
null
null
null
UTF-8
C++
false
false
360
h
Counter.h
#pragma once class Counter { protected: // Everything's protected for performances int _size; int _current; public: Counter(int _size); bool isOver(int n, bool equal=false); bool isBelow(int n, bool equal=false); bool isBetween(int n1, int n2, bool equal1=false, bool equal2=false); in...
f0c264a0f4b4cc61216d12f6304c887e5ce93732
9b86131182f9c46a96b96acf7a238073ebaa9556
/chapter-03/exercise-3.36-mz.cpp
f0e3f6a7d10bfdf2294f363ff1a0aff9d5d84f87
[]
no_license
SBU-Cpp-Club/cpp-exercises
a39e7a97b5b6b5dfcdc61fb1e1f07e14b8f04c64
f12e3dc0370d80f23712190e5de52a5e5d5cb783
refs/heads/master
2023-08-16T19:40:22.262570
2023-08-13T14:19:56
2023-08-13T14:19:56
75,423,067
1
2
null
null
null
null
UTF-8
C++
false
false
807
cpp
exercise-3.36-mz.cpp
#include <iostream> #include <vector> int main() { int a1[] = {0, 1, 2, 3, 4, 5}; int a2[] = {0, 1, 2, 3, 4, 5}; std::vector<int> v1 = {0, 1, 2, 3, 4, 5}; std::vector<int> v2 = {0, 1, 2, 3, 4, 6}; // check equality int *p1 = std::begin(a1); int *p2 = std::begin(a2); for (int i=0; i < std::end(a1) -...
992f0baf748757e174499c646f7abed7d98f191f
2ecd4792f9a76ed3b0aa8bbbe568a881d6f675e1
/01 - naveGL/src/nave.cpp
1c030b7274cc0f8574ebecf5a458fea7ec72d95d
[]
no_license
andersori/Computacao-Grafica
1daa33811f6bbe0ce91c18598ae166df8fea454c
4c6c3c22c60445e0d7d8466cdffc9c865d2c82ac
refs/heads/master
2020-03-14T04:12:52.398424
2018-04-28T23:06:40
2018-04-28T23:06:40
131,437,216
0
0
null
null
null
null
UTF-8
C++
false
false
4,081
cpp
nave.cpp
#include "nave.h" #include <QtOpenGL> #define A 0 #define B 1 #define C 2 #define D 3 Nave::Nave() { this->vertices = new float*[4]; for(int i=0; i<4; i++) this->vertices[i] = new float[3]; set_vertice_1(-0.08, 0.0, 0.0); set_vertice_2(0.0, 0.2, 0.0); set_vertice_3(0.08, 0.0, 0.0); se...