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
98d631886c96bc4bfb3e2cfde0eac6aed47a4fec
1b2a105edbcf263743004401290973794a50ac75
/nanosizer/data.h
be0f5e39af4029619dd6a277fd3070919799b9fa
[]
no_license
tphinkle/nanoIV
5e00eca020b8cf1d2f16cc47e252f224f6d67b26
2960c87db1d725bca57c8cf4469dcc798bb8247c
refs/heads/master
2021-01-10T02:45:38.071152
2016-12-21T14:54:13
2016-12-21T14:54:13
54,065,654
1
2
null
null
null
null
UTF-8
C++
false
false
180
h
data.h
#ifndef DATA_H #define DATA_H #include "ivsweep.h" #include <string> #include <vector> #include <iostream> class Data { public: Data(); }; #endif // DATA_H
06df6ad3b7456a7c261a8f7a06809673dcaa42ff
a4d8cb480cbdb196e79ce482f5f9221fc74855e2
/2011/201102/20110210_point.cpp
e123bf69c8ef37193927aaebf8ede127b750cab1
[]
no_license
bonly/exercise
96cd21e5aa65e2f4c8ba18adda63c28a5634c033
dccf193a401c386719b8dcd7440d1f3bb74cb693
refs/heads/master
2020-05-06T13:51:29.957349
2018-02-10T16:14:52
2018-02-10T16:14:52
3,512,855
1
0
null
null
null
null
UTF-8
C++
false
false
207
cpp
20110210_point.cpp
#include <cstdio> int main(){ unsigned int ary[3]={3, 4, 5}; unsigned int *p = ary; printf("p:%d\n", *p); printf("p1: %d\n", ++*p); p = ary; printf("p2: %d\n", *(p+2)); return 0; }
3938d5917a637ae4005d24c95480492855c1adf2
c6ed9aa97166d4778b89321b580af80c543bacc9
/icpc/meetings.c++
7835fe81be24d9a89eb0094f23f4b45868147534
[]
no_license
bradyz/sandbox
381bcaf2f3719dee142a00858f7062aeff98d1ab
ff90335b918886d5b5956c6c6546dbfde5e7f5b3
refs/heads/master
2021-01-23T09:03:54.697325
2018-02-27T20:47:48
2018-02-27T20:47:48
21,292,856
10
0
null
2015-09-03T16:53:15
2014-06-28T00:29:18
Python
UTF-8
C++
false
false
696
meetings.c++
#include <iostream> #include <algorithm> using namespace std; int T; int N, M; int number[100001]; int allowed[100001]; int main () { cin >> T; for (int t = 0; t < T; ++t) { cin >> N >> M; for (int i = 0; i < N; ++i) cin >> number[i]; for (int i = 0; i < M; ++i) ...
903887aeebdd9d0c67ec03e33a66995f16351fb5
ae6dbcfd6a333bf598b871e15a7741fef81f964f
/Projects/Dms/Workshare.Interop.RightClick/Workshare.Interop.RightClick.cpp
d92c37f0271da1ef77f39b6525c9e9734ee440eb
[]
no_license
xeon2007/WSProf
7d431ec6a23071dde25226437583141f68ff6f85
d02c386118bbd45237f6defa14106be8fd989cd0
refs/heads/master
2016-11-03T17:25:02.997045
2015-12-08T22:04:14
2015-12-08T22:04:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,724
cpp
Workshare.Interop.RightClick.cpp
// This is the main DLL file. #include "stdafx.h" #include <msclr/marshal.h> #include "Workshare.Interop.RightClick.h" #include "RightClick.h" using namespace Workshare::Interop::RightClick; using namespace msclr::interop; bool RightClick::InvokeConvertToPdf(System::Collections::Generic::List<WSDocNonCom1^>^ docume...
3d7b51d6d64fb9f6fffec084d23a85cbcefc7640
67d6d516ef784bfe0f42f2751eb9ca346cfc8473
/teensymodsynth/Master.cpp
c8aa0bf0e6bf9c009b7f6d36a22867550226a289
[]
no_license
deusletum/polymod
4368a67b9ef1c3ce4cb4045e0c2203da0b7b4256
97ea78fee4fddce7149df1956cbd7bf17304f6bc
refs/heads/master
2020-06-16T22:31:31.671937
2018-10-22T13:10:11
2018-10-22T13:10:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
457
cpp
Master.cpp
#include "Arduino.h" #include "Master.h" Master::Master() { note = 20; gate = false; sockets[4].setInput(_main, 0); sockets[6].setOutput(_keyboardCV, 0); sockets[7].setOutput(_keyboardGate, 0); } AudioAmplifier& Master::getMainOutput() { return _main; } void Master::update() { _keyboardGate.amplitude(g...
2e3f149900c7aa43bc63e485cb71e26ca4b35e4b
b9264aa2552272b19ca393ba818f9dcb8d91da10
/hashmap/lib/seqan3/include/seqan3/core/detail/is_class_template_declarable.hpp
d9e8a13e3edf6ce3f182436609e9eb100274bd44
[ "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-public-domain", "CC0-1.0", "CC-BY-4.0", "MIT" ]
permissive
eaasna/low-memory-prefilter
c29b3aeb76f70afc4f26da3d9f063b0bc2e251e0
efa20dc8a95ce688d2a9d08773d120dff4cccbb6
refs/heads/master
2023-07-04T16:45:05.817237
2021-08-12T12:01:11
2021-08-12T12:01:11
383,427,746
0
0
BSD-3-Clause
2021-07-06T13:24:31
2021-07-06T10:22:54
C++
UTF-8
C++
false
false
2,779
hpp
is_class_template_declarable.hpp
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
722f40a8cc7132942feead99f98b1b5b8cd128a0
e3d45e816524fb74fe5f5f513f3d5f170a0a8abb
/preprocess/human/hg19/prog/anno/code/aseq/file/create_anno.cpp
127aabea8ed55687a14ca4af0349a72a60bb90f2
[ "MIT" ]
permissive
RJiangLab/OpenAnnotate
8bed938bf2596a41e47e27585b47924d51720942
7e8ac0ceaae7b13220718255542ba5f715e7520d
refs/heads/main
2023-04-03T08:04:37.226083
2021-04-12T14:11:33
2021-04-12T14:11:33
357,101,322
1
1
null
null
null
null
UTF-8
C++
false
false
28,642
cpp
create_anno.cpp
#include <cstdio> #include <cstdlib> #include <string> #include <vector> #include <queue> #include <map> #include <set> #include <sys/types.h> #include <sys/wait.h> #include <sys/stat.h> #include <pthread.h> #include <dirent.h> #include <unistd.h> #include <memory.h> #include <malloc.h> #include <lz4.h> #include <lz...
396a4591dd24926b0b9e9839ed8d6eb79f8f052e
c85a8f88fc89ec4c72bb42a6c21f1456567fd9bb
/projects/temp/NetKernel/src/MemoryPool.h
d27605afad0061eec9e600d1564113ff5822aaa3
[]
no_license
Bia10/clrn
e7f24f617513399b89ee17bc318697f8fe148d63
4d036069018da734f9e68b38e7d86e43c3ae19c1
refs/heads/master
2016-09-01T07:03:28.081683
2013-07-08T17:40:28
2013-07-08T17:40:28
50,362,475
2
0
null
null
null
null
UTF-8
C++
false
false
957
h
MemoryPool.h
/* * MemoryPool.h * * Created on: Feb 4, 2012 * Author: clrn */ #ifndef MEMORYPOOL_H_ #define MEMORYPOOL_H_ #include <memory> #include <list> namespace net { #pragma pack (push, 1) //! Transaction Id struct CTransactionId { unsigned char GUID[16]; std::size_t nId; const bool operator < ...
1ab3b6d9b92600a10db60bc2b4cd9855614fbb5c
8d0e09c2ed566d3f1ae26b9fda3f4d5bf2781266
/zrobione/dodawanie_liczb_calkowitych.cpp
fa2baee2a04e74afd38c8b34b3c0caf2b683fd2f
[]
no_license
ljadanowski/spoj
9ae2144cf45990eaf9ae3c33ee91a6d8ade1efb2
06369740289f06ed9cb3223f412b353c22d8e02f
refs/heads/master
2021-01-18T08:06:30.839653
2015-02-15T12:31:31
2015-02-15T12:31:31
29,289,630
0
0
null
null
null
null
UTF-8
C++
false
false
175
cpp
dodawanie_liczb_calkowitych.cpp
#include <iostream> using namespace std; int main() { int n = 3, liczba, wynik = 0; while(n--) { cin >> liczba; wynik += liczba; } cout << wynik << endl; }
4f2006a808797f6699c78ef3c629335d5509a2b3
884863a85640fb3dc56add3bc41449cdeec2fdf4
/cpp_project/ict1009_macbuild/Child.cpp
2990a54ed8254696f4ee84d309b0068f9438392e
[]
no_license
thomaslwk/ICT1009
a258c34c5bb03b216761aee29a3c74cd0d5322af
67dbedacf8d8a31e30e0586204c03e5d6bdfbfda
refs/heads/main
2023-04-01T11:56:11.115991
2021-04-16T08:10:07
2021-04-16T08:10:07
347,320,501
0
0
null
null
null
null
UTF-8
C++
false
false
3,189
cpp
Child.cpp
#ifndef CHILD_CPP #define CHILD_CPP // Declaration #include "Child.h" #include "X_MEN.h" #include <time.h> Child::Child(Male father, Female mother){ /* ************************************** */ /* ****** Normal Child Constructor ****** */ /* ************************************** */ /****************...
81a48c5d6d30776c7a4700dd9f47d2f5c51795c3
268d653ef182223f50604868d27505834376aa83
/List/List/ElementsMenu.cpp
bc0ed1dbcfd10ab96c51699ec88ed666f3bb9e90
[]
no_license
kunansy/List
80b114084940f48fe242718a928225a91f66e097
f6a9fc4064d693860995380a513f7a6b9631d8f6
refs/heads/master
2023-01-23T03:39:12.725320
2020-08-11T07:58:13
2020-08-11T07:58:13
286,681,459
0
0
null
null
null
null
UTF-8
C++
false
false
311
cpp
ElementsMenu.cpp
#pragma once #ifndef _ELEMENTS_MENU_H #define _ELEMENTS_MENU_H #include "Menu.h" namespace MENU { void ElementsMenu() { std::cout << "1.Add" << std::endl; std::cout << "2.Remove" << std::endl; std::cout << "3.Remove from index" << std::endl; std::cout << "4.Exit" << std::endl; } } #endif
8e847bf82d577d51eb3747a2ad8ab8d17921fa46
722648b125fe313a40d2739d75c15789e263e6d1
/tests/TestSafeDartSafeConfiguration/tst_testsafedartsafeconfiguration.cpp
5d553e452e608308bde1e25ef22e96a5331cbd75
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-us-govt-public-domain", "LicenseRef-scancode-unknown-license-reference" ]
permissive
naushad-rahman/SAFE-DART
20d78d6a14aab7a9f57d05f310a4bdd3205ddba4
41d75c1c116c29d68455942df74a4a9205a0e444
refs/heads/master
2020-07-15T05:44:26.449765
2017-12-01T16:28:55
2017-12-01T16:28:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,289
cpp
tst_testsafedartsafeconfiguration.cpp
/* ********************************************************************** ** ** Developed for NASA Glenn Research Center ** By: Flight Software Branch (LSS) ** ** Project: Flow Boiling and Condensation Experiment (FBCE) ** Candidate for GOTS reuse once FBCE has completed V&V testing ** ** Filename: tst_testsafedartsafe...
771093efbd43615f0bc15698b24e9f005fe6ba6d
6b6898f071e049962b762fb672b27aecbee62075
/src/parse.cc
6651777820b2141bb068318f7185769533fc642a
[]
no_license
jsternberg/neat-backup
970f010f8f6fde2e8b7d00f52b854dc9f54d1a7c
7a7ad5c864dd4283d1630cf666c3186689798c6f
refs/heads/master
2023-06-01T03:40:52.031887
2013-01-19T18:44:04
2013-01-19T18:44:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
12,368
cc
parse.cc
#include "ast.h" #include "lexer.h" #include "parse.h" #include "scope.h" #include "util.h" #include <memory> #include <string> #include <vector> using namespace std; void Messages::Error(const string& msg) { msgs_.push_back(Message(msg, Message::ERROR)); } void Messages::Warning(const string& msg) { msgs_.push_...
a2580c3fb087a039eed6123af3a11aa0e54aaeb6
8a35e9a3fed8208ced7160fa8e7feb6658369e96
/PetitMoteur3D/header/PM3D/BlocRollerDynamic.h
642aa654a61890a6fe1febac36dc853f44affc3e
[]
no_license
mmartindev/PM3D
df5598be59a6e8c2927d958de3d3f2090c8482d4
13aa5b0937d8508e9761e95fd67f750e977788fd
refs/heads/master
2023-09-05T13:55:55.923764
2021-11-17T21:33:48
2021-11-17T21:33:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,629
h
BlocRollerDynamic.h
#pragma once #include "Objet3DDynamic.h" #include <DirectXMath.h> #include <d3d11.h> #include "tools.h" #include "chargeur.h" #include "PxPhysicsAPI.h" using namespace DirectX; namespace PM3D { class CDispositifD3D11; class BlocRollerDynamic : public Objet3DDynamic { public: BlocRollerDynamic(Scene* _scene, p...
a6d8db6718cf42d834634dd226ca29dc60bee85d
0c082ffb855abb05be2674b3e152cae669800548
/C++/Book-C++程序设计 课程代码4737/Chapter02/Example_02_10/Example_02_10.cpp
7b5371164dd824406a7b2a5090a8a7dd3a94562e
[]
no_license
JosephWong1993/Taught-MySelf
ea85a8bc497551ca8b19c32f8313c74c9a20a2e7
471d98c474e326b341cd3f2dc3e4654b2158e50f
refs/heads/master
2023-03-30T03:04:08.925802
2021-04-08T12:34:48
2021-04-08T12:34:48
293,128,932
2
1
null
2020-12-07T16:05:20
2020-09-05T18:04:31
C#
GB18030
C++
false
false
400
cpp
Example_02_10.cpp
/* 演示使用complex和string对象及初始化的例子 */ #include<iostream> #include<complex> #include<string> using namespace std; void main() { complex<int> num1(2, 3); complex<float> num2(3.5, 4.5); string str1("real is "); string str2 = "image is "; cout << str1 << num1.real() << ',' << str2 << num1.imag() << endl; cout << str1 << ...
b0b7ff3caf37bd9627c94e43bcad58207243d5a6
f896cda82989fe9940828a6f07b07d3dd9499f04
/empresa.h
ef2600a00aceb1bdc3b15495c46db9899a38b80b
[]
no_license
marianafcosta/FEUP-AEDA
cf99bfbcf2a4c3850d4082f92897f2192b8f2c0b
76d930edcf68c264aead0c01b5271402bf36b5c5
refs/heads/master
2021-09-03T05:15:08.875069
2018-01-05T22:29:23
2018-01-05T22:29:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,174
h
empresa.h
#ifndef EMPRESA_H_ #define EMPRESA_H_ #include <vector> #include <string> #include <fstream> #include <sstream> #include <algorithm> #include <unordered_set> #include "cliente.h" #include "fornecedor.h" #include "reservas.h" #include "oferta.h" #include "BST.h" using namespace std; struct clientesInat...
1799008f7ec19d5d2a5df068b7375346e8fc6137
f19bed7ec0c77861d7891a9ce11fbb29bcb0afaa
/sth_useful/prime.cpp
d17cba721a0aab7ea86b7235dd7f2bbdf86c2c44
[]
no_license
guozhen-dev/NOIP
e896ec2635e819fff71a3cce905409b0afca2a24
6b668f387fb856e3063e94053b8eedcde0d2537d
refs/heads/master
2021-09-27T20:23:15.800095
2018-11-11T14:45:22
2018-11-11T14:45:22
137,905,173
1
0
null
null
null
null
UTF-8
C++
false
false
490
cpp
prime.cpp
#include<bits/stdc++.h> using namespace std; int prime[10000007]; int M , N; int x ; int main(){ scanf("%d%d",&N,&M); for(register int i = 0 ;i <= N ; i++ ){ prime[i]=1; } prime[0] = prime[1] = 0; for(register int i = 2 ; i < N+5 ; i++){ if(!prime[i]) continue; for(register int j = 2 ; j*i <= N ...
8605d27d375dd21654a793a0ea891b0fbf822c46
ae37c91b4b79578dbe1e132d67183876ec7f8371
/TestCase/Client/Client.cpp
5c2e5d7d5261d16829007f89f00a1bffc20bf72c
[]
no_license
shuguohui/DistributedTask
06bbf7270281c7c0062d04ad31e96133104b5820
5e828c8ab34e39143cba0009a4a44077cf9969cd
refs/heads/master
2021-01-10T03:16:30.541548
2015-10-21T11:30:05
2015-10-21T11:30:05
44,220,146
1
0
null
null
null
null
GB18030
C++
false
false
3,104
cpp
Client.cpp
#include <SDKDDKVer.h> #include <stdio.h> #include <tchar.h> #include <Core/IDisposable.h> #include <Core/Ptr.h> #include <Core/Task.h> #include <Core/ConnectionInfo.h> #include <Task/Manager.h> #include <Task/Client.h> #include "Task/Worker.h" #include <iostream> #include <vector> using namespace DT; int main() { P...
ead6598d6a4232f91a4debdb7f897c69957396fd
a4c42b0917816cb11659d3481d6ca25ac0408ae3
/프로그래밍 실습/report2(20171119까지)/러시아워1/main.cpp
c3750139bbd2f7f24da066a11f88ac6bf6da642b
[]
no_license
RohJaeHak/C-Language
50f6a3b96dad42998a88afd5f1574bd126dc66ff
5db88b9c221b26396e8a782eb961010268760fb8
refs/heads/master
2021-04-26T23:02:09.560781
2018-03-06T04:09:33
2018-03-06T04:09:33
123,918,223
0
0
null
null
null
null
UHC
C++
false
false
2,688
cpp
main.cpp
#include<stdio.h> #define deep 100 char ans[100][deep][3]={}; int ansCnt=0; char RMapGet[20][6]; char Map[6][6]; int ImporCar; int ScanMap() { char ExNum[10]={}; printf("문제를 골라 주세요(1~10) >> ");scanf("%s",ExNum); sprintf(ExNum,"%s%s",ExNum,".txt"); //파일 이름 합치기 //printf("%s",ExNum); FILE* f; ...
1405173359b62fb32866980c1ac30b3fa7baf49e
55c9f597b86065d649931c3e9c91e1f2aebfb711
/salaries_test.cpp
ce336312c14be83686021237c4064167b10e2fa3
[]
no_license
thejasonhsu/Exercises
5071985ea703ba98f6e314d583399f07f9eb2ab8
ae70833eca4af53808056cf30422f4edb1b1643f
refs/heads/master
2020-05-24T15:48:36.453096
2018-10-16T06:12:36
2018-10-16T06:12:36
33,386,071
0
0
null
null
null
null
UTF-8
C++
false
false
3,289
cpp
salaries_test.cpp
// Company Salaries // Jason Hsu #include <iostream> #include <sstream> #include <string> #include <cstring> #include <cstdlib> #include <stdlib.h> #include <fstream> //read file as input using namespace std; bool readFile(int &count); void highsalary(int count); double totalsalary(int count); struct employee { s...
20db04adbe4415cabc762f5673ac774530d64984
5c241cf0ccc8158b0c4ce0dcbf5db46bc2bb825e
/warning.h
95027f7da220989ffb34a6d82eaf319a0a31877f
[ "Apache-2.0", "GPL-1.0-or-later" ]
permissive
yanxx297/d-s-se-directed-tests
75dd2ab2be20db0ccedfa8b7e7980db44a89c453
7104647e90ad925bde18a2bd22afc33fa09d2135
refs/heads/master
2020-09-10T17:45:44.991701
2019-07-31T21:29:14
2019-07-31T21:29:14
221,784,713
0
0
Apache-2.0
2019-11-14T20:51:44
2019-11-14T20:51:44
null
UTF-8
C++
false
false
3,250
h
warning.h
#ifndef __WARNING_H__ #define __WARNING_H__ extern addr_t current_instruction; addr_t last_program_instruction(); void __enter_function(addr_t caller, const std::string); void __exit_function(); void __warning(addr_t, addr_t); #define WARNING(msg, ...) { \ if (current_instruction != 0) { \ fprintf(DEBU...
b6d62235850fc07e919b526106b63e66acc06d4a
5a5d9b63600efa72ad6fd49cbc2df7c284cf562c
/calculator.cpp
7078374c8b1f500dd0e30348e2859f06d3043968
[]
no_license
vpsiddhant/Compiler
8816d9a5ab4e4f2e9c9001c257f5a689adaf58e6
5b5a5bab5a952db14b4b867fd92b7989f0837abf
refs/heads/master
2021-01-21T12:30:45.204947
2017-09-03T16:35:08
2017-09-03T16:35:08
102,074,483
0
0
null
null
null
null
UTF-8
C++
false
false
1,199
cpp
calculator.cpp
#include<iostream> #include<string.h> #define EOF "EOF" #define INTEGER "INTEGER" #define PLUS "PLUS" //THIS IS MADE TO TO CHECK WHETHER THE CHARACTER IS A NUMBER OR NOT bool isNumber(char value) { int number; number = value; for( int i = 0; i < 10; i ++) { if ( number == 48 + i) { return true; } } ...
3fadb30724cd97209f79f8d90da7bedabc15ae70
786de89be635eb21295070a6a3452f3a7fe6712c
/H5DataTypes/tags/V00-05-14/include/ControlDataConfigV2.h
e60bc819cb57cc0e6658019d672bad3bbe786f31
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,041
h
ControlDataConfigV2.h
#ifndef H5DATATYPES_CONTROLDATACONFIGV2_H #define H5DATATYPES_CONTROLDATACONFIGV2_H //-------------------------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Class ControlDataConfigV2. // //--------------------------------------------------------------...
02c800ca9b7987de8a15b62f46d4c0aa612bbcc2
31ac07ecd9225639bee0d08d00f037bd511e9552
/externals/OCCTLib/inc/GeomFill_SectionPlacement.hxx
eddca7c9089fed53f2e23ee6f50cb02fac740c6b
[]
no_license
litao1009/SimpleRoom
4520e0034e4f90b81b922657b27f201842e68e8e
287de738c10b86ff8f61b15e3b8afdfedbcb2211
refs/heads/master
2021-01-20T19:56:39.507899
2016-07-29T08:01:57
2016-07-29T08:01:57
64,462,604
1
0
null
null
null
null
UTF-8
C++
false
false
3,931
hxx
GeomFill_SectionPlacement.hxx
// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _GeomFill_SectionPlacement_HeaderFile #defi...
f05dc0605abab0c9636332820aaf0fad8f8dff5e
4c3b3961b7b68ca9f36d2616f26120694ed7f08a
/xuetangx/algorithm/week2/Recode-K-Queue.cpp
25f211efd0c944beb6df23e26f9c8be51c01dc92
[]
no_license
moyin1004/learning
a459d35871997183d0088a258ac4f3ea9984327a
29b4e3f28e1e7887fe66e417c5ace55b47ef43ea
refs/heads/master
2023-08-31T03:54:39.073635
2023-08-22T16:15:45
2023-08-22T16:15:45
169,972,332
6
1
null
null
null
null
UTF-8
C++
false
false
3,168
cpp
Recode-K-Queue.cpp
#include <cassert> #include <iostream> #include <bits/stdc++.h> #include <fstream> using namespace std; struct Node { long long count; vector<int> next; }; struct Data { int pos; int count; }; vector<Node> Tree; deque<int> Q[2]; bool cmp(Data &lhs, Data &rhs) { return lhs.count < rhs.count; } v...
cf2cc9ad5704f60b79e6e71218b150cace5e7bcd
2d1f82fe5c4818ef1da82d911d0ed81a0b41ec85
/codeforces/R565/CF1176F.cpp
527b0e067cc56fcc9472940bd4553502ac32b0af
[]
no_license
OrigenesZhang/-1s
d12bad12dee37d4bb168647d7b888e2e198e8e56
08a88e4bb84b67a44eead1b034a42f5338aad592
refs/heads/master
2020-12-31T00:43:17.972520
2020-12-23T14:56:38
2020-12-23T14:56:38
80,637,191
4
1
null
null
null
null
UTF-8
C++
false
false
2,646
cpp
CF1176F.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> pii; #define FOR(i, a, b) for (int (i) = (a); (i) <= (b); (i)++) #define ROF(i, a, b) for (int (i) = (a); (i) >= (b); (i)--) #define REP(i, n) FOR(i, 0, (n)-1) #define sqr(x) ((x) * (x)) #define all(x) (x).begin(), (x).end() #de...
cf5b6a72b431d4e361fd6b049c12b4343d431d8b
bcc3881198d01d2916aa18822ef481b87e5f81b1
/examples/test/server.cpp
f8272280f2f461762f8ffab0b420f5d2fd986087
[]
no_license
GodZza/accumulation-dev
70e7b6417abcc1704c342ebbd5f564bdcc2f49ee
fc8f37d9a36a6cb298cf7183d62c85d2d5a3eac1
refs/heads/master
2021-01-24T21:20:10.988181
2013-10-31T08:40:51
2013-10-31T08:40:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
515
cpp
server.cpp
#include <iostream> using namespace std; #include "thread.h" #include "wrap_server.h" class MyServer : public WrapServer { void onConnected(int) { cout << "enter" << endl; } void onDisconnected(int) { cout << "onDisconnected" << endl; } void onRecvdata(int index, const char* data, int len) { sendTo(in...
9bcc69128933e8f8908487867483318d56cf7fe9
fad392b7b1533103a0ddcc18e059fcd2e85c0fda
/install/px4_msgs/include/px4_msgs/msg/trajectory_waypoint__traits.hpp
9449e8c381482aad67e87397ed3fadc9b412dbab
[]
no_license
adamdai/px4_ros_com_ros2
bee6ef27559a3a157d10c250a45818a5c75f2eff
bcd7a1bd13c318d69994a64215f256b9ec7ae2bb
refs/heads/master
2023-07-24T18:09:24.817561
2021-08-23T21:47:18
2021-08-23T21:47:18
399,255,215
0
0
null
null
null
null
UTF-8
C++
false
false
116
hpp
trajectory_waypoint__traits.hpp
/home/navlab-tx2-4/px4_ros_com_ros2/build/px4_msgs/rosidl_generator_cpp/px4_msgs/msg/trajectory_waypoint__traits.hpp
554060011bf5f69c36d808b5a7e1e7d6be078bd2
987425005f1abd95a749394716559375818a695a
/中国石油大学OJ训练赛/3-p-08/C.cpp
e734f1e8c113a7e2a8ed78b874975c498d3d4d5e
[]
no_license
duny31030/My_road_of_ACM
b01db0334f33ce7f26a9fe83bd9e0646bba49a28
2de8c8f2d402dfc36f635174104a4923e03030b3
refs/heads/master
2020-03-10T04:32:24.505006
2019-01-03T07:31:27
2019-01-03T07:31:27
129,194,697
1
0
null
null
null
null
UTF-8
C++
false
false
2,119
cpp
C.cpp
/* * ========================================================================= * * Filename: C.cpp * * Link: * * Version: 1.0 * Created: 2018/08/03 12时09分26秒 * Revision: none * Compiler: g++ * * Author: 杜宁元 (https://duny31030.github.io/), duny31030@1...
e014a1c00fdf835244199cf59d52d44ee779b93f
89f65521a57fa636ef25051a490bff473e90db96
/Math/quatf.cpp
04852186d863c16ef1101db742b5448b3a870196
[]
no_license
astephens4/Iriss
b54c496483ec581344641d7f8f41755d61cdb3fa
c74325448092073832d197a2f89eb4c4e89ec168
refs/heads/master
2021-01-13T02:06:40.591212
2014-04-13T17:19:21
2014-04-13T17:19:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,514
cpp
quatf.cpp
#include "Math/quatf.hpp" #include "Utils/FloatEquals.hpp" #include "Utils/Angle.hpp" #include "Math/vec3.hpp" namespace Math { bool quatf::normOnWrite = false; quatf::quatf() : Tuple<float,4>() { this->m_data[0] = 0; this->m_data[1] = 0; this->m_data[2] = 0; this->m_data[3] = 1; } ...
493b43738a76397537ab1f212afc2971c884cfe1
d59bb395221463a6d352139773e527b7d695a59c
/project/ccollisionmessage.cpp
a1434f3a4f07e9b09f0a8cd174f797208860472a
[]
no_license
BackupTheBerlios/bos-ssracer
451765f7ad25a709813ed04564a9778f67a18f15
4d6b9560b67ce411f2cc814835d775f1edf1b99f
refs/heads/master
2016-09-16T12:30:08.125143
2004-04-13T15:08:18
2004-04-13T15:08:18
40,249,470
0
0
null
null
null
null
UTF-8
C++
false
false
1,661
cpp
ccollisionmessage.cpp
#include "ccollisionmessage.h" #include "macros.h" #include "DXUtil.h" CCollisionMessage::CCollisionMessage() { m_E = NULL; m_vColPoint = NULL; m_vNormal = NULL; m_vReverse = NULL; m_vPushForce = NULL; m_vCenterToCenter = NULL; m_Plane = NULL; m_icollision_type = REFLECTIVE; m_nMessageType = COLLISION_MESSAGE...
7adcfa93e75944afc22fc365867443820a74dd98
89763de6db360662c3c9cdda76cecf0c68458e04
/Netbeans/Kuis2-Struktur Data/main.cpp
3eeb4e7a66bcbba3a9e2d3d7e93cfd235d311901
[]
no_license
bukhari-inst/learn_data_structure
c12194400e18f73b21ef9cdf241c6992c41795f6
4025dfb77b0feda2977c44f3eab1d4fa8c497e3b
refs/heads/master
2022-10-23T11:36:28.998909
2020-06-16T04:41:30
2020-06-16T04:41:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,128
cpp
main.cpp
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: main.cpp * Author: Bukhori * * Created on September 16, 2019, 9:47 AM */ #include <iostream> using namespace std;...
e10a5316ae3cfaa41a1e3f5f2644057393af630d
e261ecbf1b16d922a7c6a07b589fa8283ea6efa7
/Module6Assignment1.cpp
ad2ac30f1c7e7dec2e0c4cd3679561e06de282bd
[]
no_license
tacallegari/COP2222
aa7dde7143246ffd416d62dcdad761d46311e44e
c7afbf8c010fe19bf77ff760d25e4bb0bed7f2d3
refs/heads/main
2023-01-28T20:37:18.221379
2020-12-10T20:32:03
2020-12-10T20:32:03
320,381,568
0
0
null
null
null
null
UTF-8
C++
false
false
753
cpp
Module6Assignment1.cpp
// Tahlia Callegari // 2428774 //COP2222 Fall 2020 #include "CruiseShip.h" #include "CargoShip.h" #include "Ship.h" #include <iostream> #include <string> #include <iomanip> using namespace std; int main() { //Declare constant const int SIZE = 3; //Create ships array of Ship pointers a...
9f5d80fc044164d29cd1a571304a352be3d462c2
4b19135464a032c1d5271cd1ae58afb21df38584
/Samples/C++/Direct3D/EffectEdit/EffectEdit.cpp
286804d67f82ab2607a8e225fe3896da68a7aea8
[]
no_license
sjk7/DX90SDK
f47cebbba53133923880004bc6e3a33cff1fe895
dd155425badb2cd3993c27f869efc007764e599b
refs/heads/master
2021-08-26T07:47:03.826451
2021-08-12T05:03:03
2021-08-12T05:03:03
253,911,891
3
1
null
null
null
null
UTF-8
C++
false
false
13,660
cpp
EffectEdit.cpp
// EffectEdit.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "EffectEdit.h" #include "MainFrm.h" #include "EffectDoc.h" #include "UIElements.h" #include "RenderView.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endi...
c16a94c28c0a754b9d8070422aed131b8c8d2f36
bec43fb187e4753da2fd7dac75bbfb040787ce06
/HackerRank/matrix_rotation.cc
efe8ae4b1cedb381a093ba6d57bd683512fdbe6d
[]
no_license
ajaysharma388/Online-Platform-s-Compitetive-Coding
27d090548af5f8c5522d5f43c1a358220c783455
1795766d42866545f0aa4dcab34fac07b83f5cb4
refs/heads/master
2020-07-19T12:55:15.095628
2020-07-12T18:33:14
2020-07-12T18:33:14
206,453,053
1
0
null
null
null
null
UTF-8
C++
false
false
1,424
cc
matrix_rotation.cc
#include <bits/stdc++.h> using namespace std; #define ll long long int #define endl "\n" void matrixRotation(int**a,int m,int n){ int x=0,y=0; while(x<n/2 && y<n/2){ int i=x,j=y; int t=a[i][j]; for(;j<n-1-y;++j){ a[i][j] = a[i][j+1]; // first Line } for(;i<...
c46c3ff4f4febcec2355f99452ed98e12569bfd8
05f6102345a169cd94bf91a464968436bbc1dcbd
/Source/Headers/mvector.h
3875ea20284a6e31746ed17def34c3fc419d240d
[]
no_license
HammerFall42/Computer-graphics-project
9001add53e79282372e5a1b83eac794e616350a8
b50216e1bab1f9403d9dedba502d29d7380f3bfb
refs/heads/main
2023-07-07T16:52:07.931718
2021-08-25T08:48:20
2021-08-25T08:48:20
359,179,279
0
0
null
null
null
null
UTF-8
C++
false
false
670
h
mvector.h
#ifndef MVECTOR_H #define MVECTOR_H #include <stdlib.h> #include <stdarg.h> #include <string> #include <memory> #include "error.h" using namespace std; template <typename ValueType> class MVector { public: MVector(); MVector(size_t size); MVector(const MVector<ValueType>&mvector); ~MVector(); V...
fea54f07ca251d7329b907fbe068d615039e50f2
23b7057146d3db771411b8b9acb6731f619bea6a
/VoiceManager/VoiceManager.h
51960d418a32ecadc509055e233c95539c7a2895
[]
no_license
leozlee/All-practice
105d8090bb6c7cbd49b7f47813cdcdc24049e1cb
d5d87ab71ce4ad2a7c64dae1e1241ee538ff220b
refs/heads/master
2021-08-18T17:29:59.051918
2017-11-23T13:26:37
2017-11-23T13:26:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,050
h
VoiceManager.h
#ifndef _VOICEMANAGER_H__ #define _VOICEMANAGER_H__ #include <unistd.h> #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <stdlib.h> #include <stdio.h> #include <linux/soundcard.h> #define VOICE_FILE_PATH "/home/opt/data/voice" enum VoiceSignalId { N...
ed653fd35e92846669ade8870086a3636df5097a
728c178b9a919a05ad9656cba63ce22e5ee789b9
/bot/inc/vec.h
6ebe77c873fd7032135ef5faade1851b665a7662
[ "MIT" ]
permissive
analog-hors/lemon-tea
d692a5ff354a34828ab9efaab0704ee6a07f3a0d
a5b903e9f6567c64755e406d4b3033e9a2b3564e
refs/heads/main
2023-07-26T10:12:15.415373
2021-09-08T02:48:31
2021-09-08T02:48:31
404,173,224
0
0
null
null
null
null
UTF-8
C++
false
false
1,898
h
vec.h
#ifndef VEC_H #define VEC_H #include <stdio.h> #include <stdlib.h> /* A very UNSAFE fixed-size vector for very special personal situations Use with CAUTIONS, can causes UNDEFINED BEHAVIORS */ template <typename T> class vec { public: vec(); ~vec(); public: T* pointer = nullptr; // This shouldn't...
d15506f58914acf0ceea71fc2642d8a4cac7d8fe
56f94a39753404fa344dcc9d5edcfb82c1fe4d00
/linked_list.h
7e909479d75286d6b4ce2cd58fa916b4d22a382e
[]
no_license
SmallE0529/Linked_List_Cpp
12c89cc9d9706af30192a46af3adb5a62b5b5047
7de27e7ad3d0983ffe353ae8a93e5a0b12d83548
refs/heads/master
2023-06-16T06:51:38.584541
2021-07-12T08:45:24
2021-07-12T08:45:24
380,315,324
0
0
null
null
null
null
UTF-8
C++
false
false
941
h
linked_list.h
#ifndef __LINKED_LIST_H__ #define __LINKED_LIST_H__ #include <iostream> class linked_list; class node { public: int data; node *next; node() { data = 0; next = nullptr; }; node(int _data) { data = _data; ...
3a915c7e9838a6949d816722901b31a3f33fb93b
53aa038d1d0c0d94348504e0ed1901d406f16b2b
/MM_EMJGameProject/Plugins/Wwise/Source/AudiokineticTools/Private/AssetManagement/SanitizeWwiseObjectPathCommandlet.cpp
8b70701c09f1f86d49f3768c4ae8026c3feb7494
[ "MIT" ]
permissive
MicosMacosGames/EpicMegaJam_MicosMacos
40506af190826d02d92cde0b0f9f6bc4244b6564
1db45728a88c7af25ce2e6d0de23bf54c1f05bc6
refs/heads/main
2023-01-27T22:27:28.225705
2020-12-11T16:00:00
2020-12-11T16:00:00
318,859,265
1
0
null
null
null
null
UTF-8
C++
false
false
1,923
cpp
SanitizeWwiseObjectPathCommandlet.cpp
#include "AssetManagement/SanitizeWwiseObjectPathCommandlet.h" #if WITH_EDITOR #include "AssetRegistry/Public/AssetRegistryModule.h" #include "AssetTools/Public/AssetToolsModule.h" #include "AkMediaAsset.h" #include "AkAudioType.h" #include "AkAssetBase.h" #include "AkUnrealHelper.h" #include "UnrealEd/Public/ObjectTo...
a3ab9d15c2dfc25dbf5c5df2ca35ca3ef928b4c2
e6bf052e2788a816d099aa67329a5bf5c83578cf
/2012/1B/1B-A.cpp
9564e75f5ab2259f7d4d83c5ab434977efb80e3e
[]
no_license
jpborsi/learn-cpp-codejam
f88576ea03532dd90c2fbe6fd694ba4f407058dd
5c2bc0dcd27a57271aef1eff737e5bf944fe0d3e
refs/heads/master
2023-03-21T16:47:50.223289
2021-03-07T12:45:12
2021-03-07T12:45:12
61,922,994
0
1
null
null
null
null
UTF-8
C++
false
false
2,149
cpp
1B-A.cpp
//2012 Round 1B, Problem A //Safety in Numbers //https://code.google.com/codejam/contest/1836486/dashboard /* Input: The first line of the input gives the number of test cases, T. T test cases follow, one per line. Each line starts with an integer N, the number of contestants, followed by a space, followed by N intege...
e7868fa4c8ea588338c3a66d2c511ff7d57da36d
664c300d81027c3866ea43f91bb45a5b0d69a818
/src/sqlite.h
082a4c128575b6aee80017c136d590a0fa7ffd81
[]
no_license
choury/fmdisk
5c58850208100ac7ef21ee37a675239146945187
a2544689a9adb41d4197a5eefdc677a40698ff82
refs/heads/master
2020-04-01T18:30:11.319789
2020-02-02T09:07:39
2020-02-02T09:07:39
153,496,560
1
0
null
null
null
null
UTF-8
C++
false
false
608
h
sqlite.h
#ifndef SQLITE_H__ #define SQLITE_H__ #include "utils.h" int sqlinit(); void sqldeinit(); void save_file_to_db(const std::string& path, const filemeta& meta, const std::vector<filekey>& fblocks); void load_file_from_db(const std::string& path, filemeta& meta, std::vector<filekey>& fblocks); int delete_file_from_db(co...
84b0ac970fa65282307010045163e1444edcd789
17fb717579a13aeadb8883e18007ebea9f6b7201
/library/cgp/display/drawable/mesh_drawable/mesh_drawable.cpp
22ecb097e5278aa84a1fe22c5bd42af9c7cde282
[]
no_license
vbonczak/graphviz
3f79336c85fa914f57695f1c3dac279672115687
7a7ad23bd6aef9c7739c7ff8c2f8059f2f86cc61
refs/heads/main
2023-08-23T21:20:12.007548
2021-11-05T16:52:24
2021-11-05T16:52:24
421,956,622
0
0
null
null
null
null
UTF-8
C++
false
false
5,106
cpp
mesh_drawable.cpp
#include "mesh_drawable.hpp" #include "cgp/base/base.hpp" namespace cgp { GLuint mesh_drawable::default_shader = 0; GLuint mesh_drawable::default_texture = 0; mesh_drawable::mesh_drawable() :vbo(), vao(0), number_triangles(0), shader(0), texture(0), transform(), anisotropic_scale({ 1,1,1 }), shading...
e4a0a536a14f110b4d31212a8d4b0a015215d272
4f4ddc396fa1dfc874780895ca9b8ee4f7714222
/src/xtp/Samples/ShortcutBar/ShortcutBar/ShortcutPaneFolders.cpp
d432f98f77b3847106f84c7c421c09666a145591
[]
no_license
UtsavChokshiCNU/GenSym-Test2
3214145186d032a6b5a7486003cef40787786ba0
a48c806df56297019cfcb22862dd64609fdd8711
refs/heads/master
2021-01-23T23:14:03.559378
2017-09-09T14:20:09
2017-09-09T14:20:09
102,960,203
3
5
null
null
null
null
UTF-8
C++
false
false
3,727
cpp
ShortcutPaneFolders.cpp
// ShortcutPaneFolders.cpp: implementation of the CShortcutPaneFolders class. // // This file is a part of the XTREME TOOLKIT PRO MFC class library. // (c)1998-2011 Codejock Software, All Rights Reserved. // // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE // RE-DISTRIBUTED BY ANY MEANS W...
2cf4c2f8e6a0da43c1da0bb9a16f7d5ec2f14ba3
c04d4dc09e6d1b0862fb2b3d7f9de7ec19633a1f
/Source/Plot/ThreeDim/TDLinePlot/TDLinePlot.h
339ff885c5dda9a89fb0ae07a79a0a1d74c82f59
[ "MIT" ]
permissive
Ben20013/CChart
6d4e7eb46ea37e870b27e702b0bde68acf8661da
436b97ca803d6c911d954437b1674b2537577654
refs/heads/master
2023-07-11T16:31:06.821801
2020-10-08T13:16:09
2020-10-08T13:16:09
null
0
0
null
null
null
null
GB18030
C++
false
false
2,472
h
TDLinePlot.h
/*============================================================================*/ /* */ /* C O P Y R I G H T */ /* ...
391a061adab6d05fbab1badae6e5cb2e038682e8
1f40abf77c33ebb9f276f34421ad98e198427186
/tools/output/stubs/System/Log/FramePrefixer_generated.cpp
bb9a6dcfd2be5185a2973589fc144c2508b7b478
[]
no_license
fzn7/rts
ff0f1f17bc01fe247ea9e6b761738f390ece112e
b63d3f8a72329ace0058fa821f8dd9a2ece1300d
refs/heads/master
2021-09-04T14:09:26.159157
2018-01-19T09:25:56
2018-01-19T09:25:56
103,816,815
0
2
null
2018-05-22T10:37:40
2017-09-17T09:17:14
C++
UTF-8
C++
false
false
825
cpp
FramePrefixer_generated.cpp
#include <iostream> /* This file is part of the Spring engine (GPL v2 or later), see LICENSE.html */ /** * This eventually prefixes log records with the current frame number. */ #include "System/maindefines.h" #include <cstdarg> #include <cstring> #ifdef __cplusplus extern "C" { #endif // GlobalSynced makes sure...
37a6f2e7eebd792d56e0852eb27c6f924564d1c9
43fe4d201f86a83f87589b8f519cd066a94fe7a5
/srcs/julius-sp/JspSocket.h
d61acfda65922208cf88df75f8fb2aea3d0f46a8
[]
no_license
Aharobot/SIGServer
b7ddcfe5627efe5b975a2f30a310b2bf5547b21b
7b7657afe21573e4f08baa24ff8e2fac6a60b7e0
refs/heads/master
2021-01-22T00:13:10.628330
2014-10-31T20:22:31
2014-10-31T20:22:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,417
h
JspSocket.h
#ifndef _JSP_SOCKET_H_ #define _JSP_SOCKET_H_ #include "JspPacket.h" #include <string> namespace Jsp { // ---------------------------------------------------- // ---------------------------------------------------- class Socket { public: // ---------------------------------------------------- // ------------...
477d41c158bacec5e138f3929f4958bed387a654
634d076e7df8e8127cfb7a77100879756b0246b1
/src/examples/basic/SkinDlg.h
e1d2a5ee1deb1a7956ea84dbdded1edff19349cd
[]
no_license
kevinzhwl/nxuiengine
f5c6412a209f501d0f1f0166f2975fa616fed319
cacaa906e899bdd95aa3424177a1821ec9936dde
refs/heads/master
2021-01-19T18:55:39.466875
2014-05-25T11:26:46
2014-05-25T11:26:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
712
h
SkinDlg.h
#pragma once #include "resource.h" class CSkinDlg : public CDialogImpl<CSkinDlg> { public: enum { IDD = IDD_DIALOG1}; CSkinDlg(void); ~CSkinDlg(void); BEGIN_MSG_MAP(CSkinDlg) MESSAGE_HANDLER(WM_LBUTTONDOWN, OnLButtonDown) MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog) COMMAND_ID_HANDLER(IDCANCEL,...
19aa6ec73ead6c65fc6de17ba25585194faa1b7d
58a0ba5ee99ec7a0bba36748ba96a557eb798023
/CodeForces/Complete/1100-1199/1121A-TechnogobletOfFire.cpp
04742acb77775abcebe06e83b41242d74c4f0da7
[ "MIT" ]
permissive
adityanjr/code-DS-ALGO
5bdd503fb5f70d459c8e9b8e58690f9da159dd53
1c104c33d2f56fe671d586b702528a559925f875
refs/heads/master
2022-10-22T21:22:09.640237
2022-10-18T15:38:46
2022-10-18T15:38:46
217,567,198
40
54
MIT
2022-10-18T15:38:47
2019-10-25T15:50:28
C++
UTF-8
C++
false
false
511
cpp
1121A-TechnogobletOfFire.cpp
#include <cstdio> #include <vector> int main(){ long n, m, k; scanf("%ld %ld %ld", &n, &m, &k); std::vector<long> pow(n + 1), sc(n + 1), best(m + 1, 0); for(long p = 1; p <= n; p++){scanf("%ld", &pow[p]);} for(long p = 1; p <= n; p++){ scanf("%ld", &sc[p]); best[sc[p]] = (best[sc[p]] ...
46614560156b1cab053c463dbda7744216cde0d8
4c6237dccf0d88085e1477c2678509cd75919fa0
/src/common/graycode_pattern.h
46702984907dd2ba82fce105fda2e73f009a0bd9
[ "BSD-3-Clause" ]
permissive
tomka/copo-tracer
7ebd4670067bf404b19990bcd83db55384e7b87a
7a272acbf19acef9eea8330e503ad95e371bd9b3
refs/heads/master
2021-01-10T19:43:35.757275
2010-10-04T15:35:33
2010-10-04T15:35:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,638
h
graycode_pattern.h
// Copyright: The original source code was provided by Sören König (Soeren.Koenig // AT tu-dresden.de). You are free to modify and/or redistribute that code in // terms of the BSD license. #ifndef GRAYCODE_PATTERN #define GRAYCODE_PATTERN #include "progress.h" #include "math_utils.h" #include "mat.h" #include "image_...
a1d4865ea5fcd6b3e518fb941e85c7230171c604
76a3c1db4d55592487c0a2e020e7c4035f3904d4
/Algorithms/Divide and Conquer/Merge_Sort.cpp
762669a551bd693772abf6d617d3251f631cd72f
[ "MIT" ]
permissive
Vortez2471/HacktoberFestContribute
5351a02aaac15c6441938e2e7fa6a55a80b075dc
3caac558cc8507373f9a4132f31864798882cb84
refs/heads/master
2020-08-09T04:39:08.773727
2019-10-09T19:13:07
2019-10-09T19:13:07
214,000,075
0
0
MIT
2019-10-09T19:13:09
2019-10-09T18:57:58
C++
UTF-8
C++
false
false
737
cpp
Merge_Sort.cpp
// Merge sort by recursion average time complexity->O(nlogn) #include<bits/stdc++.h> using namespace std; void merge(int arr[],int s,int e) { int mid=(s+e)/2; int i=s; int j=mid+1; int k=s; int temp[100]; while(i<=mid&&j<=e) { if(arr[i]<arr[j]) temp[k++]=arr[i++]; else temp[k++]=arr[j++]; } whil...
41a32a78a718d8dac2d9783e57a1e66e0627151f
d3b39332633b8d6a1ef462686ac569d453edb175
/player.h
61808c9a5a014f2812c5fde2430d8549834d5928
[]
no_license
MarioMartinezA/Pacman
3f5d4adca98a73a47aad745a18fb7208e42b80f2
43d2c033df43fff5ca596f413b3cf642e46a8dbf
refs/heads/master
2016-09-14T01:32:27.307837
2016-05-24T17:03:56
2016-05-24T17:03:56
59,591,643
0
0
null
null
null
null
UTF-8
C++
false
false
3,872
h
player.h
//************************************************************************** // player.h // Class Name: Player // // Summary: Constructs the Pac-Man player object for the game which the user // will control during the game. Pac-Man is able to move throughout the // board using the up, down, left, and right arrow keys. ...
09b21f7e0c2c37d0d2b6fea406f3df60a3bdad01
f04fc12f8426bb074f97e85917cec99ebcce9313
/widgets/fullscreen_widget.h
ee7a76cc6a37e1d2f2efa792efcc034012bce59f
[]
no_license
UrekMazin0/makaka_make_gif_qt_cpp
8321dbbfed37c1a2f2b6f12ba97738f30a278800
4ff11d8e74d287ead7b27296ee0ed8e3f639094f
refs/heads/main
2023-07-10T13:59:44.150203
2021-08-15T09:29:16
2021-08-15T09:29:16
322,869,772
1
0
null
null
null
null
UTF-8
C++
false
false
983
h
fullscreen_widget.h
#ifndef FULLSCREEN_WIDGET_H #define FULLSCREEN_WIDGET_H #include <QWidget> #include <QRubberBand> #include <QPoint> #include <QMouseEvent> #include <QPixmap> #include <QScreen> #include <QLabel> #include <QShortcut> #include <QPalette> #include <QRect> class FullScreen_Widget : public QWidget { Q_OBJECT public: ...
9c32afdb235544df3257a59c5c982bd1ec956459
21afc8455a6d396e0247dec0705b16019d2f6b51
/Uebungen (alles andere)/sternchen.cpp
735a509d930813cb627b416af6928ca979150515
[]
no_license
Yleisnero/ProgrammingStuff
8bc903b5b435fe772cab05993048acf475f142b3
1a12edb688ecb6133466c9864536447da7a4c9d1
refs/heads/master
2021-06-24T18:55:51.434666
2019-04-05T07:21:32
2019-04-05T07:21:32
130,868,727
1
1
null
null
null
null
UTF-8
C++
false
false
262
cpp
sternchen.cpp
#include "std_lib_facilities.h" void sterne(int anzahl){ for(int i = 1; i < anzahl+1; i++){ for(int j = 1; j < anzahl+1; j++){ if(j <= i){ cout << j; }else{ cout << '*'; } } cout << endl; } } int main(){ sterne(7); return 0; }
02326cb189db21dc70c7eb8c3560cf53d382208d
d1f382dd8090791eca8813bc61d4829c43349a0e
/level3/12904.cpp
f5955b0954f1283eaaaefedb958e46087ae434c5
[]
no_license
kangyeop/algorithm
0f12ac33acbfc6a7c20db300d51a1a22c0b0429b
d39587ad2b0832d86efcec70a1f2a4f5ec557cc9
refs/heads/master
2023-04-24T09:54:21.300288
2021-05-07T06:11:44
2021-05-07T06:11:44
308,500,889
2
0
null
null
null
null
UTF-8
C++
false
false
750
cpp
12904.cpp
#include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; int solution(string s) { int answer = 0; int n = s.size(); vector<vector<int>> arr; arr.assign(n, vector<int>(n, 0)); for (int i = 0; i < n; i++) { arr[i][i] = 1; answer = 1; } ...
eb4c26a61fdf3d253128140d04a61d72f400c6ad
be1eb8259efefefdb17b396f5023fbee98f637cc
/LCFunction/LCFunctionValueMap.cpp
6b50a04ce9a337d89bd1be2ab01a59c43f28e991
[]
no_license
AOE-khkhan/LOCOInterpolate
e212496f5b7007989ba2c1b471b0f5490fe20894
7e7210c7be198f27c39b48d3306159446b4cdf1c
refs/heads/master
2021-09-21T11:11:18.909324
2018-08-24T22:20:51
2018-08-24T22:20:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
530
cpp
LCFunctionValueMap.cpp
#include <iostream> #include "LCFunctionValueMap.h" #include "LCRealFunctionValueMap.h" #include "LCRealFunctionValue.h" #include "LCError.h" #include <ctime> LCFunctionValueMap::LCFunctionValueMap() { } LCError LCFunctionValueMap::newMapFromShapePair(LCFunctionValue *sourceShape, LCFunctionValue *targetShape, LCFunc...
2328feaa7c96db2712f6fb0e10294f18bdd394e2
ec85f724a5ebb25fccc0445c060a775a93262607
/Soccer/Soccer/main.cpp
40a834b7ba46e9da547cc6e0105428c94a4d46e4
[]
no_license
artemon87/C-
3f921660d9779fd3880890912b932868ce461644
0a9808ac14a6e765faf191e6d6c2726e6bf45e84
refs/heads/master
2021-01-19T04:46:06.371767
2017-04-06T06:32:23
2017-04-06T06:32:23
87,394,405
0
0
null
null
null
null
UTF-8
C++
false
false
615
cpp
main.cpp
// // main.cpp // Soccer // // Created by Artem Kovtunenko on 10/5/14. // Copyright (c) 2014 Artem Kovtunenko. All rights reserved. // #include <iostream> #include "Player.h" #include "PlayerAgent.h" using namespace std; int main() { // insert code here... PlayerAgent artem("Artem", "Kovtunenko", 16); ...
368421815272772b36e5a49583a2d5ea503974fa
62ddf1369f0be56e1eca4642655e0dbf2581320f
/Render.cpp
adaca70836061aca93c50440ba6c37b8a792ee01
[]
no_license
eherrerad94/PaintOpenGL
5f1bc4f03061e09c6c6a74c3d3918337ae40a454
c782be044d7b0650b302fb71104239e31d85a4d0
refs/heads/master
2021-05-31T23:09:35.280074
2016-04-07T23:14:02
2016-04-07T23:14:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
17,558
cpp
Render.cpp
#include "Render.h" #include <GL/glut.h> #include <iostream> #include <string> #include <sstream> #include <stdlib.h> #include <stdio.h> #include <math.h> using namespace std; Render::Render() { wh = 600; ww = 800; wx1 = 800; wy1 = 600; size = 1; vertices = 5; fill = 0; flag = 0; a1 = a2 = a3 = b1 = b2 =...
8edf4583e58852b131f231e8d89ddcd755c66b31
bd57e8411bfd1dd07d0b7b09d2e80029b1af4066
/SCRambl/Configuration.cpp
a878b57cd61073f988592a2974d9e05fa2061733
[ "MIT" ]
permissive
indirivacua/SCRambl
a80d8b911cc177ee5f70ec01b8605ec96d5c5860
cf6eb64272b4126094c77a720c2402ed47822a50
refs/heads/master
2021-12-08T04:23:30.100043
2016-02-09T01:24:05
2016-02-09T01:24:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,143
cpp
Configuration.cpp
#include "stdafx.h" #include "Configuration.h" #include <memory> namespace SCRambl { /* XMLObject */ void* XMLObject::LoadXML(XMLNode node, void* theptr) { if (m_Func) m_Func(node, theptr); return theptr; } /* XMLConfig */ void XMLConfig::LoadChildXML(XMLRange root, void* ptr) { if (m_Objects.empty()) retu...
cbf840a26146c5c0e1be9373a310edbe85f8d2a1
34ff67fc6de3bf288d2b421756a0e25bd0afa713
/fhwa2_gui/src/fhwa2_displays_panel.h
4714f46f9b680dc046c6b802ddb7046c2e780d00
[]
no_license
GAVLab/fhwa2_viz
77e68fa032f8ea2095e5e8cbdeb643f9e451775a
66a8c98230c5a9b48de687cc3d73b80b0846a54c
refs/heads/master
2016-09-10T03:26:56.051265
2012-12-10T03:53:39
2012-12-10T03:53:39
4,350,836
1
0
null
null
null
null
UTF-8
C++
false
false
603
h
fhwa2_displays_panel.h
#ifndef FHWA2_MENU_PANEL_H #define FHWA2_MENU_PANEL_H #include <string> #include <ros/ros.h> #include <rviz/panel.h> #include <rviz/displays_panel.h> class QComboBox; namespace fhwa2_gui { class FHWA2DisplaysPanel : public rviz::Panel { Q_OBJECT public: FHWA2DisplaysPanel( QWidget* parent = 0); // virtual...
c79134ee1450ebf55ec0a237036c59121b32f833
d8c3f0fb09a1cf987150c08a66685b3b303a3ce4
/debug.h
8ace393b2a98f545013259056dcf2a3b6fbc41de
[]
no_license
arbll/BzBot
8735299add3b081582c02fd5d4d894b37f68b002
6bbe82d60f78673e0d9608d6671665664d1652d9
refs/heads/master
2021-05-07T15:56:17.913067
2017-10-27T13:50:48
2017-10-27T13:54:37
108,551,652
1
2
null
null
null
null
UTF-8
C++
false
false
2,248
h
debug.h
#pragma once #include "stdafx.h" #include <iostream> #define BO_DEBUG 1 #if _DEBUG #define WDEBUG_PREFIX(t, f) std::wcout << __FUNCTION__ << "() : " << L##f << std::endl; #define WDEBUG(f) std::wcout << L##f << std::endl; #define WDEBUG0(t, f) WDEBUG_PREFIX(t, f) #def...
351a873cbe607633335ce6fbb64c8b92f13bf927
612d853f1040052cc8c238f8c42cff3f24d6464d
/Stegosaurus_CPP_Implementation.cpp
d1af31bbdaa0e6597a458231c119fc5b6888aeab
[]
no_license
MSK998/Stegosaurus_CPP_Implementation
df5dab9618acb4c98f5c3bd26590458a9b9c1281
1c16c8e20a42139eb9565ff28e321bb5239e478e
refs/heads/master
2022-12-23T10:19:01.306617
2020-09-20T23:11:23
2020-09-20T23:11:23
296,316,957
0
0
null
null
null
null
UTF-8
C++
false
false
9,377
cpp
Stegosaurus_CPP_Implementation.cpp
// Stegosaurus_CPP_Implementation.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include <iterator> #include <sstream> #include <boost/gil.hpp> #include <boost/gil/extension/io/png.hpp> #include <boost/gil/extension/numeric/sampler.hpp> #include <boost/gi...
f52125832b5973c4b1e37449457416ab6bbbb933
a7428b9985feb5d837b776e669aadc074ae37e16
/UnfoldingUtils.h
86c8dae41bd2dd19e5bf408014beccc30ef4c172
[]
no_license
andrewadare/unfolding
e4396a609f4c16c4c472b4a77e7737378fc38db8
bf9fbc5b15af09f311e53490e931c06cad84807b
refs/heads/master
2021-01-23T11:40:23.487041
2014-05-28T15:36:52
2014-05-28T15:36:52
5,968,551
1
1
null
null
null
null
UTF-8
C++
false
false
11,818
h
UnfoldingUtils.h
#ifndef UnfoldingUtils_h #define UnfoldingUtils_h class TH1; class TH1D; class TH2; class TH2D; class TH3; class TH3D; class TString; class TGraph; class TCanvas; class TF1; #include "TMatrixD.h" #include "TVectorD.h" class SVDResult // Output from SVDAnalysis(). { public: SVDResult(); virtual ~SVDResult...
93d196c768bf1d99084b358bfb3eaaba5624a8b4
8fdab174252614c3d0eea09a4bd7aa262c087fd1
/cpp/IntroToDesignPatternsCppQt/ch02/qfraction/fraction.cpp
8e09d3500a812a0625bd0627639ce4ac95ab7971
[]
no_license
idreesdb/Tutorials
a5190c72ad9ad25d9e8302c01357939bd62b75d8
754cd20250b7f826caf76a1d3c188826a4babbd3
refs/heads/master
2021-01-17T07:37:01.623156
2016-05-27T14:03:28
2016-05-27T14:03:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
319
cpp
fraction.cpp
#include <QString> #include "fraction.h" void Fraction::set(int nn, int nd) { m_numerator = nn; m_demoninator = nd; } double Fraction::toDouble() const { return 1.0 * m_numerator / m_demoninator; } QString Fraction::toString() const { return QString("%1 / %2").arg(m_numerator).arg(m_demoninator); }
185fa64b8f5501f71cf383a24a559891169135d2
1e49d897c11ca25eb635c413f99d57a0fdb144e0
/2016/Array-template.cpp
cd0460e8b91ca48808d0045173a047e2526499d7
[]
no_license
FeridAdashov/C-and-CPP
4295074021b6314e7893819756af5f854331ef6f
1ecd2a81587c1851bf9d5004f5c8b3f109be3f9a
refs/heads/master
2020-04-06T19:33:00.825018
2018-11-15T16:43:30
2018-11-15T16:43:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
352
cpp
Array-template.cpp
#include <iostream> using namespace std; template<class T = int, int n = 1> class array{ T ary[n]; public: T& operator[](int); }; template<class T, int n> T& array<T, n>::operator[](int i){ if(i < 0 || i >= n) printf("Out of index!\n"); return ary[i]; } int main() { array<int, 5> ob; array<> ob1; ob[0] = 7;...
ba606cdacfc2acca4688b6decfc51f6232b8386e
6a7d4ed5d9fae1311b7b768cae72e70b8c452c28
/FatImage.h
cc32c0da8762ce1ea32be667e19ec9fa27fbd8c7
[]
no_license
iceonepiece/LIA_ME_TO_THE_MOON
45dfe85426b65e3089ee24dff386f915c90124e7
a851a64d0f4a8b1770498f0acd37c466eee52606
refs/heads/master
2016-09-06T09:05:36.265974
2015-07-15T06:38:16
2015-07-15T06:38:16
39,120,644
0
0
null
null
null
null
UTF-8
C++
false
false
369
h
FatImage.h
#ifndef FATIMAGE_H #define FATIMAGE_H #include "DataImage.h" #include "Blob.h" class FatImage : public DataImage { public: FatImage(std::string name, int type, std::string location, std::string note); ~FatImage(); bool load( Message& message ); std::vector<Blob> list_blob; cv::Mat mat_blob; float minBlobSize...
b59957071d6421a7ff4da2e0903d5bb445778bed
69e1199b2daffa17e4842e94a54be152df540828
/杨老师系统/梅花桩.cpp
3f8c757c2f5186ee46d0907046199a721f259a0d
[]
no_license
shaobozhong/myAcmCodes
8c63e7992d0975626e6e583a49e59fe03f73017c
55b31b8a4600fd3084795f71ac0d244cbdc58800
refs/heads/master
2023-08-04T20:05:29.165456
2023-07-26T03:19:52
2023-07-26T03:19:52
21,147,335
0
1
null
2023-07-26T03:19:53
2014-06-24T00:49:13
null
UTF-8
C++
false
false
882
cpp
梅花桩.cpp
#include<iostream> #include<cmath> using namespace std; double a[100001][5]; int main() { int n; int i,j,k; double max1,tmp1,tmp2; max1=0; scanf("%d",&n); scanf("%lf%lf%lf%lf%lf",&a[0][0],&a[0][1],&a[0][2],&a[0][3],&a[0][4]); scanf("%lf%lf%lf%lf%lf",&a[1][0],&a[1][1],&a[1][2],&a[1][3],&a[1][4]); max1=0; for(...
261027a5938c11f11771476b52c0009cf677e867
a961cc13da1493521bc233f69d041a5380240875
/src/ExprLib/forloops.cc
cba1df9fc57fbeaa974622042493ce856212a19b
[ "Apache-2.0" ]
permissive
gianricardo/smart
5efda6a3ac87f4885b014ac52d813cd0f54954e1
962396af991d8f0c28f7ee1756758b145b75aa3b
refs/heads/master
2023-03-09T03:46:51.165195
2021-02-25T15:17:14
2021-02-25T15:17:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,825
cc
forloops.cc
#include "forloops.h" #include "exprman.h" #include "iterators.h" #include "../Streams/streams.h" #include "../Options/options.h" #include "result.h" #include <stdlib.h> // ****************************************************************** // * * // * ...
9cb9bade7f413062b7149c35849bb67aa868e144
7e3196622bbabe41639aec9735c44625f48fcaaa
/app/src/db/card.cpp
eaec6bfde18664367724ad780aaf8f95e0e0b5a6
[]
no_license
ifeherva/HearthDuster
3931591877c5fa3e645d3bdfe83f129c0aa6c7c9
a1dd2ae1df7f0e7568abeb0a1a9e7ed5a1a0c222
refs/heads/master
2021-01-20T06:00:10.645153
2017-12-18T06:32:13
2017-12-18T06:32:13
89,833,838
4
0
null
null
null
null
UTF-8
C++
false
false
4,835
cpp
card.cpp
// // card.cpp // card // // Created by Istvan Fehervari on 01/05/2017. // Copyright © 2017 com.ifehervari. All rights reserved. // #include "card.h" #include <map> Card::Card(const QString& id) : id(id) {} QString ReadStringValue(const QJsonValue& value, QString defaultValue = "") { if (value == QJsonValue...
832f959fcc474159d4f9fabd7ee76f94225f6950
e3f9cc9e59c4c7a9d108dfe1d63d8de7961b2633
/irrlichtFWD.h
68ae110a1009e6aa63ea5f5378ad76268869c6eb
[]
no_license
rna88/show2d
5a7d408857868c460eb9ad3018593eacc84ac10f
76b655b98ea7c2a7fb93c2fc0e75a1680b0af72d
refs/heads/master
2021-01-17T12:57:16.433820
2016-07-04T08:42:36
2016-07-04T08:42:36
57,185,764
0
0
null
null
null
null
UTF-8
C++
false
false
306
h
irrlichtFWD.h
// Forward declarations for irrlicht types. namespace irr { namespace scene { class ISceneManager; }; namespace gui { class IGUIEnvironment; }; namespace video { class IVideoDriver; }; struct SIrrlichtCreationParameters; class IEventReceiver; class IrrlichtDevice; };
2cffeb906be364c1261c477edd9776d991bd8d92
d9650c98ac86f00e3fc75153781863ce69d3580f
/CarouselMap/AutoGdiPlus.h
b76c2875f2f9189574526c6ec794f0cd85e0c09f
[]
no_license
asdlei99/CarouselMap
56bca3fc0dfdc7e4c723f759302da2613e6e8015
1f3f26953e6abd3a832eb1283f337b5868f42497
refs/heads/master
2022-02-20T14:48:23.636289
2019-05-27T07:39:49
2019-05-27T07:39:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
166
h
AutoGdiPlus.h
#pragma once typedef unsigned long ULONG_PTR; class CAutoGdiPlus { public: CAutoGdiPlus(); ~CAutoGdiPlus(); private: ULONG_PTR m_gdiplusToken;; };
a09ba77e41adc0ab7b5d5f6b8d5f54f8468efa6c
46bcf9ac359166bf9d4df624e1df4aca77586140
/链表以及关于链表的问题集/约瑟夫环.cpp
ced47cb2a16cfeb36d6d3f8f8175c7e152c8c354
[]
no_license
shulincome/-
32344b04b655f94399a3012d43098a0ca2c4a701
922282b345fa5ad17dfff34e7cba206e5f923134
refs/heads/master
2020-10-01T13:35:22.117610
2019-12-12T07:53:45
2019-12-12T07:53:45
227,548,201
1
0
null
null
null
null
UTF-8
C++
false
false
858
cpp
约瑟夫环.cpp
struct ListNode *GetJosephusPosition(){ struct ListNode *p, *q; int N, M; printf("Enter N(number of players): "); scanf("%d",&N); printf("Enter M(every M-th player gets eliminate): "); scanf("%d",&M); //创建包含所有参与游戏者的循环链表 p = q = (struct ListNode *)(malloc(sizeof(struct ListNode))); p->data = 1; ...
14e5030cd413c5b577195ef7fa5b84cb0b3e910c
f84fd1d0404aa79bb53c68186c426df84c97f966
/inc/grafy_klasy.h
dbfe5f4a60417d43d3cce9dec9e8b83734ddb573
[]
no_license
Coloboty/grafy
fc82bfdc06e93d0f958099f06026b73e8dda47a0
f2a41c8e2fa7fa65617e1670299c45881a895c47
refs/heads/master
2020-05-07T18:30:59.226427
2019-05-14T08:45:30
2019-05-14T08:45:30
180,769,838
0
0
null
null
null
null
UTF-8
C++
false
false
1,058
h
grafy_klasy.h
#ifndef GRAFY_KLASY_H #define GRAFY_KLASY_H template <typename T, typename K> class wierzcholek{ private: T wartosc; uint klucz; public: wierzcholek(T w, uint k){ wartosc= w; klucz= k; } wierzcholek(){ wartosc= 0; klucz= 0; } void zmienWartosc(T nowa) {wartosc= nowa;}...
979635e7ece689e8f9eacff9b8a395c68afb43ab
2184a4ac13e77febd996cff7712b8f499b848469
/ABC/175/D.cpp
2a54d21da24682fe911a3ba2a53cf9931806b8bb
[]
no_license
hiro-tacky/practice
41b7305139182d037ed5a5d42729638a7ded59c2
1ae6ad5348e5dfc61657162f5b2ce7a3f6b219e5
refs/heads/master
2021-10-20T23:35:21.007510
2021-10-13T06:03:48
2021-10-13T06:03:48
230,712,389
0
0
null
null
null
null
UTF-8
C++
false
false
1,247
cpp
D.cpp
// 173 #include <iostream> #include <string> #include <vector> #include <algorithm> #include <numeric> #include <queue> #include <iomanip> #include <climits> #include <string> #include <cmath> using namespace std; using ll = long long int; #define NUM 1000000007 int main(){ ll n, k, sum, rem, div, ans = LLONG_MI...
67ec4348df638e8a2480e1a7629866a43efed695
95a4f3e7370e1a1a6ce34d1a2be97ad2aef5cf5a
/whether_save.cpp
43a11e49e2531547cc757d4857bf95886a35b2bc
[]
no_license
typenameChen/subway
b9ef2a5313a8e9155fd8e9c93acde89b2db2cc0f
aa1a0927a6c20dc6d0fdad2d7b46df4063a05f84
refs/heads/master
2020-04-11T02:50:58.169065
2018-12-17T03:06:07
2018-12-17T03:06:07
161,458,451
1
0
null
null
null
null
UTF-8
C++
false
false
610
cpp
whether_save.cpp
//站点信息保存提示框 #include "whether_save.h" #include "ui_whether_save.h" WHETHER_SAVE::WHETHER_SAVE(QWidget *parent,const QString&head,const QString&question) : QDialog(parent), ui(new Ui::WHETHER_SAVE) { ui->setupUi(this); setWindowTitle(head); ui->label_question->setText(question); } WHETHER_SAVE::~WH...
062088fee5a1eba2ad50c0ced6f4d39638ba3d58
ca34eac4babf8c07f7f3dd3ce75d3be9791f366d
/Source/ShooterGame/Private/Tests/ShooterTestControllerListenServerClient.cpp
b60cf8884b3ef44b64b12c6d27c52000510c0776
[ "MIT" ]
permissive
cqcallaw/shootergame
f6c04bbcade7f96a22aff834b7d86c228ac71b7f
7d93f7d3333f2882ba67ba15da71a3f9325958aa
refs/heads/master
2021-07-08T14:18:33.600615
2021-05-21T16:52:04
2021-05-21T16:52:04
244,085,258
5
3
null
null
null
null
UTF-8
C++
false
false
413
cpp
ShooterTestControllerListenServerClient.cpp
// Copyright Epic Games, Inc.All Rights Reserved. #include "Tests/ShooterTestControllerListenServerClient.h" #include "Online/ShooterGameSession.h" void UShooterTestControllerListenServerClient::OnTick(float TimeDelta) { Super::OnTick(TimeDelta); if (bIsLoggedIn && !bIsSearchingForGame && !bFoundGame) { StartSea...
2e6dc0bfc4de24020379e7592b3f179414fb374b
5ffe8ebcf9028339da74ec6bf980f704fb48340c
/code/src/fritzwilke06/main_statistics.h
ce4db7bf335988f8753ab62cc9d249a9b0d90f19
[]
no_license
atollk/master-thesis
fca0c1c2fae0e825d72c620d35a0632b68189a01
94bba4a57e52886d5584fc57f5497553ccc52754
refs/heads/master
2021-10-15T08:16:47.879055
2019-02-05T13:35:48
2019-02-05T13:35:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
622
h
main_statistics.h
#pragma once #include "../construction_main.h" #include "../automaton/hoa/hoa_io.h" #include <iostream> namespace tollk { struct FritzWilkeOptions : public BaseOptions { bool reset_at_sccs = false; }; class FritzWilkeConstructionExecutor : public ConstructionExecutor { private: std::unique_ptr<args::Flag...
6bcb93722d7e9d1ddaae040ebf73f8c09e613fb6
6cbf92604990543c8b1ccd29d48314918279c4cb
/project3/codegen.hpp
b8bd1ffc3b8211595f2ff6cf7c9baedc7a3996c9
[]
no_license
tim124058/compiler_project
1eeac46ade43899cf595c4b829041d9880994782
77179975936cdc6560db70d15990b666512d0364
refs/heads/master
2021-06-19T00:42:36.678641
2017-06-21T14:33:46
2017-06-21T14:33:46
91,955,657
8
3
null
null
null
null
UTF-8
C++
false
false
1,496
hpp
codegen.hpp
#ifndef _CODEGEN_H_ #define _CODEGEN_H_ #include <iostream> #include <fstream> #include <stdio.h> #include <stack> #include "symbols.hpp" using namespace std; extern string outName; extern ofstream out; struct LabelStruct{ int LC; // The labelCount at that time int Max; // number of Label required for the state...
8fd4718355ebf886e8f91436505b2ef199e40718
09b99d752bdfdc560c4cb85cc78291eaf06db96a
/Source/WTF/wtf/gobject/GMainLoopSource.cpp
e37569fd1f5a310b413fe5325ece9ef0b2b0591b
[]
no_license
ispras/webkit-aotc
a6ddf37737d9f4081d83171bcd5e0ecea7152eed
8df45c237ab14520cc448106e762b1943411e2d9
refs/heads/aotc
2023-03-04T03:40:55.915838
2016-12-14T12:28:32
2016-12-14T12:28:32
72,722,479
18
3
null
2018-09-12T00:17:43
2016-11-03T08:07:38
null
UTF-8
C++
false
false
8,677
cpp
GMainLoopSource.cpp
/* * Copyright (C) 2014 Igalia S.L. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following dis...
076967245d1cec9978f5538e6164e297a341dc8c
415a38e9d832fb6c7cf09a22323fe95fdc182f0d
/midsem_lab/last year end/question_3.cpp
1dd9a8049439af36fc24a24b4cb08d3dcd5ea8a3
[]
no_license
gurkirat007/nitw-lab-folder
07bf859e725da863d21a4f9cb1ddf68c1240b892
5deb5971e5c5385cc2759484897b266d1a29cdd4
refs/heads/master
2023-04-09T06:36:48.309220
2021-04-28T08:29:32
2021-04-28T08:29:32
362,392,499
0
0
null
null
null
null
UTF-8
C++
false
false
484
cpp
question_3.cpp
//incomplete #include <iostream> using namespace std; int main(void){ int n; int rotation_factor; cin>>rotation_factor>>n; if(n%2 != 1){ cout<<"invalid"<<endl; return 1; } int matrix[n][n]; int transformed_matrix[n][n]; for(int i = 0; i<n; i++){ for(int j = 0; j<n; j++){ cin>>matrix[i][j]; } } f...
90647c7d0fbaf2d875a8b597b4f0d6d715802132
fd7ed208359ad08fa6bb716e1b008aa4e39e7efe
/labs/J70_State/cpp/complete/src/Warehouse.hpp
a8d7c1d6fbff618f0d1897d315064505a8ecdd92
[ "MIT" ]
permissive
Meera94/design_patterns
54ca8f2796d5c878487c82f5d758b5811d3bcef2
bf9f599149359921c8171b82d102a2f2904f915e
refs/heads/main
2023-07-02T04:02:11.116457
2021-08-09T14:49:44
2021-08-09T14:49:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
176
hpp
Warehouse.hpp
#include "Order.hpp" #include "OrderStatus.hpp" class Warehouse { public: static Order fill(Order o) { o.status=o.status->next(OrderStatuses::filled); return o; } };
89df0f57e596f82bf063fb27eb45c6fefad1805d
a6b3e3e818bc5c1efef9bf992bfc583de87d2595
/d04/ex03/AMateria.cpp
48fb4d52bb5265c09baa4aea77c321e956bdf4f4
[]
no_license
gloomikon/Piscine_CPP
4d66d65b5d75a4a4fc47a0778719d50d124fbb4d
b67071af3c7a4cb8ffb1a1567d010d2c574f6e1f
refs/heads/master
2020-09-14T05:17:13.442632
2019-12-26T18:59:11
2019-12-26T18:59:11
223,030,006
0
0
null
null
null
null
UTF-8
C++
false
false
1,442
cpp
AMateria.cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* AMateria.cpp :+: :+: :+...
5a1662780d69e05af8a78fd7d198ccfaafec1852
2ae0b8d95d439ccfd55ea7933ad4a2994ad0f6c5
/src/plugins/intel_gna/tests/deprecated/unit/engines/gna/matchers/copy_matcher.hpp
7fb0d16877e66d6a23669975474ce96dc504227b
[ "Apache-2.0" ]
permissive
openvinotoolkit/openvino
38ea745a247887a4e14580dbc9fc68005e2149f9
e4bed7a31c9f00d8afbfcabee3f64f55496ae56a
refs/heads/master
2023-08-18T03:47:44.572979
2023-08-17T21:24:59
2023-08-17T21:24:59
153,097,643
3,953
1,492
Apache-2.0
2023-09-14T21:42:24
2018-10-15T10:54:40
C++
UTF-8
C++
false
false
1,895
hpp
copy_matcher.hpp
// Copyright (C) 2018-2023 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "nnet_base_matcher.hpp" #include "backend/gna_types.hpp" class CopyLayerMatcher : public ::testing::MatcherInterface<const gna_nnet_type_t*> { bool matchInserted; const int matchQuantity; mutable ...
6eb6273a62e86268485aa1379b61f95ff6ca3b23
dd4ebd65f21f22436430f225d00bc8c5b804606f
/include/math/AkColor.h
c54fcdf34607aa34a35170f1638ccc4fcfc03ab4
[ "MIT" ]
permissive
KunKua/Aiks
8d9ac70fae5627acd2f5944b6e8a806e45ecc047
b994d5e068baad1688a22f00349b05e5320e20f2
refs/heads/master
2021-01-21T14:44:55.798889
2016-12-27T11:02:43
2016-12-27T11:02:43
59,094,308
3
0
null
null
null
null
UTF-8
C++
false
false
31,610
h
AkColor.h
/************************************************ * Copyright 2016 Aiks Group,All rights reserved. * *********************************************/ #ifndef AK_MATH_COLOR_H #define AK_MATH_COLOR_H #include "base/AkTypes.h" #include "math/AkMath.h" namespace aiks { float AkClampf(f32 x, f32 min, float max) { retu...
13ae593c2485d28957d4854d64a1b2d2c919ad32
980d25a7ec9c243140f5e52b494285f3c58c8ebd
/danasz_PA4/Merchant.cpp
f3ceda5cece524e495c6b3105270c4a06ffba17f
[]
no_license
danaszapiro/EC327-
cc4793779d029cc5ee40fc7b3f53c82dfdf2c6af
74cf4df92fea7971356dcc633d2c1a33d761bf9e
refs/heads/master
2021-05-04T11:18:07.758267
2017-12-04T18:11:05
2017-12-04T18:11:05
47,839,680
0
0
null
null
null
null
UTF-8
C++
false
false
8,712
cpp
Merchant.cpp
#include "Merchant.h" #include "Model.h" Merchant::Merchant(Model* model):Sailor('M', model) { this->size=10; this->insideTime=0; } Merchant::Merchant(int id, Dock* home, Model* world):Sailor('M', id, home, world) { this->size=10; this->state='h'; this->insideTime=0; } double Merchant::get_s...
bca897e522b87ffa7def53b1be468d09c02af5f6
bcd0f2939a8812e14c5b068630415452dfcdd602
/core/proverresult.h
9e70c268415ea930e9a13318de30ec4a92dbd385
[ "BSD-3-Clause" ]
permissive
upscale-project/cosa2
57334267eb5f8a87e3cda8cb4ae8788b5ae28ff8
7ef8c506ca7e4482d539c503bb4e0f50bbbc11d3
refs/heads/main
2021-06-26T14:32:50.727225
2020-06-18T20:43:07
2020-06-18T20:43:07
206,835,806
11
6
null
null
null
null
UTF-8
C++
false
false
705
h
proverresult.h
/********************* */ /*! \file ** \verbatim ** Top contributors (to current version): ** Ahmed Irfan, Makai Mann ** This file is part of the cosa2 project. ** Copyright (c) 2019 by the authors listed in the file AUTHORS ** in the top-level source dire...
1468b326f0761b4e26a3fe41bf7a14954f39ff6f
329cd26c2c968c42ed75fbc9ef400d1547729abf
/enemigos.h
30351ab75e48d992e16ad791c71c7116dbc60c57
[ "MIT" ]
permissive
SamuelFlo/Proyecto_Galaga
d4edad4b665d10e40af674251e8528336b2b4878
0d6e58d3e9cbf29aea68280d4021f6a0ac6b7a38
refs/heads/master
2020-03-20T15:52:15.519879
2018-06-15T23:04:35
2018-06-15T23:04:35
137,523,762
0
0
null
null
null
null
UTF-8
C++
false
false
209
h
enemigos.h
#ifndef ENEMIGOS_H #define ENEMIGOS_H #include <iostream> #include <ncurses.h> using namespace std; class Enemigos{ private: int x; int y; public: Enemigos(); Enemigos(int,int); }; #endif
f341f4e5f1622325306e6a04e8e584418b2073b9
dee3b7f93a9bff1a577bc33bc8a06f9694a33e76
/qt.h
bee11f246bfe7e48697bb1c67e9c65b02dec444e
[]
no_license
8589/qt-transparent-bridge
8cf724d2006b66ab2b14d79c70117895bbff6abb
c58fcb27567188fa2105dc343c3d52b86a7deb98
refs/heads/master
2022-04-23T20:15:41.001176
2020-04-27T15:24:02
2020-04-27T15:24:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,255
h
qt.h
#pragma once #include <QtWidgets/QMainWindow> #include <qtoolbutton> #include <QStandardItemModel> #include <QCombobox> #include <QTimer> #include "painter.h" #include "x64/Debug/uic/ui_qt.h" #include "TransparentBridge.h" //#include "ui_qt.h" using LinkProtocal::PC; using TB = LinkProtocal::TransparentBridge; class q...
eda2d7e28e0cda20d230c181d8327015d49871bd
8ced9785b0c93e9d8ff61e93fd78ecac7d932e2e
/trunk/KeyWrapD/KeyWrapD/KeyWrap.h
ccc33eea461e2bc8a156498655fcb4bb5e1f6730
[]
no_license
BGCX067/facelove-svn-to-git
3f36601c913b208cd4b14b6544f4555027e11005
d90f2a930184dab26200438cfb09050968de86db
refs/heads/master
2016-09-01T08:54:48.491221
2015-12-28T14:25:08
2015-12-28T14:25:08
48,704,866
0
0
null
null
null
null
UTF-8
C++
false
false
1,495
h
KeyWrap.h
#pragma once #include <Windows.h> #include <string> #include <map> using namespace std; typedef struct tagMMAudioDev { int nState; wchar_t szID[200]; wchar_t szEndPointName[200]; wchar_t szDeviceName[200]; }MMAudioDev; class KeyWrap { public: KeyWrap(void){}; public: virtual ~KeyWrap(void){}...
e9a02214f84118d15fcddda621d6f9682b140555
d0f7848662085087165f76363edf445bba63ba7e
/Cpp/DesignPatterns/Structural/Composite.cpp
5066116f89afaac867bdfe741f45dc8192106749
[ "Apache-2.0" ]
permissive
phyamal/CompPhys
cbc1accfdd9d1944817b1b9902b8000c0bb309a9
1f5d7559146a14a21182653b77fd35e6d6829855
refs/heads/master
2020-09-12T13:45:00.944424
2019-02-11T07:07:09
2019-02-11T07:07:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,821
cpp
Composite.cpp
/** * @file Composite.cpp * @brief Structural Pattern, Composite example * @ref https://en.wikibooks.org/wiki/C%2B%2B_Programming/Code/Design_Patterns * @details Composite lets clients treat individual objects and compositions of objects uniformly. * * COMPILATION TIP : -Wall warning all, -g debugger, ...
9b5ee9ac022ed2504968e7d61b84eccdbf875b85
ece911ab5fe553c818efaa85a767876f6ad4e211
/inc/hgl/gui/ThemeEngine.h
4a7c92f64ce096963b6cec21d2f445d0b2965cd1
[ "MIT" ]
permissive
hyzboy/ULRE
0b8fccfefb90ff8f362d9719aebad2160c0c12a6
51deea7c29ac6263111cf22073fcbb3a105d1827
refs/heads/master
2023-08-08T01:19:54.906869
2023-05-18T06:05:03
2023-05-18T06:05:03
157,586,917
21
6
null
null
null
null
UTF-8
C++
false
false
1,546
h
ThemeEngine.h
#ifndef HGL_GUI_THEME_ENGINE_INCLUDE #define HGL_GUI_THEME_ENGINE_INCLUDE #include<hgl/type/RectScope.h> #include<hgl/type/Map.h> #include<hgl/gui/ThemeForm.h> namespace hgl { namespace gui { namespace vulkan { class GPUDevice; }//namespace vulkan constexpr VkFormat...
a5ef3a54db4fdf77fdd1e9dea3ae4dc1fa465a38
a92b18defb50c5d1118a11bc364f17b148312028
/src/prod/src/data/txnreplicator/loggingreplicator/BackupLogFileAsyncEnumerator.cpp
0d0070965827d5ce96143267662ebd1aa0bb5896
[ "MIT" ]
permissive
KDSBest/service-fabric
34694e150fde662286e25f048fb763c97606382e
fe61c45b15a30fb089ad891c68c893b3a976e404
refs/heads/master
2023-01-28T23:19:25.040275
2020-11-30T11:11:58
2020-11-30T11:11:58
301,365,601
1
0
MIT
2020-11-30T11:11:59
2020-10-05T10:05:53
null
UTF-8
C++
false
false
9,320
cpp
BackupLogFileAsyncEnumerator.cpp
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
ca0cf30c9991ac26488e4c15b1bbec172748bdf8
3e7934b8d594bbca1370a14f353ab9a285c82719
/Controller/DemoPlayerController.cpp
a98ef8fd7d5241672847a40546c9a85b84d62abe
[]
no_license
jotaro124/Unreal-Portfolio
781da8b99ab596c5ccc3a38abd124eec8ec31971
875a9f43d9d91826eed863d2202cb51e176115e4
refs/heads/main
2023-03-04T21:02:39.628384
2021-02-20T07:57:21
2021-02-20T07:57:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,778
cpp
DemoPlayerController.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "DemoPlayerController.h" #include "../UI/MainUserWidget.h" #include "../State/DemoGameStateBase.h" #include "../State/DemoPlayerState.h" #include "../Character/Player/PlayerCharacter.h" #include "Perception/AIPerceptionStimuliSour...
a7b867b7783cd7dea89d23d17bbe51f7b3e84260
a5f3b0001cdb692aeffc444a16f79a0c4422b9d0
/main/svl/source/svdde/ddeimp.hxx
92d576efc9066ce872f082272301991a70d56ba2
[ "Apache-2.0", "CPL-1.0", "bzip2-1.0.6", "LicenseRef-scancode-other-permissive", "Zlib", "LZMA-exception", "LGPL-2.0-or-later", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-philippe-de-muyter", "OFL-1.1", "LGPL-2.1-only", "MPL-1.1", "X11", "LGPL-2.1-or-later", "GPL-2.0-only", ...
permissive
apache/openoffice
b9518e36d784898c6c2ea3ebd44458a5e47825bb
681286523c50f34f13f05f7b87ce0c70e28295de
refs/heads/trunk
2023-08-30T15:25:48.357535
2023-08-28T19:50:26
2023-08-28T19:50:26
14,357,669
907
379
Apache-2.0
2023-08-16T20:49:37
2013-11-13T08:00:13
C++
UTF-8
C++
false
false
3,997
hxx
ddeimp.hxx
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
0c9ae8a4045e38ad954c27c6c719efc63c0d33b6
dd80a584130ef1a0333429ba76c1cee0eb40df73
/frameworks/rs/cpu_ref/linkloader/include/impl/ELFSectionProgBits.hxx
434e5b540bb0b9400472f0a9a4841aa574d0a6e8
[ "MIT" ]
permissive
karunmatharu/Android-4.4-Pay-by-Data
466f4e169ede13c5835424c78e8c30ce58f885c1
fcb778e92d4aad525ef7a995660580f948d40bc9
refs/heads/master
2021-03-24T13:33:01.721868
2017-02-18T17:48:49
2017-02-18T17:48:49
81,847,777
0
2
MIT
2020-03-09T00:02:12
2017-02-13T16:47:00
null
UTF-8
C++
false
false
2,538
hxx
ELFSectionProgBits.hxx
/* * Copyright 2011, 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 applica...
929e44a84849463731ffbfc3efc97104d4408e96
029ddd7dd2235d729a95e508344392a5aa607a4a
/POSGSOFT/Asistente.h
0380047757a56ded32e4e5cab45e07c4efb6e4ca
[]
no_license
EdinsonPedroza/POO2021-1ESPB
6e1c2218da56c4b75eb1eb0363dce697d86b765d
45353d1d009b99e667f8b39e3e414da776e13eeb
refs/heads/master
2023-03-19T12:04:27.248053
2021-03-23T06:47:57
2021-03-23T06:47:57
339,280,672
0
0
null
null
null
null
UTF-8
C++
false
false
1,159
h
Asistente.h
#ifndef POSGSOFT_ASISTENTE_H #define POSGSOFT_ASISTENTE_H #include "Persona.h" #include <vector> #include <string> #include "Acta.h" using namespace std; class Asistente: public Persona{ private: vector<int>numeroActa; vector<string>estudiante; vector<string>nombreTrabajo; vector<s...
e41a45bfdd940ae526743133a7015d5f8f4c2f24
e3330b6c36a721ae951d1971057656ec06853100
/main.cpp
ed641f6b309511b34061893a6a3f976715e71e43
[]
no_license
rayouyang/130a
2bdf29ff20ec55f6be6706f76a8a0e1164a5104c
d8f58ebd713ffb1a665deabd981c9e120f5887f8
refs/heads/master
2020-12-24T15:31:22.447211
2015-12-15T21:26:58
2015-12-15T21:26:58
39,754,452
0
0
null
null
null
null
UTF-8
C++
false
false
5,076
cpp
main.cpp
// // main.cpp // 130aProject // // Created by Ray Ouyang on 7/5/15. // Copyright (c) 2015 Ray Ouyang. All rights reserved. // #include <iostream> #include <string.h> #include <stdlib.h> #include <stdio.h> #include "Trie.h" #include "Node.h" using namespace std; int main(void) { string oper,s,t; int x; ...
2ec86ee22d3330b5ea6baa8398cb7456bbf5f9a7
d41973fab9da00ad56f557f5caac0da259c225ba
/Assignment_07/Assign_07_02 - Reverse/Assign_07_02 - Reverse/Assign_07_02 - Reverse.cpp
c94e2a56941e69b64f298af60d73d88fa56a6439
[]
no_license
taquayle/ITAD123
d4505785db492982032f849ff18e3a4bb01030ff
8d4f5455864a69d0e5b1b01bca7040599748efcb
refs/heads/master
2020-04-06T06:23:29.701233
2017-02-23T09:23:33
2017-02-23T09:23:33
82,909,047
0
0
null
null
null
null
WINDOWS-1258
C++
false
false
1,687
cpp
Assign_07_02 - Reverse.cpp
// Assign_07_02 - Reverse.cpp : Defines the entry point for the console application. /* Reverse Function Write a program that reverses in memory an array of integers given by the user. The program should ask the user to enter the size of the array, dynamically allocate memory for it and populate the array with th...
48dd9ff4e06f5beff3263ad8ff34903b110b1dac
ba6720e2613d5d6bfa66a924581ccbbe44575d43
/weapon.cpp
afcf328c7344166f76efa63d7c0e5753a8ead355
[]
no_license
michael0udee/WarGame
4a614107484347b722e4722083de70b71e20ceaa
611ff14f4811cbce3fb9b5b2e3ab277fd5b44938
refs/heads/master
2020-04-19T14:50:03.977961
2019-01-30T15:47:24
2019-01-30T15:47:24
168,255,468
0
0
null
null
null
null
UTF-8
C++
false
false
4,054
cpp
weapon.cpp
#include "weapon.h" #include "scenegui.h" #include <QtCore/QtMath> #include <QTimer> #include <QDebug> WeaponFire::WeaponFire() { timer = new QTimer(); } WeaponFire::~WeaponFire() { qDebug() << "Delete fire!"; } void WeaponFire::setTargetPosition(QPoint targetPos) { this->targetPos = targetPos; } void W...
b3f09cd7c172368c5e6d5f2101f4f19f70a12bb6
296ee7f58031d7c22fb92790b2cda5e881b5301a
/1st year/2nd semester/OOP/Final_Exam_Practice/Application/Source/main.cpp
25fe4269c431c12a5bc5eb07985c95dd22419768
[]
no_license
arazi47/university-projects
6cf7adb1fade977580e51d3842162eb033769088
4ebd70c857fac2565b44f6e40904cba209a138a1
refs/heads/master
2023-01-08T10:28:23.846702
2020-05-05T08:54:37
2020-05-05T08:54:37
105,974,765
0
2
null
2022-12-27T14:41:06
2017-10-06T06:43:06
HTML
UTF-8
C++
false
false
448
cpp
main.cpp
#include "MainWindow.h" #include <QApplication> #include "QuizSession.h" #include "presenterwnd.h" #include "participantwnd.h" #include "Repository.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); //MainWindow w; //w.show(); QuizSession qs; Repository repo(qs); PresenterWnd p...