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
ed735c27c3b0602e6e708506411b33cfdc6e7cea
3cbea0497545c00ffc87fe1fa8a74dfe88dc9509
/399_EvaluateDivision.cpp
7d7d8da975faeccab101d6c18c06a65545114350
[]
no_license
yuhenghuang/Leetcode
40b954676feb3a2ef350188a6d86dadc44e84d71
3c5aafa7969a5a1eb01106676a5b94d404d07d9f
refs/heads/master
2023-08-30T18:17:16.209053
2023-08-25T01:05:49
2023-08-25T01:05:49
249,166,616
0
0
null
null
null
null
UTF-8
C++
false
false
3,855
cpp
399_EvaluateDivision.cpp
#include <local_leetcode.hpp> struct TrieNode { unordered_map<TrieNode*, double> children; TrieNode() {} }; class Solution { private: unordered_map<string, TrieNode*> root; unordered_map<TrieNode*, bool> seen; double dfs(TrieNode* curr, TrieNode* target) { if (curr==target) return 1.0; ...
3c554540ac94812fd4228beaf5762d11a762f4b2
031e4d530346aab54ba32e5ec0aeb8ab1a783be1
/Report 2/W41/0.11/U_0
eec8ef3fe7a78fe51df4e4b51cba83a07514dcc8
[]
no_license
shyam97/modelling1
781ddcf6c16b6bd8f528b0f58bd19953f86716d9
68bd2ebc7960111b86bbff04af96003229618af7
refs/heads/master
2022-11-21T07:03:25.868074
2020-07-20T16:20:09
2020-07-20T16:20:09
262,878,324
0
0
null
null
null
null
UTF-8
C++
false
false
1,641,593
U_0
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*-------...
98c884bb138b2a21dea1f597063bf521eadd0ff5
56cedf8319dc5a1bffba161ee790f85f8c65a1e3
/Santushti/2dArray/Hackerearth_Questions/Priority_Interview.cpp
6bbc850c7b635e2227a46a68b9f4a7cee21c58d8
[]
no_license
Girl-Code-It/DS-ALGO-in-Cpp-Submissions
3da0169d83be97ac5913d96786cc83c98735f799
e406791e69dd6297304d6a8260409bbbb3701c02
refs/heads/master
2023-02-25T22:49:58.445657
2021-01-28T08:38:11
2021-01-28T08:38:11
265,025,277
2
28
null
2021-02-03T09:11:57
2020-05-18T18:23:48
C++
UTF-8
C++
false
false
816
cpp
Priority_Interview.cpp
#include<bits/stdc++.h> typedef long long ll; using namespace std; int main() { ll n; cin>>n; ll a[n][2]; for(int i=0;i<n;i++) { for(int j=0;j<2;j++) { cin>>a[i][j]; } } long int boy[n],girl[n]; int k=0,y=0; for(int ...
643d12520456a79b9593fdbd234e3ee2b844507c
b4d693ac515f80049b6de64733165e3ba22ecc91
/src/implicit/implicit_surface.cpp
7bb7b572a6133ee8f79e2ea3527f778929f4ceb4
[ "MIT" ]
permissive
knut0815/repulsive-surfaces
2d0e997b24080850c6272e72aca1e85b70f80d5f
74d6a16e6ca55c8296fa5a49757c2318bea62a84
refs/heads/master
2023-07-10T18:17:51.661383
2021-09-01T18:25:44
2021-09-01T18:25:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
106
cpp
implicit_surface.cpp
#include "implicit/implicit_surface.h" namespace rsurfaces { ImplicitSurface::~ImplicitSurface() {} }
90a00662c7256a9e021547c792f4d4ee5aada355
11e74997677dc0fbf08944e1ba99da90f55ca01b
/ros_wrapper/src/orcvio_mapping/src/orcvio/obj/ObjectFeature.cpp
328ee230bd9c035e526ddea94cedbb6d08b2cb14
[ "MIT" ]
permissive
shanmo/OrcVIO-Stereo-Mapping
de0053b54a63b7db2ed4f58f9c9019d3b0d41643
e7716dc21cdc00c67e40dee85860a25d57c979ba
refs/heads/main
2023-08-22T21:20:08.661266
2021-10-20T16:21:40
2021-10-20T16:21:40
414,379,723
12
1
null
null
null
null
UTF-8
C++
false
false
7,191
cpp
ObjectFeature.cpp
#include <math.h> #include <iostream> #include <fstream> #include <ctime> #include <unistd.h> #ifndef NDEBUG #define NDEBUG false #endif constexpr bool DEBUG = (! NDEBUG); #include "orcvio/obj/ObjectFeature.h" namespace orcvio { void ObjectFeature::track_sem_kp(const int & part_id, const float & x, const float & ...
db9b907b11c61ce0d62972386e5e6f24aa2002f0
afbb07f3df283175c93e6bd25a13bf7f73bb0c85
/Classes/LineEffect.cpp
57aa4a35dd87a86be99021898ef0df411b74fd76
[]
no_license
Nickchooshin/StardustCrusaders
6aa889722358934a3ee2c4c9cc2c10e6e3efe478
2ed4f67cf23c8dc9186698b3325b585c85d5eabf
refs/heads/master
2021-05-04T10:17:21.757348
2016-10-29T13:56:10
2016-10-29T13:56:10
47,019,836
0
0
null
null
null
null
UTF-8
C++
false
false
1,899
cpp
LineEffect.cpp
#include "LineEffect.h" USING_NS_CC; /* LineEffect* LineEffect::create() { LineEffect *lineEffect = new (std::nothrow) LineEffect(); if (lineEffect && lineEffect->initWithFile("Images/Title/Line.png")) { lineEffect->autorelease(); return lineEffect; } CC_SAFE_DELETE(lineEffect); return nullptr; } */ bool L...
c1f7f302fe56303a3da9525cea4e377395fa78a3
f49d206d68f2430ae0a93429d9f1f4e9da31f2d2
/test/SerialFormatterTest.cpp
fe6b8c061a7720e21d155b0a6bad5e22e2016af8
[ "MIT" ]
permissive
fmidev/smartmet-library-spine
f6b1198d63c5a457bfaea5516fce4d4bc7e2de42
e9ba41ece77bffbdc499a539612c0a31662483ad
refs/heads/master
2023-08-08T21:31:31.233944
2023-08-08T12:17:25
2023-08-08T12:17:25
75,052,857
1
1
MIT
2023-08-31T10:05:24
2016-11-29T06:59:20
C++
UTF-8
C++
false
false
5,533
cpp
SerialFormatterTest.cpp
// ====================================================================== /*! * \file * \brief Regression tests for class SerialFormatter */ // ====================================================================== #include "HTTP.h" #include "SerialFormatter.h" #include "Table.h" #include "TableFormatterOptions.h" ...
62b6f67268f188baedb4748e6cb8931f3ccb72be
20b49a6ef1fa417d67abef2d29a598c9e41c478e
/usaco/cells.cpp
a5cbda37562b6fa10ffe2c57ec934f3b7a3cab21
[]
no_license
switchpiggy/Competitive_Programming
956dac4a71fdf65de2959dd142a2032e2f0710e1
beaaae4ece70889b0af1494d68c630a6e053558a
refs/heads/master
2023-04-15T19:13:12.348433
2021-04-04T06:12:29
2021-04-04T06:12:29
290,905,106
1
3
null
2020-10-05T20:16:53
2020-08-27T23:38:48
C++
UTF-8
C++
false
false
713
cpp
cells.cpp
#include <bits/stdc++.h> using namespace std; typedef long long int ll; ll n; queue<pair<char, ll>> q; int main() { scanf("%lld", &n); q.push(make_pair('B', 0)); while(q.front().second < n) { pair<char, ll> f = q.front(); if(f.first == 'B') { q.push(make_pair('B', f.second + 1));...
cb29bac22bdedd25ea5214b8be1573965162a791
d23fe63561c671cbd36e810013e843e538e08042
/Home_ThingSpeak.ino
5bb65962ad4acb4451b512b3132ea834f7031ec5
[]
no_license
shashitejag2k2/python
de4ff7d7422aa564164ec0deb0992b161955988a
fbfe737e2e6f411feaa4d8f7f49baafda722a7da
refs/heads/main
2023-05-12T12:19:33.410813
2021-06-06T10:38:54
2021-06-06T10:38:54
365,824,566
0
1
null
null
null
null
UTF-8
C++
false
false
1,511
ino
Home_ThingSpeak.ino
#include <ThingSpeak.h> #include <ESP8266WiFi.h> int pin1=D1; int pin2=D2; int pin3=D3; int pin4=D4; WiFiClient client; unsigned long counterChannelNumber = 1408554; const char * myCounterReadAPIKey = "PBNH72DT7S8JICMJ"; const int FieldNumber1 = 1; ...
b93a2eadb7c69a33438c2026b4842aa45a1c730f
93422aeb6cd8f5f88cba56889cf2bbaba14713be
/synocontentsearchutils/lib/connection/query_close_cwrap.cpp
cfe3158323b7dbaa7a95a454d8bfc6b32dc9bd09
[]
no_license
slowfranklin/synoutils
a0c2b402058f0d0929d5780273a3d2e29d4f3db0
53fd14d392678c7d1855838d918098f0d5aac816
refs/heads/master
2020-05-02T22:44:56.554673
2019-03-28T17:57:36
2019-03-28T17:57:36
178,260,760
0
0
null
null
null
null
UTF-8
C++
false
false
367
cpp
query_close_cwrap.cpp
//Copyright (c) 2000-2015 Synology Inc. All rights reserved. #include <stdlib.h> #include <sys/socket.h> #include <synocontentsearchutils/connection_cwrap.h> #include <synodaemon/io_utils.h> void SYNOQueryConnectionClose(SYNOQueryConnection *connection) { if (connection) { if (0 <= connection->sockfd){ close(con...
8abed18af9eb7cf902fbea21b2ca4a78c5454c2c
9512ca159b0f9e36a70462268ce268024b1d2e8d
/22_05_2015/Кватернионы/Кватернионы.cpp
2b8bd19858c2fb59a270620195a85666c34f00b2
[]
no_license
ANkoR911/Sem_Two_Task_one
9ffe5ad07263dff1b06d4df6ed282a6b171a637c
5565b595586bff29036f52c0d83a635bd77d0dc8
refs/heads/master
2021-01-22T23:15:39.127692
2015-06-02T16:07:17
2015-06-02T16:07:17
34,897,515
0
1
null
null
null
null
WINDOWS-1251
C++
false
false
5,943
cpp
Кватернионы.cpp
#include <iostream> #include <math.h> #include <fstream> using namespace std; class Quaternion { private: double Im; double Re_i; double Re_j; double Re_k; public: Quaternion() : Im(0), Re_i(0), Re_j(0), Re_k(0) {} Quaternion(const double a, const double b, const double c, const double d) : Im(a), Re_i(b), R...
73eff592ab5d2101f396b8b6a745f681f60c43c8
23e393f8c385a4e0f8f3d4b9e2d80f98657f4e1f
/hack-tools/A-Protect/A-Protect/C3600Splash.h
d165d2feaf9ed1d1e83ea7bc7264beed8b11323e
[]
no_license
IgorYunusov/Mega-collection-cpp-1
c7c09e3c76395bcbf95a304db6462a315db921ba
42d07f16a379a8093b6ddc15675bf777eb10d480
refs/heads/master
2020-03-24T10:20:15.783034
2018-06-12T13:19:05
2018-06-12T13:19:05
142,653,486
3
1
null
2018-07-28T06:36:35
2018-07-28T06:36:35
null
UTF-8
C++
false
false
309
h
C3600Splash.h
#pragma once // C3600Splash class C3600Splash : public CWnd { DECLARE_DYNAMIC(C3600Splash) public: C3600Splash(); virtual ~C3600Splash(); protected: DECLARE_MESSAGE_MAP() public: CBitmap m_bitmap; void Create(UINT nBitmapID); afx_msg void OnPaint(); afx_msg void OnTimer(UINT_PTR nIDEvent); };
dc8a76b62230845e72a9e93355dcfbe687debc60
003056a9d2401942fb07f06dd87478e87ff24766
/sepemployee.cpp
b48775843446b8812422e337fced2f8b6471da2c
[]
no_license
rranjan308/ILP-Project
7ddc6472b97c279d22944a903286bd4870a9426c
0686759ccc52a47674b97c6f77a73fd4bec30e85
refs/heads/master
2021-01-18T18:25:24.036504
2013-08-29T11:24:24
2013-08-29T11:24:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,361
cpp
sepemployee.cpp
#include "sepemployee.h" string CSepEmployee::getEmpId() { return m_iempid; } void CSepEmployee::setEmpId(string eid) { m_iempid=eid; } string CSepEmployee::getEmpFName() { return m_sempfname; } void CSepEmployee::setEmpFName(string fname) { m_sempfname=fname; } void CSepEmployee::setEmpMName(string mname) { m_se...
085003ef3d7027c979f6cf32daa3d122c9421736
2eb1bc1be18f164176049993261a5a4dae1d74e3
/Technique-2/main.cpp
048eb64017293c8e5010b6dc2647743b951dde2c
[ "MIT" ]
permissive
camillevingere/controle-souris-webcam
fa4a4ea644a7ca93c09b3ca2841a6ee2ffdc26dc
632eb50dae3949b8da4d6289a5504ca5fce5394c
refs/heads/main
2023-04-02T22:19:17.502719
2021-04-01T17:04:44
2021-04-01T17:04:44
353,248,943
0
0
null
null
null
null
UTF-8
C++
false
false
7,743
cpp
main.cpp
#include <opencv2/opencv.hpp> #include <opencv2/face.hpp> #include "opencv2/objdetect.hpp" #include "opencv2/highgui.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/videoio.hpp" #include <X11/Xlib.h> #include <iostream> #include <unistd.h> #include <stdio.h> #include <string.h> using namespace cv; int calibrati...
98833ce7c03a4c455fd91da774152aefeb8fabbe
eaebd1f0c15d1fe546fa6adbb08d0bbb70869d5d
/FedorovClient/camac/dfmodule/Lock_U0301.h
4419f894e662d247f142770a260a6a2e473cdbe3
[]
no_license
basilevs/libcamac
145eac3b6fcdd45f7d31690eee3b1906796c421e
64763fb047480c9c204ae4f9ed8be4d43f7f6a54
refs/heads/master
2020-05-16T10:23:49.156105
2013-02-13T13:21:48
2013-02-13T13:21:48
3,314,514
0
0
null
null
null
null
UTF-8
C++
false
false
733
h
Lock_U0301.h
/* * Lock_U0301.h * * Created on: 12.10.2010 * Author: gulevich */ #ifndef LOCK_U0301_H_ #define LOCK_U0301_H_ #include "camac/dfmodule/base.h" class Lock_U0301: public dfCamacModuleBase { typedef dfCamacModuleBase Base; public: Lock_U0301(); enum { afReadI = CAMAC_MAKE_AF(0, 0), // TODO: check a...
7cdf93fca13c71fe5b9fc79406788d5b76030b80
2367e774d643dce26de46053dca007af49a518b3
/99-j1-windows/99-j1-windows.cpp
e9b3124dfc4ff1165aa502a1582feb5982043b9e
[]
no_license
yzy2018YZY/CppCourse2
820cde4c1ba575a3499a4caa6687402b9b51d8a6
e2c61e0281f3ae768505766a1e9d3a495599897c
refs/heads/master
2020-05-18T12:36:19.282539
2019-06-30T13:27:35
2019-06-30T13:27:35
184,412,681
1
0
null
null
null
null
GB18030
C++
false
false
7,879
cpp
99-j1-windows.cpp
/* 1850059 计1班 杨志远 */ #define _CRT_SECURE_NO_WARNINGS //使用了VS2017认为unsafe的函数 #include <iostream> #include <ctime> #include <cstring> #include <conio.h> #include <chrono> #include <Windows.h> using namespace std; struct tj_time { int tj_year; //表示年份 int tj_month; //表示月(1-12) int tj_day; //表示日(1-28/29/30/31) int t...
2bac7e07e84f50827566776d14eca4bbdb67215f
807315581299c7dd9896a13b0ad56a1d678623ec
/src/modules/servo/test.cpp
9e8c972088e3e4e88dda64473c779c0e1a942511
[ "MIT" ]
permissive
P8P-7/core
4b68bf5980883422f48045fd6fb47c1aa520b094
820873e7da867392729b2e65922205afe98e41d8
refs/heads/master
2020-03-12T14:19:57.499223
2018-07-04T13:58:01
2018-07-04T13:58:01
130,664,669
3
1
MIT
2018-07-05T20:34:25
2018-04-23T08:26:54
C++
UTF-8
C++
false
false
3,580
cpp
test.cpp
#include <iostream> #include <boost/format.hpp> #include <goliath/gpio.h> #include "dynamixel/Dynamixel.h" using namespace goliath::gpio; using namespace goliath::dynamixel; int main(int argc, char *argv[]) { unsigned char motorId = 4; int numBytes = 2; short iData = 512; Dynamixel::Instruction instr...
a542736a042888aa19047d25d76ebb3c693d3516
ec61ec7103731451c53fc7c78bc2c1bb8bf74823
/Source/FG_ASTAR/Units/Components/Unit_Movement_Component.cpp
038216640cdb1e84d484a4b6626955f198e06075
[]
no_license
Paxton89/ASTAR_Pathfinding_Unreal
7ec33b1e9c345061f0748413204a7495c5c8abeb
fc1fbc4c1b053412ac5febb9beb7d6016ca64cec
refs/heads/main
2023-08-12T21:05:09.498920
2021-09-24T14:22:37
2021-09-24T14:22:37
407,469,180
0
0
null
null
null
null
UTF-8
C++
false
false
1,363
cpp
Unit_Movement_Component.cpp
#include "FG_ASTAR/Units/Components/Unit_Movement_Component.h" #include "FG_ASTAR/Grid/Tile.h" UUnit_Movement_Component::UUnit_Movement_Component() { PrimaryComponentTick.bCanEverTick = true; } void UUnit_Movement_Component::BeginPlay() { Super::BeginPlay(); } void UUnit_Movement_Component::TickComponent(float ...
4e2b0cb3f8bcbd708fe3d2ca0703ed22caf52db2
f81124e4a52878ceeb3e4b85afca44431ce68af2
/re20_3/processor17/45/p
dd72e6107246945b9037562480d3a135bfc82a1c
[]
no_license
chaseguy15/coe-of2
7f47a72987638e60fd7491ee1310ee6a153a5c10
dc09e8d5f172489eaa32610e08e1ee7fc665068c
refs/heads/master
2023-03-29T16:59:14.421456
2021-04-06T23:26:52
2021-04-06T23:26:52
355,040,336
0
1
null
null
null
null
UTF-8
C++
false
false
15,082
p
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*-------...
2111cbb64ef45dda9e99d9665128ff223f0fdc4f
44e86b3ed5382c4c2da12073435779591921de1b
/src/geDE/Function.cpp
98861e59d955d0f3c7ed6da1f78463f2070befd0
[]
no_license
khardix/GPUEngine
eb14b660250b6625f0b1b5ab1549a6f922b9c01e
ab96b33c235c6178a6f9b2f241a8558b4134c943
refs/heads/master
2018-10-12T03:42:44.704548
2018-07-26T12:31:56
2018-07-26T12:31:56
111,310,282
0
0
null
2017-11-19T16:02:10
2017-11-19T16:02:10
null
UTF-8
C++
false
false
4,979
cpp
Function.cpp
#include<geDE/Function.h> #include<geDE/Resource.h> #include<geDE/FunctionRegister.h> #include<geCore/ErrorPrinter.h> using namespace ge::de; Function::~Function(){ for(auto const&x:this->_targetResources) x->_removeSignalingSource(this); for(auto const&x:this->_sourceResources) x->_removeSignalingTarget(...
73bad0b4578386f4d3c800233126feeafd433f2e
33a26cc8f71f6af164a69bc228638be28abd345d
/main.cpp
7c7a4f0fc61c95c2e8c76085150142c900239af1
[]
no_license
Czapkaman/S-Des
84d2da17cad2f51de7c314c40dfe76ba6ab7ebfd
f9a9cd346bd146318979f86d71bf445bea8aa9cd
refs/heads/master
2020-04-30T02:48:03.287195
2019-03-19T22:32:56
2019-03-19T22:32:56
176,569,923
0
0
null
null
null
null
UTF-8
C++
false
false
8,036
cpp
main.cpp
#include <iostream> #include <fstream> #include <vector> #include <string> #include <cstdint> using namespace std; constexpr int8_t Sbox1[16] = { 1, 0, 3, 2, 3, 2, 1, 0, 0, 2, 1, 3, 3, 1, 3, 2 }; constexpr int8_t Sbox2[16] = { 0, 1, 2, 3, 2, 0, 1, 3, 3, 0, 1, 0, 2, 1, 0, 3 }; bool Read(vector<char> &Vec, const char*...
816b9e32972c8ec732fcf57a05dd6f400a0457af
6816e09b41fa626f8b9f3ea9c023bdfcf12e5f67
/Source/Shooter/Interactable.h
695881f31bab03a71490e6bf90cefcc7ddfe871b
[]
no_license
garr12100/Unreal_FPS
d8c6c8678818f3f7845b1dbbb598208e8c999e4f
b1a8779baa5c053f1b534d7219eec9ac83a00705
refs/heads/master
2020-05-02T09:14:49.759862
2019-04-03T18:54:10
2019-04-03T18:54:10
177,865,990
0
0
null
null
null
null
UTF-8
C++
false
false
477
h
Interactable.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Actor.h" #include "Interactable.generated.h" UCLASS() class SHOOTER_API AInteractable : public AActor { GENERATED_BODY() public: AInteractable(); UPROPERTY(EditAnywhere...
c8178bae18d18ee9c7021847fafd64262dbc0c10
54bd6939a439dd8c641f18611dffb1c6587aa1d8
/src/gestWindow.cpp
30753d6e410bd2c6ddb40455421a629fe2451cdf
[]
no_license
MissaouiChedy/BlockBreaker
55baae86495eed2971fb50324ea8c2d016569b0c
932686ecb33e0864973986d3cee3b920fdfe470c
refs/heads/master
2021-01-18T09:34:01.405123
2016-04-30T09:52:50
2016-04-30T09:52:50
7,654,321
0
0
null
null
null
null
UTF-8
C++
false
false
1,355
cpp
gestWindow.cpp
#include "gestWindow.h" #include "mainWindow.h" GestWindow::GestWindow(MainWindow *window){ this->setParent(window); valideButton = new QPushButton("Valider"); //connect(valideButton, SIGNAL(clicked()), this, SLOT()); nameLabel = new QLabel("Saisissez Votre Nom: "); nameText = new QLineEdit(); levelLabel = new...
42619e81a89546c8971ce9fe9ed4f5b9b466f953
80e56bdfceac35462afcb394d1a3e0a2d97b87a2
/testPangrams/src/testPangrams.cpp
7dd86dc6380319c58f674315ab98f6d4c345e8f2
[]
no_license
dimitarpg13/cpp_testcode
8c6f338b5a831c35d813f13e5d2c83064accf253
9c1a5f2299a8c04cc5cb3dedc8a374063ac65cff
refs/heads/master
2021-06-06T05:56:10.556943
2016-02-27T15:45:57
2016-02-27T15:45:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,023
cpp
testPangrams.cpp
//============================================================================ // Name : testPangrams.cpp // Author : Dimitar Gueorguiev // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //=================================================================...
fe3cf23cb24760014d34687f504bc784bb11d138
3bb4de0e45927d99f5509abbab97bc562e3673cf
/include/StateManager.h
2258a996ab4fb41f5f4c0e44885de186675ab32c
[]
no_license
evheny0/dungeon
fa03547894ed248c6f2952a3df348c5204291fce
0efcde7fc860d707e72883c03d3b239014dd8917
refs/heads/master
2020-06-05T03:29:12.238748
2014-04-24T23:13:10
2014-04-24T23:13:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
627
h
StateManager.h
#ifndef STATE_MANAGER_H #define STATE_MANAGER_H #include <stack> #include "CoreTypes.h" #include "states/IState.h" #include "states/Splash.h" class IState; class StateManager { std::stack<IState *> statesStack; IState *currentState; IState *nextState; public: StateManager(); ~StateManager(); ...
82378f740d135e6e227dfc9bda60986a7cdf951a
6b0d3e922263ae1e00850201aeaa4daa4532f0d4
/src/app/helloBlinnPhong/main.cpp
cde12b8a7d8174e4b08300039ecf8bed630468a8
[]
no_license
j8307042003/LearnOpenGL
7a9392685d2a5e5e7e41ab0da9233ab3acd43060
83e336e81ba5afa6c3b176d254e6cfda61835fb9
refs/heads/master
2021-01-12T00:47:43.127224
2019-03-06T16:31:21
2019-03-06T16:31:21
78,293,547
0
0
null
null
null
null
UTF-8
C++
false
false
7,586
cpp
main.cpp
#include <stdio.h> #include <stdlib.h> #include <vector> #include "SOIL\SOIL.h" #include "stb\stb_image.h" #if defined _WIN32 // OpenGL on Windows needs Windows.h #include <Windows.h> #endif // GLEW #define GLEW_STATIC #include <GL/glew.h> // GLFW #include <GLFW/glfw3.h> #include "glm\glm.hpp" #include <glm/gtc/matr...
34aa0c3ff8006f12ad259dd2cd45421ac577820a
4f458aa251c6ce8ad848260bdc2ed54b78ae9b32
/Test/SP0256-AL2/SP0256-AL2.ino
cc913bb3ceb39949ea656cb2710d8e9bd7af403f
[]
no_license
Luke1962/robot
f91dac3f925565535ba9f2f39549a48cd9fc55b7
4259356ca2f184efac848dcc473383dfcc661dbc
refs/heads/master
2020-05-29T18:07:59.389130
2018-09-09T09:59:56
2018-09-09T09:59:56
51,524,325
1
3
null
null
null
null
ISO-8859-1
C++
false
false
13,937
ino
SP0256-AL2.ino
/* * interfacing to an old 1980s speech chip * * General Instruments SPO-256-AL2 pinouts * 1 V_SS (aka ground) * 2 ~RESET * 3 ROM_DISABLE (disables external ROM) * 4 C1 (external ROM control lines) * 5 C2 * 6 C3 * 7 V_DD (power for non-CPU bits) * 8 SBY (standby; output) * ...
db9aec2d2da1099abccaa051fbc79258de9e092f
6e8b526ccfef9708d2417ffc32a03db16c9dd6ad
/tp1/sources/Reseau.cpp
75546efb2f0f632007684f788e3919775b72da4f
[]
no_license
ArchSirius/log2810
0005428e3a5552f9e6d785be3b24bd433cb629d5
e36985d9a0776ed5822f6723968f2e415642820a
refs/heads/master
2021-03-27T12:33:30.588088
2015-04-13T16:32:55
2015-04-13T16:32:55
49,438,950
0
0
null
null
null
null
UTF-8
C++
false
false
13,206
cpp
Reseau.cpp
/**************************************************************************** * Fichier : Reseau.cpp * Auteur : Jules Favreau-Pollender, Francis Rochon, Samuel Rondeau * Date : 26 février 2015 * Mise à jour : 09 mars 2015 * Description : Implementation de la classe Reseau *********************...
45eee7221ae9ac6a3d830dc05a27a5ab42e02dd2
1f3194a70bb89affa0281e5463269df7f64fa994
/codechef/aug15/grguy.cpp
aebdff3f42f315b49509ac53074632559b739ae6
[]
no_license
deepakchandh/competitive
58e4143c232c0a343d0747c022548f23990c2fc4
1a18e7470b6c2887e49361dd464a1706c371f0be
refs/heads/master
2020-04-06T18:18:54.928405
2018-11-15T10:39:23
2018-11-15T10:39:23
157,693,702
1
0
null
2018-11-15T10:31:04
2018-11-15T10:31:03
null
UTF-8
C++
false
false
1,112
cpp
grguy.cpp
#include "bits/stdc++.h" #define MODULO 1000000007 #define endl '\n' #define m(a) ((a)%MODULO) #define s(a) scanf("%d", &a) #define sl(a) scanf("%lld", &a) #define p(a) printf("%d\n", a) #define LT 200000 using namespace std; typedef unsigned long long ull; typedef long long ll; int main(){ int t, ...
91a85612e77742ffde4c89b58929e5294bd08540
e53fab736b5cfd12784d22be2b9ea0c82e21eb8a
/cmdln.h
b7e623807938eda99cdfffdf85d57eb397c71b79
[ "MIT" ]
permissive
abrauchli/camshift
6f96de4b80cbe48fdc6c053d38b828c3b817ff38
16d087b96a0b1a113355916240111f5bfb41d8df
refs/heads/master
2016-09-05T12:30:19.898783
2013-12-15T07:03:36
2013-12-15T07:03:36
14,250,740
2
1
null
null
null
null
UTF-8
C++
false
false
14,343
h
cmdln.h
//-------------------------------------------------------------------------- // // File name: cmdln.h // // Abstract: Templatized command line parser. // //-------------------------------------------------------------------------- #ifndef __GLUE_CMDLN_H__ #define __GLUE_CMDLN_H__ #include <iostream> #includ...
c51de02e2a5497cc0985ea448add56471aa6aaa4
9ec1d03c4541d80d8f5eed69e684089c78b06e8e
/TPO_FreeRTOS/driverSM.h
b4ab2bc035e1a3778a8f2327c9426928139d3dd7
[]
no_license
marcospicucci/PSE
13f02acb9a921866779961312db0d9b25f5f2e55
2e8a9c3eae2f6acbc4c2def9cab82b03814a13cc
refs/heads/master
2021-01-19T11:49:14.975634
2017-04-12T02:16:39
2017-04-12T02:16:39
87,998,488
0
0
null
null
null
null
UTF-8
C++
false
false
315
h
driverSM.h
#include "FreeRTOS.h" #include "queue.h" #ifndef _DRIVERSM_H #define _DRIVERSM_H class DriverSM{ public: DriverSM(); void init(); void scanOff(); void scanOn(); //void apagaIzq(); //void apagaDer(); private: volatile uint8_t *eicra; volatile uint8_t *eimsk; }; #endif /* _DRIVERSM_H */
eba954964ad052ec29527115dd023650e9e304d5
00e4707809ee0c26f6139cf7497b40b2c874ff5e
/class/system/Integral/itgl_02.cc
d4c5a9901a58157d616675ffc3459b142497c74b
[]
no_license
5l1v3r1/hdphmm_lib
01dee591de8c48b644992723ba95f7c348ab016a
6e5e0af9b01f258fc91014af028d02de2eb1fb96
refs/heads/master
2021-08-31T16:56:59.228160
2017-12-22T04:34:41
2017-12-22T04:34:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
18,256
cc
itgl_02.cc
// file: $isip/class/system/Integral/itgl_02.cc // version: $Id: itgl_02.cc 10636 2007-01-26 22:18:09Z tm334 $ // // isip include files // #include "Integral.h" #include <Console.h> #include <SysString.h> // method: diagnose // // arguments: // DEBUG level: (input) debug level for diagnostics // // return: a boole...
259de187a8f9daee6beff6620ecc4b34d2d859f4
14d33b9eaf4f17e828fdcab93b2eefeac39a5bab
/insertion_sort.cpp
bfad237dabcb61cf585514c547ed173f55e2c424
[]
no_license
Riad889/Algorithm
f09affb3f853131363495ba0a725a2c0abc99078
9db768d1667c66a55fd720fcaca5d1ac28dca926
refs/heads/main
2023-07-18T14:09:03.138320
2021-09-03T04:33:16
2021-09-03T04:33:16
393,502,994
0
0
null
null
null
null
UTF-8
C++
false
false
641
cpp
insertion_sort.cpp
#include<bits/stdc++.h> using namespace std; void insertion_sort(int a[],int n) { int i; for(i=1;i<n;i++) { int temp=a[i]; int j=i-1; while(j>=0 and a[j]>temp) { a[j+1]=a[j]; j--; } a[j+1]=temp; } } int main() { cout<<"Enter the...
5f38c7f207213eb33670c0729becf6fff44fb7b5
5dd36c9dc3e6169b7a22529a75f620e42da80ee1
/00300. Longest Increasing Subsequence.cpp
a0550a097982e839e3c5dc41227d75cb4478fa42
[]
no_license
SanyaAttri/LeetCode
cdd6d3831f7a0f707285fd5bb9a5b11556efaa32
d0cf03fcd6525ceeee231ba7efe40955eec4314d
refs/heads/master
2022-12-24T20:58:20.040302
2020-10-10T11:12:27
2020-10-10T11:12:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,989
cpp
00300. Longest Increasing Subsequence.cpp
// // main.cpp // leetCode // // Created by miaoyou.gmy // Copyright © 2016年 miaoyou.gmy. All rights reserved. // #include <math.h> #include <stdio.h> #include <cstdlib> #include <set> #include <map> #include <list> #include <queue> #include <stack> #include <bitset> #include <vector> #include <string> #include ...
f0b4357b160209f4a9e39b858bee342b7544b042
64e8ab3dedce1a3f03949950ca54a6bee4a5a16b
/UVA/11933 - Splitting Numbers.cpp
63cb52863ea86f657cdddaf8226373d1f8806159
[]
no_license
ansen16/Competitive_Programming
b05e47c0f9ef4ba9191a7ecbf1f62eee16878303
33eeaf183eb469157270ce4ed0273cfe9f5bb7c7
refs/heads/master
2022-11-05T08:15:11.427086
2020-06-22T08:47:48
2020-06-22T08:47:48
266,330,492
0
0
null
null
null
null
UTF-8
C++
false
false
1,607
cpp
11933 - Splitting Numbers.cpp
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; typedef tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> ordered_set; typedef tree<int, null_type, less_equal<int>, rb_tree_tag, tree_o...
920532c22bc407f525d8b71f3566bcf18b2f69ca
59864cbd213b5da6f50d6255b0a021564b3d5bd4
/challenges/FileSys/src/cgc_file.h
bf5724bf7ac089ab56c4cb49b9c792c04c02c785
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-unknown", "BSD-2-Clause" ]
permissive
trailofbits/cb-multios
8af96a4fbc3b34644367faa135347f88e0e0d0a3
810d7b24b1f62f56ef49b148fe155b0d0629cad2
refs/heads/master
2023-09-05T03:56:20.229403
2022-12-27T15:47:54
2022-12-27T15:47:54
41,688,943
522
133
MIT
2023-06-29T02:47:13
2015-08-31T17:04:31
C
UTF-8
C++
false
false
2,441
h
cgc_file.h
/* * Copyright (c) 2015 Kaprica Security, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, mer...
e2df49502e44f7ca6c19d57da0c2f63e94e781a1
60f86dbab2d52fce19bc0360367bd1ea6f67891b
/WiFi_TelNet_to_Serial_Internet_time_Temparature_Logging_V1.0.ino
de052c21ade37fa8f91fd8b04ae1872cdf45b019
[]
no_license
UV-ultra/ESP8266_WiFi_TelNet_to_Serial_Internet_Time_Temparature_Logging
2978ed38232a0569e935c196dd5c894fa85be10f
ffacfab04bbc74f1fc4894d6e4e2b42d4ca061aa
refs/heads/master
2022-04-20T04:10:17.830105
2020-04-19T10:15:02
2020-04-19T10:15:02
256,956,062
0
0
null
null
null
null
UTF-8
C++
false
false
12,331
ino
WiFi_TelNet_to_Serial_Internet_time_Temparature_Logging_V1.0.ino
/* WiFiTelnetToSerial - Example Transparent UART to Telnet Server for esp8266 Copyright (c) 2015 Hristo Gochkov. All rights reserved. This file is part of the ESP8266WiFi library for Arduino environment. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Les...
68708021c3591d0a7418bb87dd775d220d14f288
2a99407309904cd05fea8befaafb14b332c816dd
/d03/ex01/FragTrap.cpp
bb9083b9faa383d006fcc10ecba4d3dd4b412316
[]
no_license
maxencealluin/cpp
ea33396c5f7aafcfa0bcb25356f1fa62a34da8db
b3442e4815a4b3f3b4b42907b8541f7ecc95f189
refs/heads/master
2020-07-05T05:52:46.926089
2020-01-28T12:55:59
2020-01-28T12:55:59
202,544,521
0
0
null
null
null
null
UTF-8
C++
false
false
5,231
cpp
FragTrap.cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* FragTrap.cpp :+: :+: :+: ...
4ddec50c914bbd560619df8df1020b5f6c56ed69
642b6bae7c3e99684e66e42d69c6643e962eac2d
/RaceViewer.hpp
827b53d5651a6901c36a78d1bf7f943f34ede844
[]
no_license
xaviermawet/EcoManager2013Experimental
0d1e344e30525e778a6b5e22051f99d870b07d4e
946c8b5efd7b6b00914879def22fc52b0a82ace7
refs/heads/master
2020-04-10T07:29:54.952610
2013-04-16T11:16:52
2013-04-16T11:16:52
9,435,765
1
0
null
null
null
null
UTF-8
C++
false
false
926
hpp
RaceViewer.hpp
#ifndef __RACEVIEWER_HPP__ #define __RACEVIEWER_HPP__ #include "ExtensibleEllipseItem.hpp" #include "DBModule/GeoCoordinate.hpp" #include "Map/MapView.hpp" #include <QtGui> class ResizableView : public QGraphicsView { public: explicit ResizableView(QWidget *parent); protected: virtual void ...
ec2f12027f229b88dbec0bce070e3506b42dcd03
8ebf49a1eac01a9757cff0444af247d66e0352c5
/2016-ICDE-RkFN/DCCR.cpp
588aa854e2582e718458024d09b31599cb749b60
[]
no_license
safarisoul/ResearchProjects
9a5f62cf9364f879e5ede27e9edfb57532c1fc76
7171965b07e70d73e643b82a084571ec8f8559ad
refs/heads/master
2021-01-01T19:21:07.628414
2015-12-21T02:33:03
2015-12-21T02:33:03
20,355,576
0
0
null
null
null
null
UTF-8
C++
false
false
61,906
cpp
DCCR.cpp
#include "DCCR.h" void DCCR::rkfn(RStarTree& fTree, RStarTree& cTree, Point& query, size_t k, Result& result, Result& notResult) { struct timeval start, end; Vertex q; q.x = query.coord[0]; q.y = query.coord[1]; RStarTree band; gettimeofday(&start, NULL); bool good = BBS::circularkSkyband...
84b736b6dece3414785fc10eece6c439861f249c
4d5489bca6e9e787d66fedbabaf70f80582565f4
/Logging1/src/types/TypeMission.h
dc1f43f6ec961f7551ec2f3f5ae83b3afa817ede
[]
no_license
Dronomycom/tests-ariel
31d7813c30d3bc03bacee8c20da58a8b2de7c356
426cb7406ebf36c25d5589c73ecc40005449c04d
refs/heads/master
2020-03-17T06:07:53.884662
2018-09-26T15:31:44
2018-09-26T15:31:44
133,342,622
0
0
null
null
null
null
UTF-8
C++
false
false
461
h
TypeMission.h
// // TypeMission.h // Logging1 // // Created by Ariel Malka on 30/07/2018. // #pragma once #include "BaseType.h" class TypeMission : public BaseType { public: int missionType; string username; int siteId; string siteName; int locationId; string locationName; int getId() override ...
55f2961fc66b170694655b90b31f564b68ef2d8c
ed26633a14b79286231d8ecc69b62dfa004e9402
/bluetooth-hardware-utils/bluetooth-hardware-utils.ino
9662ca9cec90ac5267234c19f0d0fc3df89f090a
[]
no_license
L-K-Mist/vue-web-bluetooth-arduino-starter
ddf6b9fc614e09157ed3d9bb9b617ce7c0375447
6619e61f6e122bd2f07f4be3951c02ef31620416
refs/heads/master
2023-02-20T17:29:42.036844
2021-01-27T07:46:51
2021-01-27T07:46:51
330,870,191
1
1
null
null
null
null
UTF-8
C++
false
false
4,082
ino
bluetooth-hardware-utils.ino
#include <SoftwareSerial.h> /* This is a usefull place to start, while getting to know your bluetooth hardware-module. Note: ble_cmd only works while there is no currently active bluetooth connection. See comment at the end of this file for the commands for the module I was using. If you get increasing errors at long...
b1de450246709af1ec225ced23606f6688d7265a
1cd01ed5fd01f59e1bf593076e1f1bf0f350dafb
/week-3/Введение в структуры и классы/names1.cpp
40e18c501843fc96aaa7f3238ad3aa7f77ea3695
[]
no_license
t-denisova/white-belt
63fcd372c5931464666dbaa2b0a74c4d0bf58512
d3bce8115b23de9a9a1975c245fae46238e47656
refs/heads/master
2020-03-25T16:56:39.597665
2018-09-02T16:42:24
2018-09-02T16:42:24
143,955,327
1
0
null
null
null
null
UTF-8
C++
false
false
1,234
cpp
names1.cpp
#include <map> class Person { public: void ChangeFirstName(int year, const string& first_name) { // добавить факт изменения имени на first_name в год year full_name[year].name = first_name; } void ChangeLastName(int year, const string& last_name) { // добавить факт изменения фамилии на last_name в год...
f3d1a7b363f0d4b6814b31ef924aa4399d1889fc
eb4c0b7cdd96ee4052c21686bc323d454980a3ae
/SWExpertAcademy/D2/(1285) 아름이의 돌 던지기.cpp
58bcc3745f976d0bdcdcc514124e34f1b7152bf9
[]
no_license
gospel306/Algorithm
c3963c1956cb2c13e92208e33086fc07aa164118
dace8562cd5b1801e6aeebd525631b5f5932e1fe
refs/heads/master
2022-05-02T15:41:47.699194
2022-04-04T15:09:55
2022-04-04T15:09:55
196,487,787
0
0
null
null
null
null
UTF-8
C++
false
false
490
cpp
(1285) 아름이의 돌 던지기.cpp
#include <iostream> using namespace std; int main() { int T, x; cin >> T; int N, n, distance, min_distance, min_count; for(x=1; x<=T; x++) { cin >> N; min_distance = 100001; for(n=0; n<N; n++) { cin >> distance; distance = abs(distance); if( distance < min_distance ) { min_distance = distance; ...
74d1a8a77ff7a7d2743c2c39ca6db4d9086c866a
52f64708ba7560f5d16eef95b057a993ab73c787
/Codeforces/1107/TaskE.cpp
50f93e0c8d7bd3f2850b34613a57a9c8e7f6dc1e
[]
no_license
ckpiyanon/submission
1c5709755afeba8b5087fa29b12f9c2c931c4b68
7b3f546e3c1e10787a24f567c9f2ec1366bbaf5a
refs/heads/master
2022-10-28T18:42:34.937505
2020-06-15T22:00:19
2020-06-15T22:00:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,015
cpp
TaskE.cpp
#include <bits/stdc++.h> #define all(x) (x).begin(), (x).end() #define vi vector<int> #define iii tuple<int, int, int> #define long long long #define pii pair<int, int> #define x first #define y second using namespace std; const long MOD = 1e9+7, LINF = 1e18 + 1e16; const int INF = 1e9+1; const double EPS = 1e-10; cons...
cd9df55d937de29a89354c4a3194ddbd05bd5e61
91ac219c4cde8c08a6b23ac3d207c1b21124b627
/common/datadecoding/DABMOT.h
d9bf156a800b34681123ccfdcb50cdd1654c180b
[]
no_license
DazDSP/hamdrm-dll
e41b78d5f5efb34f44eb3f0c366d7c1368acdbac
287da5949fd927e1d3993706204fe4392c35b351
refs/heads/master
2023-04-03T16:21:12.206998
2008-01-05T19:48:59
2008-01-05T19:48:59
354,168,520
0
0
null
null
null
null
UTF-8
C++
false
false
5,096
h
DABMOT.h
/******************************************************************************\ * Technische Universitaet Darmstadt, Institut fuer Nachrichtentechnik * Copyright (c) 2001 * * Author(s): * Volker Fischer * Francesco Lanza * * Description: * See DABMOT.cpp * ***************************************...
8575151b3e2f7f29c92781ce31f2008c0107fbd2
7a6df76d9dde307b8a0dbd2c20c5c0273a8a0d4d
/Examples/Test/Eigen_test.cpp
24113f8e9f3e50db9383a93940d4892bb437806b
[]
no_license
tonywilliams1990/TSL
da9ea56d821603986d7748684befb9fa6df5adec
7caa7fa565c5dfaa56903a05f2295e26aeed73c4
refs/heads/master
2020-05-21T20:46:37.956692
2018-08-24T18:03:55
2018-08-24T18:03:55
65,030,423
0
0
null
2017-12-08T16:28:48
2016-08-05T15:45:45
C++
UTF-8
C++
false
false
1,522
cpp
Eigen_test.cpp
// Test the Eigensystem class #include "Eigenvalue" using namespace std; int main() { cout << "----- TESTING Eigensystem -----" << endl; /* ----- TESTING Eigensystem class ----- */ TSL::Eigensystem<double> Eig; // Test constructor // Test eigenvectors_computed method if ( Eig.eigenvectors_comp...
afc2fee6fdb0d77ed38e989036df202ec3db74b9
2013049b2718bc6f77f471f7b3a0d3da7b212f03
/347-1e.cpp
ecd0206fc161df862873d35b43e34cc1acc77af6
[]
no_license
sky58/TopcoderSRM_AcceptedCodes
084a9de1bb7285681f0e5128c72f2fb064d626f1
de20a696261e56824754ba0031ab992cb6b757ea
refs/heads/master
2020-05-20T04:45:32.935744
2015-04-08T03:42:24
2015-04-08T03:42:24
33,550,779
0
0
null
null
null
null
UTF-8
C++
false
false
1,072
cpp
347-1e.cpp
//SRM347DIV1-250 Aircraft #include<stdio.h> #include<vector> #include<cmath> #include<map> #include<cstdlib> #include<iostream> #include<sstream> #include<string> #include<algorithm> #include<cstring> #include<cstdio> #include<list> #include<set> #include<stack> #include<bitset> #include<functional> #include<cstdlib> #...
3091ce8ed2cb8ecde0145d7e05e0c36bd32b5319
6e0be8d8ad540cd6135557603af089ba49e5ff4b
/ProyectosNogues2019/arduino_maestro_robot_oruga_2019.ino
ea15c9903f84de51f6f54a4d6559c70e76e31db8
[]
no_license
ShadowFighter99/Arduino
8d554b02ec438394ac5d9b4b20dd662648801967
37c3547cae6c5563d95a015a354245cf4b5c1c70
refs/heads/master
2020-09-11T08:57:37.891411
2020-06-25T16:51:32
2020-06-25T16:51:32
305,183,958
2
0
null
2020-10-18T19:51:00
2020-10-18T19:50:59
null
UTF-8
C++
false
false
2,866
ino
arduino_maestro_robot_oruga_2019.ino
#include "Wire.h" #include <SoftwareSerial.h> SoftwareSerial BT(A2,A3); // RX, TX #define MPU 0x68 #define A_R 16384.0 #define G_R 131.0 #define RAD_A_DEG = 57.295779 int16_t AcX, AcY, AcZ, GyX, GyY, GyZ;//MPU-6050 da los valores en enteros de 16 bits int gesto=0; float Acc[2]; float Gy[3]; float...
b452100935a8245e1205b932670e29a2b5660bed
f6b5861d3c2a6091b50627925d23277f3f6a14ec
/serialSender/serialSender.ino
f6d149186e21bb3513221502383b8741977adca4
[]
no_license
juanmrq95/ee149_104
5420c9a17acb8969a7dbb13632daa628e428bd48
e26522efae1a0b3bb22fab09b31b4a734a849d15
refs/heads/master
2021-08-29T19:02:57.662814
2017-12-14T18:09:40
2017-12-14T18:09:40
105,923,041
1
0
null
2017-12-02T01:44:02
2017-10-05T18:04:02
Arduino
UTF-8
C++
false
false
1,535
ino
serialSender.ino
/* Emic 2 Text-to-Speech Module: Basic Demonstration Author: Joe Grand [www.grandideastudio.com] Contact: support@parallax.com Program Description: This program provides a simple demonstration of...
409e9e80519f2d9b30e1693f3f1ee31868168236
cb0fd7bd24243b0582f3d4ffb1826f839dd9f174
/1232.缀点成线.cpp
ae28c6e3961cb9f4e313826d56a50b8d06803ae1
[]
no_license
Maserhe/LeetCode
efde6e9e9e0eadc251c9e87d620986658acf4665
8bd29088d386df75ce4e3e0bad0a94d48799f435
refs/heads/master
2023-07-08T11:09:40.346412
2021-08-15T15:59:34
2021-08-15T15:59:34
279,108,901
0
0
null
null
null
null
UTF-8
C++
false
false
718
cpp
1232.缀点成线.cpp
/* * @lc app=leetcode.cn id=1232 lang=cpp * * [1232] 缀点成线 */ // @lc code=start class Solution { public: bool checkStraightLine(vector<vector<int>>& coordinates) { // 只要 斜率 相同就行了 int n = coordinates.size(); // 比较和第一个点之间的斜率即可 int dy = coordinates[1][1] - coordinates[0][1]; ...
7d0d86084ac741e500edbeafc9ca243a1d1728ba
42dc821426f56e47d76b5b77c9de371741e0765d
/src/qt/lookupinfodialog.cpp
9daddc4e1d738459347261eb7f822ac08b36404d
[ "MIT" ]
permissive
sunny-prince/shinycoin
9758c93184f3578ec8d2765da61bbd9e19bc10b1
4ed46a8c60068a05cc3d519f2f520fb86bf82430
refs/heads/master
2016-09-06T02:57:34.651378
2014-07-10T22:00:44
2014-07-10T22:00:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,681
cpp
lookupinfodialog.cpp
#include "lookupinfodialog.h" #include "ui_lookupinfodialog.h" #include "addressbookpage.h" #include "guiutil.h" #include <QDataWidgetMapper> #include <QMessageBox> LookupInfoDialog::LookupInfoDialog(AddressTableModel *addressModelIn, QWidget *parent) : QDialog(parent), ui(new Ui::LookupInfoDialog), model(0),...
b5c1f18fa1f99ae00b61ac0643c9ab18f994dee2
2bae07914bcd383fefe415194ffb63e2b007aff2
/engine/modules/editor/generic_data_editor/source/generic_data_editor.cpp
d94fd5db41bdca460f30611bc3a51e7d16e73e20
[]
no_license
TikiTek/mechanica
ec4972b541bfb7dc685b0b7918785c5ca99622d2
d151a818a279f1969b977ff7a935148b18ab9546
refs/heads/master
2021-10-09T07:27:23.308704
2021-10-08T07:42:04
2021-10-08T07:42:04
71,704,579
1
0
null
null
null
null
UTF-8
C++
false
false
1,750
cpp
generic_data_editor.cpp
#include "tiki/generic_data_editor/generic_data_editor.hpp" #include "tiki/editor_interface/editable_file.hpp" #include "tiki/editor_interface/editor_interface.hpp" #include "tiki/tool_project/package.hpp" #include "tiki/tool_project/project.hpp" #include "generic_data_file.hpp" #include "res_generic_data_editor.hpp...
520272f6e3aacdd8cd56523887b50daaabbfe746
54825a61aebae4f1bc978c74d893dfc09fcff53a
/Code/Algorithms/eval expresie/main.cpp
1e541b57170d5e4fd7829ec41aa06bfbd4362f67
[]
no_license
tudor199/C-CPP
520a2e5135db51138514e3153c34120811005667
1dd2f3e914f73bdd4f5726e592fccf35f089fca9
refs/heads/master
2021-07-23T13:36:12.064200
2020-05-23T04:52:02
2020-05-23T04:52:02
172,348,824
0
0
null
null
null
null
UTF-8
C++
false
false
868
cpp
main.cpp
#include <iostream> #include <fstream> using namespace std; ifstream f("evaluare.in"); ofstream g("evaluare.out"); int suma(),produs(),factor(),numar(); char e[100010],*c; int main() { f>>e; c=e; cout<<suma(); return 0; } int suma() { int rez=produs(); while(*c=='+'||*c=='-') ...
83a1f3633ba146a229f66fa9ce412bf8eb8806be
9acd860d57bbe1357fa9d68dedb06e8131ddad02
/Src/Particle/AMReX_ParticleContainerI.H
320c3c49f253ee76b87bd40467f9b2bdb305a6fc
[ "MIT", "BSD-2-Clause" ]
permissive
mzl13/Lithium
f576878c55cf1da020c9d138d817fe65abe3bf10
27f8ec099ec9249fc7917863d4db523e27d52052
refs/heads/master
2022-11-03T03:00:01.502946
2022-10-19T10:06:20
2022-10-19T10:06:20
235,314,205
10
3
null
null
null
null
UTF-8
C++
false
false
138,819
h
AMReX_ParticleContainerI.H
template <int NStructReal, int NStructInt, int NArrayReal, int NArrayInt> bool ParticleContainer<NStructReal, NStructInt, NArrayReal, NArrayInt> ::do_tiling = false; template <int NStructReal, int NStructInt, int NArrayReal, int NArrayInt> IntVect ParticleContainer<NStructReal, NStructInt, NArrayReal, NArrayInt> ::ti...
9c55ac917ca6f855fc94efd3dd3c1acc747746dd
22ee7658700691218e586d90837d491e2c64a89d
/src/fcst/include/microscale/agglomerate_ionomer_analytical.h
770b5403785c85c14d773a14fb7f45679301e44a
[ "MIT", "DOC" ]
permissive
Aslan-Kosakian/OpenFCSTv03
1099cf8468aa868d788dff334596448fe0449076
00a721a58341b287b52cec36bfaff741fd3a7ee3
refs/heads/master
2021-01-12T09:37:33.261888
2017-01-16T17:05:49
2017-01-16T17:05:49
76,203,415
0
0
null
2016-12-11T22:15:03
2016-12-11T22:15:03
null
UTF-8
C++
false
false
8,179
h
agglomerate_ionomer_analytical.h
// ---------------------------------------------------------------------------- // // FCST: Fuel Cell Simulation Toolbox // // Copyright (C) 2006-2013 by Energy Systems Design Laboratory, University of Alberta // // This software is distributed under the MIT License // For more information, see the README file in /doc/...
a7c3bd313de85cc41c1b58b424f87be63a57c0ed
381767591b2a9532ad929bf08371c0fa96a23f28
/UVa/uva_11462_v2.cpp
03f04b5d418e5ec52b1889720213edeb378928c8
[]
no_license
nurakib/OJ-Problems-Solutions
6f846f89c94b57e0a5c2dca10f1d8539d4a7c7dd
f7295f94b3c0f7c3b6e46fdb103dd8e70f486308
refs/heads/master
2020-04-15T14:31:23.909408
2018-12-19T20:48:54
2018-12-19T20:48:54
48,622,180
1
1
null
null
null
null
UTF-8
C++
false
false
661
cpp
uva_11462_v2.cpp
#include <bits/stdc++.h> using namespace std; int main(){ int n; while(scanf("%d", &n) == 1 && n){ int tmp; priority_queue< int, vector<int>, greater<int> > num; while(n--){ scanf("%d", &tmp); num.push(tmp); } int i = 0; while(!num.empty()...
491c09927a24cd800663cae92c2e0ffff132ea9a
3322725784b46a45eebc17d7beb726d33a7c8d35
/chapter06/chpater06/program06_38.cpp
df99f57a228cfc225ac80cb3615055b41e1d406f
[]
no_license
ScottYijun/CppPrimerV5
41632de13b088bcbd68b5f3c15be1ec640b8705e
d86a04f02ae9e61bbd44f878dc85a96480aba251
refs/heads/master
2021-06-23T10:47:23.271665
2020-11-22T12:01:08
2020-11-22T12:01:08
151,928,242
0
0
null
null
null
null
UTF-8
C++
false
false
682
cpp
program06_38.cpp
// // program06_38.cpp // chpater06 // // Created by chenyijun on 17/3/01. // Copyright (c) 2017年 chenyijun. All rights reserved. // #include <iostream> #include <string.h> using namespace std; int odd[] = {1, 3, 5, 7, 9}; int even[] = {0, 2, 4, 6, 8}; //返回一个引用,该引用所引的对象是一个含有5个整数的数组 decltype(odd) &arrPtr(int i) ...
f1e3a5ccee5a71c38c02113e4beb4b39ca78a0ee
ee3bafe5d1d2a6c29019a26c628d457ab13bd505
/OpenGLSandbox/src/Shader.h
1391918466a3a1bb3b939a7b7e267cc7a2066f24
[]
no_license
josh-teichro/opengl-sandbox
53420126f98a06f6d74b68a9e34511e007d23455
e45dc1e44ced14090b1f71f7992cf82f00c46552
refs/heads/master
2023-06-18T22:16:17.886098
2021-07-20T23:42:15
2021-07-20T23:42:15
384,573,451
0
0
null
null
null
null
UTF-8
C++
false
false
1,113
h
Shader.h
#pragma once #include <unordered_map> #include <string> #include "glm/glm.hpp" /** * Stores the source code for a shader after being parsed (see Shader::ParseShader). */ struct ShaderProgramSource { std::string vertexSource; std::string fragmentSource; }; /** * OpenGL Shader API. * * Parses a single shader file ...
c2418a76db8510fef1544c44aafc047d2db47a16
17595a20fda8aa1089fec1f0337c7401d0e21940
/cameraconfigdlg.h
d7c8c2bc796550c0cb76ca97093b60aee20365bb
[]
no_license
JungwooYoo/LLPR_EX_Hipass_New
c18bcef2236bf88bd3c9a31305c6d4e1f0eb6f1f
6e30f9df9d43a5355b02febf727ef00844b08da2
refs/heads/master
2023-06-16T03:20:10.523389
2021-07-07T00:26:13
2021-07-07T00:26:24
383,397,988
0
0
null
null
null
null
UTF-8
C++
false
false
920
h
cameraconfigdlg.h
#ifndef CAMERACONFIGDLG_H #define CAMERACONFIGDLG_H #include <QDialog> #include <QButtonGroup> #include "spinview.h" #include "config.h" #include "autoiris.h" namespace Ui { class CameraConfigDlg; } class CameraConfigDlg : public QDialog { Q_OBJECT public: explicit CameraConfigDlg(int channel,spinview *pca...
43db66d390e97013cfc80952f6f84f2f0fa4ee7a
4a86874d3e740b4cd22a8bc6d439f7aba9bd52c0
/861.翻转图像.cpp
0f82ca91570956c1d0c58bbea60fbc13969ab701
[]
no_license
Jassy930/leetcode_main
4563f9634692d0b09a638114f59f6836edaa73f6
a2e4e05f2b220702dc874718e34150d1066f6ac1
refs/heads/master
2020-04-28T15:35:49.448682
2019-09-16T03:49:23
2019-09-16T03:49:23
175,380,591
0
0
null
null
null
null
UTF-8
C++
false
false
1,804
cpp
861.翻转图像.cpp
/* * @lc app=leetcode.cn id=861 lang=cpp * * [861] 翻转图像 * * https://leetcode-cn.com/problems/score-after-flipping-matrix/description/ * * algorithms * Medium (67.95%) * Total Accepted: 1.4K * Total Submissions: 2.1K * Testcase Example: '[[0,0,1,1],[1,0,1,0],[1,1,0,0]]' * * 有一个二维矩阵 A 其中每个元素的值为 0 或 1 。 ...
fe2a411cf8ea1ed9fe848de728712abca485d2db
52cfb98b672a8325a9168c43ab695c3d5aa22288
/LearningCPP/tester.cpp
f57ad6a50c13da582d0a4abfb2faabfd32cfa7ac
[]
no_license
AdamPettinger/LearningCPP
468d304b96972da07d30cd3da32869e7b8d60602
dc0007df34f9e337f6de9b4edb2c430adf8cea0c
refs/heads/master
2021-01-15T16:41:29.292139
2017-08-08T16:49:12
2017-08-08T16:49:12
99,715,653
0
0
null
null
null
null
UTF-8
C++
false
false
144
cpp
tester.cpp
// // tester.cpp // LearningCPP // // Created by Adam on 6/21/17. // Copyright © 2017 Adam. All rights reserved. // #include "tester.hpp"
4487061b82c92a19f652644be365ee31862a2b52
e4f6c3cf0871221f45db6d4b1de8aa94c282c9bb
/Console-Snake-Game/Console-Snake-Game.cpp
fedf8cfc1f190338d0e0e1b59a8ba1226a8c7e1c
[]
no_license
ashuvssut/Console-Snake-Game
ed63b9a65d0cc744b4075c6ad47750f73580eeed
84cd297776bf6da45a43f16aa7367246a5711a67
refs/heads/master
2022-12-15T19:09:46.368888
2020-09-07T07:09:25
2020-09-07T07:09:25
264,318,891
5
0
null
null
null
null
UTF-8
C++
false
false
2,662
cpp
Console-Snake-Game.cpp
#include<iostream> #include<vector> #include<conio.h> #include<Windows.h> using namespace std; bool gameOver, resume=true; int score; enum direction { STOP = 0, UP, LEFT, DOWN, RIGHT }; direction dir; int h, w, x, y, fx, fy, tail=0; vector<pair<int, int>> tacor; void setup() { dir = STOP; tacor.clear(); gameOver =...
0ccf61e50da9c502a18a1edf1e7f441712819b57
2f2b80d82461e05a0fc8a209c3a7839de54835cd
/include/clang/Analysis/Support/BlkExprDeclBitVector.h
a592be815419e8ab0b1e393e83acb973000800cf
[ "NCSA" ]
permissive
bratsche/clang
e6ac7531a4ad777402e556c5d2ac043234520e07
77c7d34ab7344a7cb55595cdbc38bc9febe6b11f
refs/heads/master
2021-01-06T20:42:55.564949
2009-04-16T06:32:38
2009-04-16T06:32:38
179,509
4
0
null
null
null
null
UTF-8
C++
false
false
8,836
h
BlkExprDeclBitVector.h
// BlkExprDeclBitVector.h - Dataflow types for Bitvector Analysis --*- C++ --*-- // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
bcc5e35b350f091f568ac0a51897198a85b05544
30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a
/Codes/AC/30.cpp
010fb0d97642c69b4756ca1b6b3e5f100e03761a
[]
no_license
thegamer1907/Code_Analysis
0a2bb97a9fb5faf01d983c223d9715eb419b7519
48079e399321b585efc8a2c6a84c25e2e7a22a61
refs/heads/master
2020-05-27T01:20:55.921937
2019-11-20T11:15:11
2019-11-20T11:15:11
188,403,594
2
1
null
null
null
null
UTF-8
C++
false
false
724
cpp
30.cpp
#include <iostream> #include <vector> #include <algorithm> #include <iomanip> using namespace std; int main() {cout<<fixed; setprecision(12); int n,l,m=-1,k; double b; cin>>n>>l; vector <int> a(n); for (int i=0;i<n;i++) cin>>a[i]; sort(a.begin(),a.end())...
44da48a13e6468b9db10392193e122652ff48af7
705fcf38cf5545456d9bf7e38427d700e6c9b516
/test.cpp
79e78529e78a557fc09fcebe31ed20985709f960
[]
no_license
sunshineyam/leetcode
4f06eedafc075ef24b9bd071309800b67925d0ba
6bce03d2602c471b1e1fd51a1b049da7a93744fc
refs/heads/master
2020-05-02T13:11:02.252651
2019-10-08T13:04:36
2019-10-08T13:04:36
177,977,591
1
0
null
null
null
null
GB18030
C++
false
false
998
cpp
test.cpp
//反转从位置 m 到 n 的链表。请使用一趟扫描完成反转。 //说明 : //1 ≤ m ≤ n ≤ 链表长度。 //示例 : //输入 : 1->2->3->4->5->NULL, m = 2, n = 4 //输出 : 1->4->3->2->5->NULL struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; class Solution { public: ListNode* reverseBetween(ListNode* head, int m, int n) { ...
b5e0c607bf371382da57c8a127d602a5da564dcf
2108393c31daadedb878f3724c7e00b1ffde8be4
/Lab1/Lab1/Source.cpp
974cb0469a27e34a82b40a12190c3d1d546631b2
[]
no_license
4VV18CS047/OpenGL-Tic-tac-toe
1fa7d9f428cbd01d7d4248cd5885528be01beda6
79ca120cf7d7370c2008a9c688d4ea008ee5c326
refs/heads/main
2023-07-17T22:58:46.626456
2021-08-26T07:15:33
2021-08-26T07:15:33
380,560,109
0
0
null
null
null
null
UTF-8
C++
false
false
5,694
cpp
Source.cpp
#include <GL/glut.h> #include <iostream> #include <math.h> #include <stdlib.h> #include <time.h> #include <string.h> int board[3][3]; // board for gameplay int turn; // current move int result; // Result of the game bool over; // Is the game Over? /* Sets the board for Tic Tac Toe */ void Intial...
3643fa7783b4664e98fa0f00ffb3a01bb7850ddb
53c21935d9803817b5de93a830b510d6bdd3baae
/linear/solver.cpp
094b5347d4ebcaad276e152a115625c9dfe11e06
[]
no_license
rayliu0605/MINLP-solver
d65dc3219c73fdac1b8a5e0c7fd92ac48e683285
03a7ecdefb3697c1e07a7da68e8c4d2d5bff0916
refs/heads/main
2023-01-13T03:05:59.535050
2020-11-18T15:43:36
2020-11-18T15:43:36
301,299,084
0
0
null
null
null
null
UTF-8
C++
false
false
7,328
cpp
solver.cpp
#include <iostream> // cout #include <fstream> // ofstream #include <random> // default_random_engine, %distribution #include <functional> // bind, ref #include <algorithm> // generate, max, min, abs #include <vector> #include <tuple> // tuple, get #include <thread> #include <time.h> #include "program.h" /*global va...
30be2c58a2774eda4c6aeb4e31afa05c3384908b
b085e097d32150b413d6a60fa7694ec6ccf34ad6
/ray/RayTracer/PinholeCamera.h
363c9d85d0fbde97e32f2cd06e4868c6c07e6363
[]
no_license
fahall/UselessCode
7e513a76fc733ac8461966ab008c88bea700e810
ee700bd402f46dea4706a127a407438d82a473bb
refs/heads/master
2021-01-23T02:34:31.421986
2015-03-06T21:50:47
2015-03-06T21:50:47
31,790,553
0
0
null
null
null
null
UTF-8
C++
false
false
803
h
PinholeCamera.h
// // PinholeCamera.h // RayTracer // // Created by Weilun Sun on 2/20/15. // Copyright (c) 2015 UC Berkeley. All rights reserved. // #ifndef __RayTracer__PinholeCamera__ #define __RayTracer__PinholeCamera__ #include <stdio.h> #include "Camera.h" class PinholeCamera : public Camera { protected: nv::vec3f ori...
5b673dbcfcab55ce3069fc686bd5fbba3b8824d9
4415f115ef6b00d2040b0ef4a14e38d8e08a0f8d
/XRFwx/stdafx.cpp
c0ef22bf70c1ee29507602cd98fa7c147e4d9571
[]
no_license
mrxordi/XRFramework
ad5878ae55b3e3262df286882fab08a1508d9e75
6a6d9bff8cf46b1dcb8be0fdcb4b2421f525fa87
refs/heads/master
2021-01-10T20:39:22.522451
2015-08-11T00:17:07
2015-08-11T00:17:07
26,660,858
1
1
null
null
null
null
UTF-8
C++
false
false
240
cpp
stdafx.cpp
#include <stdafxf.h> #ifdef _DEBUG #pragma comment(lib, "CEGUIBase-0_d.lib") #pragma comment(lib, "CEGUIDirect3D10Renderer-0_d.lib") #else #pragma comment(lib, "CEGUIBase-0.lib") #pragma comment(lib, "CEGUIDirect3D10Renderer-0.lib") #endif
2740fbc7668fb1869ea2e720c300e062c98c50c3
496cd36aef0c69a9663f2f2e3f69b7a1db9c026e
/DiscreteMathematics2018/dijkstra.cpp
54ebda6a80cfb7cf9449b5d8aa1b5347ea9d6a8a
[]
no_license
ckdwns9121/Programing-assignment
682f39625e7b1aedb069d0093a3297d2a8878e4b
84d7100b7c41b157677628971a89b22b8759f796
refs/heads/master
2020-06-01T11:47:04.395498
2019-10-28T02:32:37
2019-10-28T02:32:37
190,768,703
0
0
null
null
null
null
UTF-8
C++
false
false
1,993
cpp
dijkstra.cpp
#include <iostream> #include <vector> #include <queue> #include <fstream> #include <algorithm> #define INF 2147483647 using namespace std; ifstream fcin("dijkstra.inp"); ofstream fcout("dijkstra.out"); int N, M; int u, v, w; struct inf { int prev, v, w, n; }; vector<vector<inf> > vec; vector<int> prev_vertex; vector...
f6b9329dd1d8c67a2785d9b94cb43fd65bfd59c5
9c84604a3ea2957c46b57a3e513d390b9b0606f3
/src/board/emulator/EmulatorBoard.hpp
e6d5f7879d133bf46408dc61a5fc1e4cf9596247
[ "MIT" ]
permissive
amsobr/iotool
ace2b8dc11dad936712e7cf8e3834a5d0680077b
a91a0d5d00136ff946a18f5584e6029ffaa3d0fe
refs/heads/master
2022-07-10T19:51:44.428427
2022-06-25T10:40:56
2022-06-25T10:40:56
177,014,878
0
0
null
null
null
null
UTF-8
C++
false
false
195
hpp
EmulatorBoard.hpp
#pragma once #include <vector> #include <common/Board.hpp> class EmulatorBoard : public Board { public: EmulatorBoard(); ~EmulatorBoard() override; }; /* class EmulatorBoard */
57a674f1c5ef844cf4a92ac43e999e37398a5ce4
ce02ce3237c02d7dd26f60f01c29d4475f939722
/1.C++/2.type,operator & exp/6.type_caasting.cpp
c7e9f1c6e22d89d8da464002f90098efe0f64825
[]
no_license
DEVESH307/Data-structures-and-Algorithms
0660d0bbab9915ca14fc063118eee1e430969e0d
59147b8eadbbca782d4e8bd24a758e432df48467
refs/heads/master
2022-12-21T15:09:40.438594
2020-09-14T02:27:18
2020-09-14T02:27:18
295,277,876
0
0
null
null
null
null
UTF-8
C++
false
false
268
cpp
6.type_caasting.cpp
// C++ program to demonstrate // explicit type casting #include<bits/stdc++.h> using namespace std; int main() { double x = 1.2; // Explicit conversion from double to int int sum = (int)x + 1; cout << "Sum = " << sum; return 0; }
8d37c56c762c87be2c0c4535f87e58aaf754956e
7f0718647279fbdd0e57938718108e0c70e3e2b8
/Project/Prototypes/SwiftIDE/sceneeditorview.h
0035140dfbe5eb11aa170970005490876b90d094
[ "MIT" ]
permissive
DatZach/Swift
26dffa7405195e38899817a915eb320c57abb33b
b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7
refs/heads/master
2022-07-06T03:23:32.575916
2019-12-03T15:27:14
2019-12-03T15:27:14
225,651,121
1
1
null
null
null
null
UTF-8
C++
false
false
336
h
sceneeditorview.h
#ifndef SCENEEDITORVIEW_H #define SCENEEDITORVIEW_H #include <SFML/Graphics.hpp> #include "qsfmlcanvas.h" class SceneEditorView : public QSFMLCanvas { private: protected: void OnInit(); void OnUpdate(); public: SceneEditorView(QWidget* parent, const QPoint& position, const QSize& size); }; #endif // SC...
281911b77518ab7017cc3aad4bb325379977a6bc
5ad57f563fcf0b7c8b8cfea8e2de9f814a3a17cf
/Task-4/WifiManager/Wifimanager_test_code.ino
523e44732ad8d9a93cca952877505856ad5a4542
[ "MIT" ]
permissive
arshsaluja/UMBEO-Tech.
89cca87732803c908da74569e2a7204fb9fe3b99
09b3acff612dd0b2c5626fffb33abfa0fd28c6a7
refs/heads/main
2023-06-12T13:31:17.659337
2021-07-10T12:56:41
2021-07-10T12:56:41
373,620,513
0
0
null
null
null
null
UTF-8
C++
false
false
1,038
ino
Wifimanager_test_code.ino
#include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino //needed for library #include <DNSServer.h> #include <ESP8266WebServer.h> #include <WiFiManager.h> //https://github.com/tzapu/WiFiManager #define trigger D0 #define LED D2 #define power D3 void setup() { // put your setup code here, to r...
e9be12f297d493cc23c47729eceea9c9cab1ad49
44ffe14c37baf3b16932c00677d8b35575f32755
/src/xtopcom/xvledger/src/xvcnode.cpp
2363ca3c9e51b38d1c0a780a4cacd868029a25cb
[]
no_license
telosprotocol/TOP-chain
199fca0a71c439a8c18ba31f16641c639575ea29
1f168664d1eb4175df8f1596e81acd127112414a
refs/heads/master
2023-07-25T01:24:34.437043
2023-06-05T01:28:24
2023-06-05T01:28:24
312,178,439
13
46
null
2023-07-18T01:09:29
2020-11-12T05:38:44
C++
UTF-8
C++
false
false
11,899
cpp
xvcnode.cpp
// Copyright (c) 2018-2020 Telos Foundation & contributors // taylor.wei@topnetwork.org // Licensed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <cinttypes> #include "../xvcnode.h" #ifdef DEBUG #include "xcrypto/xckey.h" #endif #i...
b6c0a42d952482ba381191dabb3abc20ebbc7243
5a3c7188abdea1dd8b6ced8da95679f1cf121c48
/src/algorithms/LssLrtaStar.hpp
486510706d257801a4df7dc223f324ecabae1a58
[ "MIT" ]
permissive
csbence/metronome
46d975b80fcad2ddbd013f4f83e943965c9a15b1
eaa15c2d827dbc3f60a52a344e48ba8021ad303e
refs/heads/master
2021-01-15T09:42:55.036297
2019-12-11T06:18:42
2019-12-11T06:18:42
58,943,192
8
4
null
2019-02-04T18:23:59
2016-05-16T15:22:16
C++
UTF-8
C++
false
false
10,519
hpp
LssLrtaStar.hpp
#pragma once #include <fcntl.h> #include <MemoryConfiguration.hpp> #include <domains/SuccessorBundle.hpp> #include <unordered_map> #include <vector> #include "MetronomeException.hpp" #include "OnlinePlanner.hpp" #include "easylogging++.h" #include "experiment/Configuration.hpp" #include "utils/Hash.hpp" #include "util...
dcb9fca74ca2358e1ae35d8696937ab0baec8bd2
dc477621568aa9b467c5d62a71b57e7d9c5ba953
/Practice/Autum/C++/23. Заголовочные файлы/23.1/Header2.h
3d6b4fb39dd1e85da291d93459567d042bba2df4
[]
no_license
drakonorozdeniy/Programming
880f2b570f9db5e7742abe5d769139103d3069cd
da3a555e20618b7952009df1c14a3cd80b7bec9e
refs/heads/master
2023-05-10T07:41:01.272366
2021-06-11T19:02:12
2021-06-11T19:02:12
297,081,372
0
0
null
null
null
null
UTF-8
C++
false
false
366
h
Header2.h
#ifndef F_4 #define F_4 #include <iostream> #include "Header.h" using namespace std; double sinx(double x, double k) { int l; double sum, m; sum = x; l = 1; for (int i = 3; i < (2 * k + 1); i = i + 2) { if (l % 2 == 0) { m = pow(x, i) / factorial(i); } else { m = -1 * (pow(x, i) / factorial(i)); } ...
fcbcc1ec0d007feaadb4c28fe82aababff691320
22212b6400346c5ec3f5927703ad912566d3474f
/src/Plugins/SpinePlugin/LoaderResourceSpineAtlasDefault.cpp
d7a09d0ca42b81c73341f1f402a71fed701d8cdd
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
irov/Mengine
673a9f35ab10ac93d42301bc34514a852c0f150d
8118e4a4a066ffba82bda1f668c1e7a528b6b717
refs/heads/master
2023-09-04T03:19:23.686213
2023-09-03T16:05:24
2023-09-03T16:05:24
41,422,567
46
17
MIT
2022-09-26T18:41:33
2015-08-26T11:44:35
C++
UTF-8
C++
false
false
2,484
cpp
LoaderResourceSpineAtlasDefault.cpp
#include "LoaderResourceSpineAtlasDefault.h" #include "Interface/ResourceBankInterface.h" #include "ResourceSpineAtlasDefault.h" #include "Kernel/AssertionMemoryPanic.h" #include "Metacode/Metacode.h" namespace Mengine { ////////////////////////////////////////////////////////////////////////// LoaderResou...
7bf41af0ae8c12eb015cdfeb8845e5bbe00c4114
1786f51414ac5919b4a80c7858e11f7eb12cb1a9
/USST/7/2_std.cpp
88d85d81a0ced66bc1647fac058c281e774e0fa1
[]
no_license
SetsunaChyan/OI_source_code
206c4d7a0d2587a4d09beeeb185765bca0948f27
bb484131e02467cdccd6456ea1ecb17a72f6e3f6
refs/heads/master
2020-04-06T21:42:44.429553
2019-12-02T09:18:54
2019-12-02T09:18:54
157,811,588
0
0
null
null
null
null
UTF-8
C++
false
false
343
cpp
2_std.cpp
#include <cstdio> #include <memory.h> long long a[1001]; long long f(int x) { if(a[x]) return a[x]; for(int i=0;i<=x/2;i++) a[x]+=f(i); return a[x]; } int main() { freopen("data.in","r",stdin); freopen("data1.out","w",stdout); int x; memset(a,0,sizeof(a)); a[0]=1; while(~scanf("%d",&x)) printf("%lld...
83eff493cd25662539ab9436d1dc9ed5a90d63d0
d03d02ca8e6866b22233988402abbb04aa2a69e0
/src/RBD_Button.h
18736692fe09a45a3ba6286a946313d0630abf2b
[ "MIT" ]
permissive
alextaujenis/RBD_Button
a487798e7a7c7dc60f7a7813c10f4fa80a42ce1a
06c8cc1d8faf4cf2e2d3f2489e5f87b6f722e87d
refs/heads/master
2021-07-15T03:05:12.208449
2020-06-07T18:24:24
2020-06-07T18:24:24
45,164,680
32
10
MIT
2020-06-07T18:20:05
2015-10-29T06:29:45
C++
UTF-8
C++
false
false
1,055
h
RBD_Button.h
// Arduino RBD Button Library v2.2.1 - Read and debounce buttons and switches. // https://github.com/alextaujenis/RBD_Button // Copyright (c) 2015 Alex Taujenis - MIT License #ifndef RBD_BUTTON_H #define RBD_BUTTON_H #include <Arduino.h> #include <RBD_Timer.h> // https://github.com/alextaujenis/RBD_Timer namespace ...
418ca19600ab84d74cafca61eff12ee88c1c7a0a
177ecf47aaf03af0fcfaffd69dcefed720fd0773
/Compiladores/Compiladores/ATWSin.cpp
916e8de083cf26216c8195aa33799e07333962da
[]
no_license
washingtonsk8/atwcompiler
6416781d6862915f8fae44c03b34bb10ada57a43
c590663fef03f2f0cffe84459f5cc7c2a9c06c68
refs/heads/master
2016-08-07T08:20:45.838806
2012-11-22T16:47:07
2012-11-22T16:47:07
41,867,745
0
0
null
null
null
null
ISO-8859-1
C++
false
false
41,430
cpp
ATWSin.cpp
#include "ATW_MemoryManager.h" #include "ATWSin.h" #include "Globals.h" #include "FileHelper.h" #include "ERRO_DEF.h" #include "ARS_PrinterHelper.h" #include <Windows.h> #include "ATW_Helper.h" #include "ATWLabelManager.h" //--------------------------------------------------------------------------------------...
688f25c4be047c38189affdda727a1b9e80063c1
e2807ade9eebbebf0ae5996ec18a1d932410dc9f
/Cpsc 121 Programming Concepts/Townsend_KendallHW03/HW03.cpp
db23577eaf8990d967192f1246faaf079af69fab
[]
no_license
kwtownsend/Cplusplus
c3a0806a5fa0ba3a206cc32baba58c4989b46563
d4cacf2a126f1418d3cc1347e5be5436edda9098
refs/heads/master
2021-01-24T11:06:06.572055
2017-01-22T21:08:51
2017-01-22T21:08:51
70,263,529
0
0
null
null
null
null
UTF-8
C++
false
false
7,736
cpp
HW03.cpp
//Townsend, Kendall //894121409 //CPSC121 Section 5 //Spring 2011 //HW03.cpp //Credits: Lisa, Elliot #include <iostream> #include <iomanip> #include <string> #include <ctime> #include <fstream> using namespace std; //function proto int GetMenuChoice(int& choice); void ProcessUser(int ids[], string nam...
27ad5182d03c21d0b8901aa1b88b3e5970331a17
eee4e1d7e3bd56bd0c24da12f727017d509f919d
/Case/case7/2100/PMV
76a99d4dfc5a9713f6d7389abdc59bc25db90b12
[]
no_license
mamitsu2/aircond5_play5
35ea72345d23c5217564bf191921fbbe412b90f2
f1974714161f5f6dad9ae6d9a77d74b6a19d5579
refs/heads/master
2021-10-30T08:59:18.692891
2019-04-26T01:48:44
2019-04-26T01:48:44
183,529,942
0
0
null
null
null
null
UTF-8
C++
false
false
9,441
PMV
/*--------------------------------*- C++ -*----------------------------------*========= | \ / F ield | OpenFOAM: The Open Source CFD Toolbox \ / O peration | Website: https://openfoam.org \ / A nd | Version: 6 \/ M anipulation | \*---------------...
a295dec3902828cbc1dee2fe9d901773cef08c91
a971dcfc10520c13a47685fc91c2a2eeeb50414a
/MyGame/Sprite.cpp
2e5881b8ae48377f4837b7744fa015ac173f0006
[]
no_license
davidmcherne/alien_guy_with_a_tie
fda88832caab26b7dfd9848c06530a1a099aa9d2
cc32c49778e5c5250255567ceafe96effbe99302
refs/heads/main
2023-04-02T11:24:59.437927
2021-04-09T16:27:35
2021-04-09T16:27:35
356,331,556
0
0
null
null
null
null
UTF-8
C++
false
false
1,735
cpp
Sprite.cpp
#include "Sprite.h" // Sprite::Sprite() {} // Sprite::~Sprite() {} // Initialize the sprite system for this sprite. void Sprite::sprite_init( std::string graphic, SDL_Renderer* ren, int frames, int frame_duration, int start_width, int start_height ) { // Bind this sprite to the object renderer game_renderer...
03473b5e0d3a6ddb8bd013175c0a38d66796e058
105eb5659ba5f8988ce0d45338e829f42cafc5dc
/Cut the sticks hackerrank problem/main.cpp
2adc2988d106655cf0ea8159acaf1fd8e03f7ec3
[]
no_license
hadiuzzaman524/Data_Structure_Algorith_Problem
965ae6912fa31835f5d92e6b67cae0933972c327
684dda1c3ac8d5c29ee009fe168ccb004a6625a4
refs/heads/main
2023-08-20T12:19:32.965410
2021-10-20T08:27:16
2021-10-20T08:27:16
321,212,918
0
0
null
null
null
null
UTF-8
C++
false
false
581
cpp
main.cpp
#include <bits/stdc++.h> using namespace std; int main() { //freopen("input2.txt","r",stdin); int n; cin>>n; vector<int> temp; for(int i=0; i<n; i++) { int a; cin>>a; temp.push_back(a); } sort(temp.begin(),temp.end(),greater<int>()); while(!temp.empty()) ...
c3ba8f62013f48ea6ea301881a9d2107760d7361
08b8cf38e1936e8cec27f84af0d3727321cec9c4
/data/crawl/squid/old_hunk_1083.cpp
0a7106c46e4b857b68c46f0767fba6ee87140874
[]
no_license
ccdxc/logSurvey
eaf28e9c2d6307140b17986d5c05106d1fd8e943
6b80226e1667c1e0760ab39160893ee19b0e9fb1
refs/heads/master
2022-01-07T21:31:55.446839
2018-04-21T14:12:43
2018-04-21T14:12:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
419
cpp
old_hunk_1083.cpp
blen = base64_encode_update(&ctx, loginbuf, strlen(username), reinterpret_cast<const uint8_t*>(username)); blen += base64_encode_update(&ctx, loginbuf+blen, strlen(request->peer_login +1), reinterpret_cast<const uint8_t*>(request->peer_login +1)); blen += base64_encode_final(&ctx, loginbuf+blen)...
c4f5328c7307c882125b60e251b837c141a2006e
614a18737c7de22f706f2f2bf8d94831f11e77a5
/PWM.h
61abfcdd4d619fe9375059d4f85820c2e5cdbb89
[ "MIT" ]
permissive
sauttefk/VNWheel
a35f8df3ff68dc433a74818c3779a98cc9baeabe
30fce7fc9cd9010616a7554359e66e8e729b8d69
refs/heads/master
2021-03-23T18:53:23.185398
2020-03-15T13:58:32
2020-03-15T13:58:32
247,476,359
0
0
MIT
2020-03-15T13:54:31
2020-03-15T13:54:31
null
UTF-8
C++
false
false
359
h
PWM.h
#ifndef PWM_H #define PWM_H #include <Arduino.h> #define PWM9 OCR1A #define PWM10 OCR1B #define PWM11 OCR1C #define PWM_FREQ 20000.0f #define MAXFORCE (F_CPU/(PWM_FREQ*2)) //16000000 is system clock of Leonardo #define MINFORCE (-MAXFORCE) class Pwm { public: Pwm(void); ~Pwm(void); void begin(); ...
ff4b2e284400c514728d6216c006eabdcdc3b9a9
78316adcb3a1f7e8763f1bf8360c8b9701a654c5
/Pointers/NULLPointer.cpp
6a65a602d98de876a4579d405bd328a53548ef5e
[ "MIT" ]
permissive
Imran4424/C-Plus-Plus-Object-Oriented
2aa02d1a9fa141b89347ae7f6e1741033cc6ad1e
b3bc433e7ef3ad587142961cca2bb70a6ac46a69
refs/heads/master
2022-09-08T07:00:17.217574
2022-08-19T09:47:20
2022-08-19T09:47:20
149,149,905
4
1
null
null
null
null
UTF-8
C++
false
false
548
cpp
NULLPointer.cpp
/* The following syntax are valid in C++17 some syntax may ended up in error in previous version C++ */ #include <iostream> using namespace std; int main(int argc, char const *argv[]) { double *ptr {0}; // null pointer /* this is also valid double *ptr = 0; */ int *ptrTwo; ptrTwo = 0; int *ptrThree {...
becb284df97a7b2cd990791ff79e7f2becab032e
52c98acab51455162deab677bfe5e211884989cf
/src/examples/source/HPLC_UV_Unknown_test.cpp
22098e75556fa409ee7f7005521a97f379edcca6
[ "MIT" ]
permissive
ChristopherAbram/SmartPeak
6d997d9e5e0b4982818983a7b95b1924309aaebc
2851c4b43ad02e436a2dfe0f102ea0ce1e303484
refs/heads/develop
2023-03-18T15:32:48.045226
2021-03-15T19:48:25
2021-03-15T19:48:25
337,477,102
0
0
MIT
2021-03-15T19:51:14
2021-02-09T17:08:24
C++
UTF-8
C++
false
false
3,575
cpp
HPLC_UV_Unknown_test.cpp
// TODO: Add copyright #include <SmartPeak/test_config.h> #include <SmartPeak/pipelines/HPLC_UV_Unknown_example.h> #include <SmartPeak/core/Filenames.h> #include <SmartPeak/core/Utilities.h> using namespace SmartPeak; using namespace std; void test_main_HPLC_UV_Unknown() { const std::string main_dir = SMARTPEAK_G...
b953ea676f4ce876ff007817cf3c716ea29bc68a
5ab415f696807f259b74d219488da1ac3fefe26e
/app/main.cpp
f30835908bb68658cd7cadd2bfa1672af2c23f9c
[ "MIT" ]
permissive
LuxAter/Specula
f53371c330c72e446e685856f0f3a8d1ca3dbe5a
cd76256f4f16e804eeaa99c27cac04199e34e599
refs/heads/main
2022-05-09T11:02:22.826454
2022-04-05T00:16:20
2022-04-05T00:16:20
134,640,859
2
0
null
2019-11-20T06:18:22
2018-05-24T00:41:31
C++
UTF-8
C++
false
false
4,819
cpp
main.cpp
#include <cstdint> #include <cstdlib> #include <iostream> #if defined(_WIN32) || defined(_WIN64) #include <io.h> #include <windows.h> #elif defined(__APPLE__) || defined(__unix__) || defined(__unix) #include <unistd.h> #endif #include <cxxopts.hpp> #include <spdlog/sinks/dist_sink.h> #include <spdlog/sinks/rotating_f...
97272bccb6056e0dd3ce805a4314c03295aeb89e
f6ceccf9bcabcaad1b6a5cb8e3dbb228d4bad1a6
/测试用文件_已废弃/GAMEtest/GAMEmaster/GAMEmaster.ino
a50b62b493bd9eb1b26c7ed29c1580056cf6c343
[ "MIT" ]
permissive
gsool/ESP8266_Multiplayer_Pong
10a26deed6ca99d3c9f85cbe857992176836e018
4b24efe5785f1d7df10798b802de76538160a4fc
refs/heads/master
2022-11-19T11:51:06.119069
2020-07-17T13:39:27
2020-07-17T13:39:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
11,995
ino
GAMEmaster.ino
/********************************************************************** 项目名称/Project : 【已废弃】 程序名称/Program name : 【已废弃】 团队/Team : 太极创客团队 / Taichi-Maker (www.taichi-maker.com) 作者/Author : Blackbox114 日期/Date(YYYYMMDD) : 20200714 程序目的/Purpose : 实现pong的联...
b2fbb409bf72ab659f05f3fd417d0c663d4fa0ef
b0611056df16ad26cb826caaf7df89e519fc330d
/c++11/2/2-6.cpp
cbc3919541d68bce8cab082507c5240872498506
[]
no_license
gdh55555/pratice
b00baba45ac1a9f4b65dda25d3db94a4bb3f1440
f268844465e6de705a20fa3cb8656cf718431edd
refs/heads/master
2021-01-10T11:17:50.979502
2016-02-29T14:23:51
2016-02-29T14:23:51
44,220,541
0
0
null
null
null
null
UTF-8
C++
false
false
269
cpp
2-6.cpp
#include <cassert> #include <cstdlib> #ifdef NDEBUG #define assert(expr) (static_cast<void> (0)) #else #endif using namespace std; char* ArrayAlloc(int n){ assert(n > 0); return (char*)malloc(sizeof (char) * n); } int main(){ char* a = ArrayAlloc(0); }
23b083d00f990f02807b4a1f528e404aa99b5c1e
c3863155cac785dad36e2060856d4bc99c477b2a
/adjacencyList.cpp
0cbd62e8d328ba22dafd74eff84ca9414fc9a5b3
[]
no_license
iashtripathy/c-
2d88109e63bee63b8ee380eb96a6aba837a7659e
b655540631e6f2ef44d5c8a64387489b0e0f8241
refs/heads/master
2022-12-19T23:22:43.584815
2020-09-26T03:49:10
2020-09-26T03:49:10
298,731,672
0
0
null
null
null
null
UTF-8
C++
false
false
433
cpp
adjacencyList.cpp
#include<bits/stdc++.h> using namespace std; int main(){ int edges,vertices; cin>>edges>>vertices; vector <int> v[vertices]; int arr[2*edges]; for(int i=0;i<(2*edges);i++){ cin>>arr[i]; } for(int i=0;i<(2*edges);i+=2){ v[arr[i]].push_back(arr[i+1]); } for(int i=0;i<ve...
2d23692369d89961dffcb39cea289967943fa209
6aada0781661525baa370e53c341e75ba2d488d7
/DesignPatterns/BehavioralPatterns/BehavioralPatterns/Dialog.cpp
d8436867b9a1da873b49f30c31400d4b5ec6c645
[]
no_license
Zerophase/CodeFromBooks
2aaf50e07bce39406ad4e4723545e5f0f45c075f
fef44a217cbb33991c29157aa6f60af0b457315b
refs/heads/master
2021-01-22T13:08:19.788541
2015-01-02T05:04:32
2015-01-02T05:04:32
28,703,442
0
1
null
null
null
null
UTF-8
C++
false
false
213
cpp
Dialog.cpp
#include "Dialog.h" Dialog::Dialog(HelpHandler *h, Topic t) : Widget(0) { SetHandler(h, t); } void Dialog::HandleHelp() { if (HasHelp()) { //Offer help on the dialog } else HelpHandler::HandleHelp(); }
58bf2b76d4b2449b9243633effa0e0aa35801183
61c6d30c3bbb8fda3369d4d653cf48ca12b0cd75
/C++/mem_del.cpp
d49fdf81247589d33efd28f9f0aeafbc3fa66128
[]
no_license
kugoucode/program-learn
df9ff45f49c45540df81ad64414acc31d69b6e2f
d82ea6bb25d144814cd8fedfe78a294184ad9ae7
refs/heads/master
2021-01-10T07:57:13.880906
2016-11-06T16:40:26
2016-11-06T16:40:26
49,882,586
0
0
null
null
null
null
UTF-8
C++
false
false
769
cpp
mem_del.cpp
/************************************************************************* > File Name: mem_del.cpp > Author: > Mail: > Created Time: 日 9/11 15:08:32 2016 ************************************************************************/ #include <iostream> using namespace std; int main() { // 先声明一个指针变量,然后给指针取申请内存...
e0202433c6a2c6a0ce2dfdf46e6c7289d19c5d48
37b75ec931551a0ce603db5abc7c0b65bde92c6a
/lib/Generator/MandelbulbVolGen/MandelbulbVolGen.cpp
3134720eb795f903b52f9c9ea56cd845a1533d77
[ "MIT" ]
permissive
avr-aics-riken/HIVE
f4caf1b2b9e22240673c0b3f6964268287991136
3efdae843d4bdd75b43797ce591cd81ad95aed65
refs/heads/master
2020-04-03T20:23:09.171453
2018-02-04T08:35:30
2018-02-04T08:35:30
13,294,350
12
12
null
2018-12-12T04:57:26
2013-10-03T09:01:54
JavaScript
UTF-8
C++
false
false
5,057
cpp
MandelbulbVolGen.cpp
/** * @file MandelbulbVolGen.cpp * Mandelbulb Volume Generator */ #include <stdio.h> #include <string.h> #include <math.h> #include "MandelbulbVolGen.h" /// Constructor MandelbulbVolGen::MandelbulbVolGen() { m_volume = BufferVolumeData::CreateInstance(); Clear(); } /// Destructor MandelbulbVolGen::~Mandelbu...
f464987a05e145750c412fbd0bb498e39dd19f0a
3333edce8305b199431da4ed1e2bbe9bf5aef175
/BOJ/10000~/10769/src.cpp
0d819ea19dbd56a699d866466b21bff9a2eefba0
[]
no_license
suhyunch/shalstd
d208ba10ab16c3f904de9148e4fa11f243148c03
85ede530ebe01d1fffc3b5e2df5eee1fa88feaf0
refs/heads/master
2021-06-07T10:45:58.181997
2019-08-11T13:14:48
2019-08-11T13:14:48
110,432,069
0
0
null
null
null
null
UTF-8
C++
false
false
610
cpp
src.cpp
//https://www.acmicpc.net/problem/10769 #include <iostream> using namespace std; int main(){ char str[256]; cin.getline(str, 255); int cnt[2]={0,0}; for(int i=0; str[i]!=0; i++){ if(str[i]==':' && (str[i+1]!=0 && str[i+2]!=0)){ if(str[i+1]=='-'){ if(str[...
45cc94409783c0aa4334f62722d26fb682103b2d
cdfef83c21ac672666954232a328c5bd7d91a411
/lab-assignments/rainfall/main.cc
db6f517d0c5e26a2848f723da5717b66fdf650d1
[]
no_license
MayZamudio/csci-40
35eee65e5c11b40c3a145b9c4fbc962abd852fe2
e7eed02f88351f6bafcb6bd6df4ea2aa09415384
refs/heads/master
2020-09-30T05:21:56.509726
2019-12-11T00:41:29
2019-12-11T00:41:29
227,214,715
2
0
null
null
null
null
UTF-8
C++
false
false
2,128
cc
main.cc
#include <iostream> #include <cmath> #include <algorithm> #include <numeric> #include <vector> #include <numeric> using namespace std; void die() { cout << "BAD INPUT!" << endl; exit(1); } int main() { cout << "Please enter daily rainfall data (-1 to quit):\n"; vector<int> userVals; int num; int...
78196ffc6f6788a50828189a595e686821373629
67b91930deebf72c9c4b0a61f4111554f8079761
/cpp/main.cpp
115b1b33a54fd3076ffdfc149debbaad4a5b83a6
[]
no_license
ssangx/raytracing.cuda
b9f677bbe18318788a8e58b46eea4b6660c0034f
4faed9c4c1d19edfbe10ceff3325b58694cecb35
refs/heads/master
2022-04-08T13:30:34.734849
2020-03-25T00:33:45
2020-03-25T00:33:45
209,899,727
23
7
null
null
null
null
UTF-8
C++
false
false
2,618
cpp
main.cpp
#include <ctime> #include <iostream> #include <unistd.h> #include "scene.h" #include "camera.h" #include "rectangle.h" vec3 shade(const Ray& r, Hitable* scene, int depth){ HitRecord rec; if(scene->hit(r, 0.001, FLT_MAX, rec)) { Ray scattered; vec3 attenuation; vec3 emmited = rec.mat_pt...