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
aa16ca9cf60e1bcab86c2a0a623d8358c5a791de
debc1cbfb53e716041dab6f8ca570cbb31b4e563
/AGSAPI/data/AGSDDSSpy/include/ndds/hpp/rti/queuing/detail/QueueConsumerImpl.hpp
c14bd52f18925a9715dafc61e81e6f598d0b9af3
[]
no_license
DamsRoxxx/TafOutils
019ab33337e35b979a3f0079198901b7af4ae93f
4e9ffd665bf31fe0b3029ee6225d365fb0637f9f
refs/heads/master
2020-03-25T23:33:45.639283
2018-10-05T09:17:59
2018-10-05T09:17:59
144,280,789
0
0
null
null
null
null
UTF-8
C++
false
false
15,903
hpp
QueueConsumerImpl.hpp
/* (c) Copyright, Real-Time Innovations, 2016-2017. All rights reserved. No duplications, whole or partial, manual or electronic, may be made without express written permission. Any such copies, or revisions thereof, must display this notice unaltered. This code contains trade secrets of Real-Time Innovations, Inc. ...
3c3b7f4954e08e824a0b4b9475bd78f3a8946963
6b40e9dccf2edc767c44df3acd9b626fcd586b4d
/NT/admin/admt/script/usermigration.cpp
120996481c34f883d93844b56b590ae90f192911
[]
no_license
jjzhang166/WinNT5_src_20201004
712894fcf94fb82c49e5cd09d719da00740e0436
b2db264153b80fbb91ef5fc9f57b387e223dbfc2
refs/heads/Win2K3
2023-08-12T01:31:59.670176
2021-10-14T15:14:37
2021-10-14T15:14:37
586,134,273
1
0
null
2023-01-07T03:47:45
2023-01-07T03:47:44
null
UTF-8
C++
false
false
12,882
cpp
usermigration.cpp
#include "StdAfx.h" #include "ADMTScript.h" #include "UserMigration.h" #include "Error.h" #include "VarSetOptions.h" #include "VarSetAccountOptions.h" #include "VarSetSecurity.h" //--------------------------------------------------------------------------- // CUserMigration //----------------------------...
bb7177bef99f415548573b9acb1dfa831d37f5e3
308d43e4058ec3b69e79b925092c095c67ccc08c
/src/x0d/Context.h
592bf4160de18bba7aeabebc9dd17489297d37f4
[ "MIT" ]
permissive
deniskin82/x0
036347a9552855e743d8e2bfc7f093921ba52c8f
1cfe26c2b0a78e79e7c59db7ff654b6934446298
refs/heads/master
2022-09-24T08:20:19.430425
2018-06-13T05:45:15
2018-06-13T05:45:42
8,414,467
0
0
null
null
null
null
UTF-8
C++
false
false
6,785
h
Context.h
// This file is part of the "x0" project, http://github.com/christianparpart/x0> // (c) 2009-2018 Christian Parpart <christian@parpart.family> // // Licensed under the MIT License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of // the License at: http://op...
01ab98f722e8bd58e5656fba077204f5c3a8bf82
4fb394b0e7c33f792b6cd241a15a8bfbcfdafb6a
/lights/point_light.cpp
bb35d6b149688d8249bec983cb32c19fe6f8a984
[]
no_license
Valckrie/araytracer
057fb0ebc0d21ace4e30976868c3939607966115
f9677eb415ac396d8cb236984057e1dd4eb405e4
refs/heads/master
2021-03-22T01:38:53.867162
2015-04-14T17:43:35
2015-04-14T17:43:35
33,571,787
0
0
null
null
null
null
UTF-8
C++
false
false
1,763
cpp
point_light.cpp
// point light source #include <math.h> #include "include/point_light.h" // specified by a position and a colour PointLight::PointLight(Vertex &p, Colour &i) { point.x = p.x; point.y = p.y; point.z = p.z; point.w = 1.0; intensity.set(i.getRed(),i.getGreen(),i.getBlue(),i.getAlpha()); } // provi...
031124e16cd1a1d470397e4455e7b829216a65f6
a0ed4c90b79c715bd6226301e2176f8f4b3d2b8e
/LA/LA4855==Hyper Box.cpp
9892d2bddca7868060fe8d1da401f14533db5faf
[]
no_license
marlonwc3/cp-codes
501fdab9a173bad3c2b34dbbd188b693e1c8fc2c
dafd83e66f8ee223fae7d09cadc616952be1e799
refs/heads/master
2020-07-02T06:30:11.554661
2015-10-06T00:53:14
2015-10-06T00:53:14
28,721,298
7
2
null
null
null
null
UTF-8
C++
false
false
1,645
cpp
LA4855==Hyper Box.cpp
#include <bits/stdc++.h> #define _ printf("\n"); #define sc1(a) scanf("%d", &a) #define sc2(a,b) scanf("%d %d", &a, &b) #define sc3(a,b,c) scanf("%d %d %d", &a, &b, &c) #define sc4(a,b,c, d) scanf("%d %d %d %d", &a, &b, &c, &d) #define iz(b) if(b==0) { break; } #define pf(a) printf("%d ", a); #define pfc(c,a) printf("%...
cd5b1fe6d04a3fd67f88dcd7dff6e5be0aaafcf0
628b19c33ffdf469c1666272cef83e39e293361d
/client/src/main.cpp
46166d895112ab3fac82cafec34e37d18a2f7a99
[]
no_license
nkh-lab/aosp-cpp-binder
1aa083d0925414c81e8dcb9822e2b81f08c0777e
ed1566cfb469cc67e04803133e1f37834a3c00b4
refs/heads/master
2020-04-15T11:08:33.229552
2019-01-10T14:37:11
2019-01-10T14:37:11
164,616,175
0
1
null
null
null
null
UTF-8
C++
false
false
105
cpp
main.cpp
#include "log/log.h" int main() { ALOGI("Hello World!"); for (;;) { } return 0; }
91668a5d48ec8958e668bdb0f773c7e19bb2b0ce
7064d792d7bc34d14b5a8aaef25f9b8ff46a958d
/C Programs/NPTEL Programs/output.cpp
a961b89324f92754789069b515e9cdbb678a6e24
[]
no_license
Ashleshk/Programming-Codes
2e02f1b4bc269c2096b9e237a69f8d368a745194
8896f2124bc351aae69b697c0a040be8e6d860a0
refs/heads/master
2023-03-30T14:41:33.719160
2021-04-11T16:10:07
2021-04-11T16:10:07
258,129,669
1
0
null
null
null
null
UTF-8
C++
false
false
197
cpp
output.cpp
#include<iostream> #include<algorithm> using namespace std; int main() {int ii; int data[]={66,35,45,39,21}; sort(data,data+5); for(int i=0;i<5;i++) cout<<data[i]<<" "; cin>>ii; return 0; }
bc503ab2e46c38880f1e997085247fa8288f985c
27dfae0e5e716ca7b8b1d089d1616d7707384f3a
/code/machine/TLBManager.cc
1962c0e412d22eca1e1bcb1700ea889c6b7a1b3e
[ "MIT-Modern-Variant" ]
permissive
llboyfy/Nachos4.1
0c082e7d5b07bfe2eacf3d4780b6f2411ce51e60
141eac5601beed2ba6a450cdcb1360b5215476e0
refs/heads/master
2022-03-27T10:15:02.974517
2019-12-20T13:11:10
2019-12-20T13:11:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,469
cc
TLBManager.cc
/* * @Author: Lollipop * @Date: 2019-11-15 14:02:48 * @LastEditors: Lollipop * @LastEditTime: 2019-11-15 14:14:20 * @Description: */ #include "translate.h" #include "debug.h" #include "TLBManager.h" #include "main.h" TLBManager::TLBManager() { //4路相连,16个Entry for (int i = 0; i < 4; i++) { tl...
890cbbe79bd3b3ea23b9cbbe79e9eb924d5e030e
a26b568d2c60f01194bd949824712f12b4a9feb5
/test/demo15.cpp
68107c9379b81047195e363dc0b6df8afa154511
[]
no_license
immortalChensm/linux
1acb957d50ec7faa8a1c15635b59fc66f1e1a0d2
6ac60e92900046e049f708a13d1030334eb9f9dc
refs/heads/master
2021-01-16T16:27:27.580502
2020-08-26T03:30:06
2020-08-26T03:30:06
243,181,033
0
0
null
null
null
null
UTF-8
C++
false
false
1,044
cpp
demo15.cpp
// // Created by Administrator on 2020/4/14. // #include <iostream> #include <string> using namespace std; class Person { private: int m_age; int m_score; //char *m_name; public: void setAge(int age); void setScore(int score); void setName(char *name); void display(); }; void Person::set...
19c251556205c026d39d3c4f3b4f1291114805b5
0ae2636a1b95f470648755e503d48f5e6bba2059
/DP/Solution to at coder dp contest problems/e.cpp
1cb35795efe462ef124591186214618fe1fd2e41
[]
no_license
AparnaJuhi/DS-ALGO
5668a2f5f64731aaae96ed1ef92847fe243a4338
d519e5bbac728192b3636f5d8a50b20bc0c335e0
refs/heads/master
2022-12-20T23:17:34.354534
2020-10-02T06:34:52
2020-10-02T06:34:52
300,136,335
0
1
null
2020-10-02T06:34:53
2020-10-01T04:03:12
C++
UTF-8
C++
false
false
1,118
cpp
e.cpp
#include <bits/stdc++.h> #define fastio ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL) #define endl '\n' #define int long long int using namespace std; #define pii pair <int, int> #define mii map<int, int> #define pb push_back #define deb(x) cout << #x << " " << x << endl #define deb2(x, y) cout << #x ...
fb0927f38cdb7e709363596bdeb3d1622a8428ee
9c52ad4cd861a84c9cb3a491f90dbe92cdd6c5e3
/include/JsonIo.hpp
c4ed787ba311ff42d7e48119ef5b42b8d44c227a
[ "Apache-2.0" ]
permissive
WilliamClements/CppPlayer
a27fc28ca59a402d1b9e203b2e428edefdbedc33
a998756998188cd85dfa941973bd8342a618b97c
refs/heads/master
2023-02-18T04:56:42.378269
2023-01-26T20:28:18
2023-01-26T20:28:18
143,743,698
16
2
NOASSERTION
2023-01-26T20:28:19
2018-08-06T14:55:23
C++
UTF-8
C++
false
false
9,211
hpp
JsonIo.hpp
/* Copyright 2018 William Clements, Autodesk Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writi...
4c83648a7f6656daafb9b52ba8d8387d6b7c13a2
46abd3f52a0d1e6bfa7243072634ff2451c244e3
/include/Archetypes.hpp
a8e600d721949a652845fbc798c814f3d68ad8da
[]
no_license
Troussierj13/EntitySystem
0a3a8095317387779f52984517116eb4b9bb13ab
52c954c7ff89f9cbe53fa54bc62baba087056d51
refs/heads/master
2021-01-10T15:16:10.119569
2016-03-14T08:49:10
2016-03-14T08:49:10
53,800,974
0
0
null
null
null
null
UTF-8
C++
false
false
372
hpp
Archetypes.hpp
_Pragma("once") #include <Storm/Entity/Entity.hpp> #include <SFML/System/Vector2.hpp> #include <SFML/Graphics/Color.hpp> #include <SFML/Graphics/Texture.hpp> namespace storm { namespace entity { class EntityManager; } } storm::entity::Entity makeProjectile(storm::entity::EntityManager &manager, const sf::Textur...
487bde8e0315cf23c99497a6ff4b53e87b0205e0
b30ce2bde2534904932266f67d93444360d21db2
/Arduino/libraries/ros_lib/points_downsampler/PointsDownsamplerInfo.h
93913ea8304dda97c8094b833e0e1732389c4b99
[]
no_license
MaxDeSantis/pid_ball_balancer_cbs
ee987b00474ec69d09ddc5f74bf9b9a3bc08f722
5266c1802631bdfce0425fbba75240a5f29c1c71
refs/heads/main
2023-04-07T15:12:24.028858
2021-04-18T16:44:02
2021-04-18T16:44:02
339,237,652
1
0
null
null
null
null
UTF-8
C++
false
false
8,932
h
PointsDownsamplerInfo.h
#ifndef _ROS_points_downsampler_PointsDownsamplerInfo_h #define _ROS_points_downsampler_PointsDownsamplerInfo_h #include <stdint.h> #include <string.h> #include <stdlib.h> #include "ros/msg.h" #include "std_msgs/Header.h" namespace points_downsampler { class PointsDownsamplerInfo : public ros::Msg { public: ...
b1e5a4cfed923076f9865f21bf4414a7440fc142
37e5c94c023fa95ed06453c1c5688a3034e4eab5
/solver/validate.h
7f885ffb9956c4265a03b2346164fc49ae6bcecf
[ "MIT" ]
permissive
staffik/pace2019_vc
84569d7dbfa6a6b0cd8719f45b6778c7c8cf8dd8
0c6c1ac71bbe3fbbfdbd604b0a4ab8b1c400a003
refs/heads/master
2020-05-15T23:59:59.035095
2019-04-21T18:25:15
2019-05-09T18:05:36
182,568,248
0
0
null
null
null
null
UTF-8
C++
false
false
151
h
validate.h
#include <vector> #include "vc.h" #include "graph.h" bool validate_correctness(Graph, const VC&); bool validate_minimality(const Graph&, const VC&);
c511f2fe8b9706c651de6537095774513826459b
24715e7509aa21d97b96001b1cee789dd507fc20
/GameFramework/Include/Resource/Texture.cpp
ac801cb621aca4cd2cb1f1e9b3947175c926760e
[]
no_license
jhoryong/baba-is-you
9c4da5336c857f8ef155d1aff073c0dcbeb8a812
4c011dc0dd8fdbf7c2a6c82e4fbf6956c5df020d
refs/heads/main
2023-08-03T15:45:47.250413
2021-09-10T10:17:56
2021-09-10T10:17:56
365,950,244
0
0
null
null
null
null
UHC
C++
false
false
4,973
cpp
Texture.cpp
#include "Texture.h" #include "../PathManager.h" #include "../GameManager.h" CTexture::CTexture() { } CTexture::~CTexture() { SAFE_DELETE_VECLIST(m_vecTexture); } bool CTexture::LoadTexture(const string& strName, const TCHAR* pFileName, const string& strPathName) { SetName(strName); const TCHAR* pPath = GET_SI...
681fca2db6b85b3aac1995bea0a57b93b1efc30a
df256c2663bcd2a61fff9950759debd2760d0ce9
/Memento/Memento/GuiComponent.h
0c773ecfd0b5547c257265f9e87fd7ed55faa056
[ "BSD-2-Clause" ]
permissive
jayavardhanravi/DesignPatterns
d4adbb80c2b781affd531f8887c4634e35788353
aa6a37790f447c7caf69c6a1a9c6107074309a03
refs/heads/master
2021-07-25T05:21:02.690532
2021-01-02T14:17:54
2021-01-02T14:17:54
233,955,558
15
2
null
null
null
null
UTF-8
C++
false
false
269
h
GuiComponent.h
#pragma once #include "Component.h" class GuiComponent : public Component { public: GuiComponent(); ~GuiComponent(); GuiData * RestoreGuiComponent(GuiData *); GuiData * CreateGuiData(); GuiData * SaveGuiState(); private: std::unique_ptr<GuiData> guiData_; };
f99238a7a1529ac71a5cf1e8373e790f942c3ff9
a194511dea15e82780072fb88dad81b17e24919f
/libs/habutil/habit/HExperimentListValidator.cpp
6f584a162902a7ab513ae3a78e61c60a17c52fff
[]
no_license
djsperka/habit2-src
3056b07c664f2cbc1e32874cdf442b13a511b205
a35117864de3c8cff55ff05d7b20fcc479e4ee8c
refs/heads/master
2023-01-07T19:56:59.382117
2023-01-06T00:23:50
2023-01-06T00:23:50
157,589,849
0
0
null
2023-01-05T22:00:14
2018-11-14T18:03:09
C++
UTF-8
C++
false
false
664
cpp
HExperimentListValidator.cpp
/* * HExperimentListValidator.cpp * * Created on: Nov 12, 2014 * Author: Oakeslab */ #include "HExperimentListValidator.h" QValidator::State GUILib::HExperimentListValidator::validate(QString& input, int&) const { QValidator::State state = QValidator::Invalid; // if input is empty we're up in the air i...
b8d2f441f323b39f60d69bb9c4f870989836d444
e9af0754add0f74889d2925774ef70c5c57ecf99
/GameSkeleton/Engine2.0/Renderer/ShaderUniformParameter.h
d6c0ce5512b97d108ce806b5fad455d30ef3f584
[]
no_license
tmgarcia/CPPGameEngine
3b609691c07e8dfef8e634ce2620adaa45e918ad
18161d9e89d0f9d3655a6209553ed2641c525ea2
refs/heads/master
2020-03-27T23:04:17.307869
2016-01-26T18:25:35
2016-01-26T18:25:35
40,387,689
0
0
null
null
null
null
UTF-8
C++
false
false
182
h
ShaderUniformParameter.h
#pragma once #include "ParameterType.h" class ShaderUniformParameter { friend class GeneralGLWindow; const char* name; ParameterType parameterType; const float* value; };
eec31e022387d2636f381d40ccd61715d9fb835f
9ed11ec490bb690cef0c0cdf667c4c7e2a7fe59f
/include/FHeap.h
a46e7dc3e15c5b742a59aa85e5cf57a440dd4ef0
[]
no_license
jtanderson/FHeap
ed0f39e1d0722e7291d80e02b29f5ab6b22793f0
f53423f816f21e61a40fe4c3e574e9eae131ab82
refs/heads/master
2020-05-18T02:32:34.522326
2012-11-06T15:40:21
2012-11-06T15:40:21
6,189,975
1
0
null
null
null
null
UTF-8
C++
false
false
761
h
FHeap.h
/** * File: FHeap.h * * The header file for the Fibonacci Heap data structure * * @author Joseph T. Anderson <jtanderson@ratiocaeli.com> * @since 2012-11-04 * @version 2012-11-04 * */ #ifndef FHEAP_H #define FHEAP_H #include "FNode.h" #include <cstddef> #include <string> #include <stdlib.h> #include <sstrea...
a07411ddb7db94592d27c74db55bf4a9aa09842c
a3259fa72ce413de87c309bc61da606dcfe13c03
/src/InA_query_model/DefinitionReader.cpp
f43c7c3cfecd0f0a4bf30838243b720171c3875b
[]
no_license
nhuhoang0701/wasabi
6d4a7d7e68233268e24298f7f3218bc4d67497e5
2a72ff73bf245fe5ce2533f8a4dd32cf1db2cdeb
refs/heads/master
2023-07-29T08:06:39.123199
2021-09-09T15:43:13
2021-09-09T15:43:13
388,215,854
0
0
null
null
null
null
UTF-8
C++
false
false
1,498
cpp
DefinitionReader.cpp
#include "Definition.h" #include "Selection/Selection.h" #include "Sort.h" #include "ResultSetFeatureRequest.h" #include "common/Log.h" #include <json/jsonReader.h> #include <exceptions/InA_Exception.h> #include <iostream> namespace ina::query_model { void read(Definition & definition, const JSONGenericObject&...
0d14613e06dd891c978d57f8ff0429d4ed2fb39a
6ccdb5faae5e4fc3d1be490790566ecb87ee0f03
/controlCar_42_/controlCar_42_.ino
b970d0d930288a236f76da733bfe259b5d6b3cdf
[]
no_license
EmbeddedProjectInDonggukUniv/Smart-Traffic-System
76ccdb9a237b18c11375152badbe9d54c92cfcab
ae975f14ba59af216b3b044665352829bd237ea5
refs/heads/master
2021-01-13T03:42:33.110648
2016-12-24T06:36:28
2016-12-24T06:36:28
77,269,764
0
0
null
null
null
null
UTF-8
C++
false
false
2,996
ino
controlCar_42_.ino
/* * 전방의 사물을 인식하여 10cm 이내로 사물이 감지되면 감속되고 * 3cm 이내로 사물이 감지되면 정지하면서 LED가 점등된다. * 사물이 멀어지면 다시 전진한다. */ int trigPin = 2; int echoPin = 3; int ledPin = 13; // LED 핀 설정 const int MOTOR_A_PINS[3]= {42, 44, 4}; const int MOTOR_B_PINS[3] = {46, 48, 5}; int motor_speed = 250; void setup() { int i; Serial.begin(9600);...
a9763865c19b32259a18dc33380663d866a86685
1d7ea7707aa8aa68d0c3e57638eca3537a049e4f
/Controller/ResultReceiver.h
648909c81707f63f203063dcb40d4bceb3f57f68
[]
no_license
beastlovezxc/GardenApp
778fc6ebd1a4db6af67215eec72aaf9af542624d
6840271282fa4e23d5a01a7ba57522d55caa6a15
refs/heads/master
2022-12-09T01:37:48.697350
2020-09-02T09:18:08
2020-09-02T09:18:08
292,234,166
0
0
null
null
null
null
UTF-8
C++
false
false
491
h
ResultReceiver.h
#ifndef RESULTRECEIVER_H #define RESULTRECEIVER_H #include <QObject> #include <QAndroidActivityResultReceiver> class ResultReceiver: public QObject, public QAndroidActivityResultReceiver { Q_OBJECT signals: void sendData(QString); public: int requestId; ResultReceiver(int id, QObject *parent = nullptr)...
51a3662296561eeff353e29ba706360645456472
8b4c4546f92e1f185fc666e645a5f32926a81666
/engine/core/editor/qt/QUiLoader.h
c00ffb345880a634a5845d3cafc5c9584073a6fa
[ "MIT" ]
permissive
johndpope/echo
a5db22b07421f9c330c219cd5b0e841629c7543c
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
refs/heads/master
2020-04-03T03:52:59.454520
2018-11-22T20:55:32
2018-11-22T20:55:32
154,997,449
0
0
MIT
2018-11-22T20:55:33
2018-10-27T18:39:23
C++
UTF-8
C++
false
false
177
h
QUiLoader.h
#pragma once #include "QWidget.h" namespace Echo { #ifdef ECHO_EDITOR_MODE // load ui file by path. then return the widget QWidget* qLoadUi(const char* uiFilePath); #endif }
7d5a3db8fa47e812854087b47fbce43a0fae08f1
1475ab0b6c03d30740b5556ae345dea143746cf3
/CodeForces/Round456/D.cpp
2b8b4a0fc80e3773dbe2936fec964c22d9be0b48
[]
no_license
AOQNRMGYXLMV/mycode
d9a882ca985456c21207d4548f3bd459662e548c
8ff1f46ed55d965502f91fff170da1514878d836
refs/heads/master
2020-05-29T18:48:10.869181
2018-04-21T16:18:39
2018-04-21T16:18:39
52,936,027
0
0
null
null
null
null
UTF-8
C++
false
false
1,471
cpp
D.cpp
#include <cstdio> #include <cstring> #include <algorithm> #include <vector> #include <map> #include <set> #include <queue> using namespace std; typedef long long LL; typedef pair<int, int> PII; #define PB push_back #define PII pair<int, int> #define REP(i, a, b) for(int i = a; i < b; i++) #define PER(i, a, b) for(int i...
ea3412f5c05d211ec5255edaa6f284778beb6783
9c8ef0a48b7bfccd380dc3c8c848283a39e9d2ad
/WingsApplication.cpp
d28a420bc2aa09199db0cbdb95e76c14cdc95f3e
[]
no_license
bstilts/WingsApplication
ad694b3ec214b00e4f7b88cd8769983b87d06862
076528869fff365c72e3d61bc1b746ea160344b8
refs/heads/master
2023-03-11T06:42:52.175785
2021-02-26T23:02:41
2021-02-26T23:02:41
342,722,486
0
0
null
null
null
null
UTF-8
C++
false
false
1,149
cpp
WingsApplication.cpp
/* Nicholas White CEIS247C Week 3 Lab */ #include <iostream> #include <string> #include <conio.h> #include "Wings.h" using namespace std; /// Entry point to application int main() { //create two wings objects Wings w1("honey hot", 6); Wings w2("BBQ", 6); Wings w3 = w1 + w2; cout << "Combined wings: " << w3.getf...
034fca16e4698c2b605d9addc6fe3c19bba4c136
4f2abd56edec96124fc7dcdf586530bf01d2b1fb
/TriangulationRansacSample.cpp
bcbf9904fdaa9de68043bade9e4f29acc93dd5a2
[]
no_license
xing-shuai/RANSAC-Triangulation
2ac672e1390e31b2707931633fb310926c12b437
b59d4aa981e7326e761d5a3e41ebddc2c0c6901f
refs/heads/master
2022-12-02T11:26:32.534947
2020-08-24T10:13:56
2020-08-24T10:13:56
289,891,741
10
1
null
null
null
null
UTF-8
C++
false
false
2,108
cpp
TriangulationRansacSample.cpp
#include <cmath> #include <iostream> #include <opencv2/opencv.hpp> #include "GRANSAC.hpp" #include "TriangulationModel.hpp" int main(int argc, char* arcv[]) { // load projection matrix unsigned int nCameraViews = 5; std::vector<cv::Mat> Ps; Ps.resize(nCameraViews); cv::FileStorage psread("/home/shuai/Deskt...
74f3b6895b8a68905547dd2a5212528ce45d91e1
4470ba838776da2ae2ca41912a73158ddd4a0943
/source code/Button.hpp
2d28199e08a8d569058df2441607360db3473a4c
[]
no_license
AndyLinGitHub/SDL2-Game-Programming
87554003b14c893b5a0e553d2d0b1fc071e4be0c
02cd47929911b1c79171b6c4fadc30c49a8eead4
refs/heads/master
2023-02-20T21:57:15.992510
2021-01-25T12:00:56
2021-01-25T12:00:56
177,055,840
1
0
null
null
null
null
UTF-8
C++
false
false
950
hpp
Button.hpp
#ifndef Button_hpp #define Button_hpp #include <stdio.h> #include <SDL.h> #include <SDL_image.h> #include <string> #include "LTexture.hpp" enum buttonSprite { BUTTON_SPRITE_MOUSE_OUT = 0, BUTTON_SPRITE_MOUSE_OVER_MOTION = 1, BUTTON_SPRITE_MOUSE_DOWN = 1, BUTTON_SPRITE_MOUSE_UP = 0, BUTTON_SPRITE_TO...
312e8c5ed9023d38b4e419d210bf3b4e4138097f
2a435f7841615cf1f7eb954ee4b50e7b47be6299
/12.13/test.cpp
4d5ddcc7f69a9fbf31e4ae68c604e9b28321cf57
[]
no_license
Lonedaa/Lonedaa-my-first-land
f96ce8de1392ffb03aee44f0dac279bb9b0d1226
4057c9050cb205cdf539285a73cdb685258adb1e
refs/heads/master
2023-02-23T18:54:39.176799
2021-01-30T06:09:52
2021-01-30T06:09:52
317,726,770
0
0
null
null
null
null
GB18030
C++
false
false
1,136
cpp
test.cpp
#include"test.h" void test() { ofstream ofs;//创建输出流对象 ofs.open("test.txt", ios::out); //输出流时如果指定文件未创建会自动创建该文件 if (!ofs.is_open())//根据上一句注释,这里的判断可以省略 { cout << "打开失败" << endl; return; } ofs << "张三 " << "17 " << "男"; ofs.close(); //读取文件 ifstream ifs; ifs.open("test.txt", ios::in); //读取文件时没有指定文件时就会返回空指...
b8493fee04632fb28a7b0c8ce6e5dbba73405b30
04fef889f804ac61211af46db18dfab59010ef6a
/Maximum_Sum_Combinations.cpp
37e18f06dc91e730daf8ae19b5e380550c5c5010
[]
no_license
shivangigoel1302/Interviewbit
1091d6855607bb6679a8297c26ffab5901722c5c
6bde32607a5b44d89eedc1412bc23ca3e88ac416
refs/heads/master
2023-07-18T12:13:05.479994
2021-09-05T18:04:29
2021-09-05T18:04:29
403,378,723
0
0
null
null
null
null
UTF-8
C++
false
false
277
cpp
Maximum_Sum_Combinations.cpp
vector<int> Solution::solve(vector<int> &A, vector<int> &B, int C) { sort(A.begin(),A.end()); sort(B.begin(),B.end()); int n = A.size(),m = B.size(); if(C == 1){ return {A[n-1] + B[m-1]}; } vector<int>ans; ans.push_back({A[n-1]+B[m-1]}); }
a6746848a2f135728babf05fcbfcfee7689bd2dd
82d45ea2bd81e536dd56852e377e82f0eac3f54a
/未归类/模拟赛2/data/cyberpunk/1.cpp
27f5d6a7147debdbfe973597e70378081c724f8b
[]
no_license
jagatstu/NOIP_tutorial
d270a50b4b002087f12abeeedbd88214396791d7
10abe2108757126865cc806a7d4a0a972e6104bb
refs/heads/master
2023-08-31T07:18:30.593773
2020-11-27T03:44:08
2020-11-27T03:44:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
298
cpp
1.cpp
#include <iostream> using namespace std; int main() { freopen("live.in","r",stdin); freopen("live.out","w",stdout); int n,a,last=0,ans=0; cin>>n; for(int i=1;i<=n;i++) { cin>>a; if(a>last)ans+=(a-last); last=a; } cout<<ans<<endl; }
7eda5b519db4209ee51832978275b00d8761105f
5bd3fa92c0ef7bd03334422dc36d615167fe553d
/Day Code/Day 32 - Libraries/aligned_bounding_box.cpp
9285d66e0a31257cf7e052a821530939be4d9ab9
[]
no_license
Bl00per/AIE-Programming
c42c5766dc81a8d99abe636a8444068ab76ac2fa
1e0fbee6ccc958c3bb56917aa685866548baf04c
refs/heads/master
2020-05-01T13:07:09.278007
2019-08-21T05:17:54
2019-08-21T05:17:54
177,482,113
1
0
null
null
null
null
UTF-8
C++
false
false
1,039
cpp
aligned_bounding_box.cpp
#include "aligned_bounding_box.h" const Vector2 aligned_bounding_box::DEFAULT_EXTENTS = { 5.0f, 5.0f }; aligned_bounding_box::aligned_bounding_box(const Vector2& a_position /*= Vector2()*/, const Vector2& a_extents /*= DEFAULT_EXTENTS*/) : m_position(a_position), m_extents(a_extents), collider(shape:...
8882cd4f1a7e6c0e6d634851dbc4672ba22f849c
285d8108e2d5ac604382e82fac64941ff527dea9
/src/section 4/allocating_memory/main.cpp
46b091622963ebea4f2e5dc43a243e870c2c8758
[]
no_license
Castigere/mekk
df30c8393ac6874640335053fdd6a4314679873d
b4cab7b61b6c788e577a0a04219658eef4bb01b1
refs/heads/master
2020-03-28T19:05:05.310763
2018-09-23T19:53:56
2018-09-23T19:53:56
148,942,701
0
0
null
null
null
null
UTF-8
C++
false
false
1,372
cpp
main.cpp
#include <iostream> using namespace std; class Animal { private: string name; public: Animal() { cout << "Animal created." << endl; } // Copy constructor, can call !const methods Animal(const Animal &other) : name(other.name) { cout << "Animal created by copying." << endl; ...
f40f8c3c151e91b3367980f1939d5e13d92acd6f
f162f665645fdfcedf826b0a346e351aaeb8cde7
/07/EPAM Титков 07-21+.cpp
cc6878314df494cc26641ccfef30688b44b87fd0
[]
no_license
idtitkov/Introduction-to-Cpp
536bdaf8bac3ad5e8b83344784a41e7419f77c9f
bdee9a89ce6a5a14ead2a15ae8554a010a38dd1a
refs/heads/master
2020-04-30T11:51:40.816190
2019-04-08T23:38:13
2019-04-08T23:38:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,932
cpp
EPAM Титков 07-21+.cpp
/** * * Титков Иван * 21. *В массиве А(N,М) расположить строки в порядке возрастания их максимальных элементов. * */ #include <iostream> #include <iomanip> #include <ctime> using namespace std; int main() { setlocale(LC_ALL, "ru"); const int N = 5; // Константа - количество строк массива. cons...
9584a429555e672b59d6201f891bf8648a49aa95
39fe085377f3c7327e82d92dcb38083d039d8447
/core/sql/common/NAType.h
35722f47274baeee07209ee9c9c79bcbf388b6b3
[ "Apache-2.0" ]
permissive
naveenmahadevuni/incubator-trafodion
0da8d4c7d13a47d3247f260b4e67618c0fae1539
ed24b19436530b2c214e4bf73280bc8e3f419669
refs/heads/master
2021-01-22T04:40:52.402291
2015-07-16T00:02:50
2015-07-16T00:02:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
26,573
h
NAType.h
/********************************************************************** // @@@ START COPYRIGHT @@@ // // (C) Copyright 1994-2015 Hewlett-Packard Development Company, L.P. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You m...
3dbf1e3bdd22228e24a8bb8ed84c09fb036be5eb
7c688d303d65288a46da61b2b2f8aac23cc1610d
/test/mock_http_client.cpp
84cfe5d8cbeeef83c33c21adcca9099275baeb67
[ "MIT" ]
permissive
minecraft-linux/cll-telemetry
5963e1508e31134f7fc894622ce8080fdb201639
b31d77d3320e57f68e94f9d23071936e5831aa64
refs/heads/master
2021-06-02T17:16:16.969848
2020-04-10T18:11:50
2020-04-10T18:12:04
136,203,048
0
5
MIT
2019-08-26T19:51:40
2018-06-05T16:08:54
C++
UTF-8
C++
false
false
752
cpp
mock_http_client.cpp
#include <cll/http/mock_http_client.h> #include <gtest/gtest.h> using namespace cll::http; TEST(MockHttpClientTest, BasicTest) { MockHttpClient client; HttpResponse resp = {200, {{"Header", "Value"}}, "This is an example request body"}; client.addMockedResponse("http://example.com/", resp); auto req =...
a4d47cfa8ea81279873ad818c2092a93e609afc8
30e1dc84fe8c54d26ef4a1aff000a83af6f612be
/test/capi/capi_flexible_type.cxx
c47e255798ca80803f77f686bcf6cac5c7d4909b
[ "BSD-3-Clause" ]
permissive
Sitispeaks/turicreate
0bda7c21ee97f5ae7dc09502f6a72abcb729536d
d42280b16cb466a608e7e723d8edfbe5977253b6
refs/heads/main
2023-05-19T17:55:21.938724
2021-06-14T17:53:17
2021-06-14T17:53:17
385,034,849
1
0
BSD-3-Clause
2021-07-11T19:23:21
2021-07-11T19:23:20
null
UTF-8
C++
false
false
1,629
cxx
capi_flexible_type.cxx
/* Copyright © 2018 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #define BOOST_TEST_MODULE capi_flexible_types #include <boost/test/unit_test.hpp> #include <core/ut...
dffcfc6368ace32fd3a78ee18bc2db68486e6dd9
4eb4242f67eb54c601885461bac58b648d91d561
/algorithm/poj/1698/code.cc
f47794a30204154ca3b2ca34ab27202792e7029e
[]
no_license
biebipan/coding
630c873ecedc43a9a8698c0f51e26efb536dabd1
7709df7e979f2deb5401d835d0e3b119a7cd88d8
refs/heads/master
2022-01-06T18:52:00.969411
2018-07-18T04:30:02
2018-07-18T04:30:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,551
cc
code.cc
// Copyright 2013 Jike Inc. All Rights Reserved. // Author: Liqiang Guo(guoliqiang@jike.com) // I just want to GH to hss~ // Date : 2013-11-10 22:28:15 // File : code.cc // Brief : #include "base/public/common_ojhead.h" namespace NB { /* * Accepted 688K 719MS C++ * */ const int MAXN = 372; int N = 0; int flow[M...
b6d42b28984324b0284251e8b44fe2000cce6abd
0e5442e46e1e48118f0d3914de12e7a0b6a05e4d
/inc/Input_scene/Scene_data.hpp
fbf6bfdaad7dc37099fec6747d1004f5a19a3430
[]
no_license
kyawakyawa/path_tracing
5f7bf283c3e6665384b0ba8acca5d604184d7070
98a0b30f5b308af60afbb739e9a6ae45bcc439b5
refs/heads/master
2023-01-05T15:34:48.693435
2020-11-01T13:17:01
2020-11-01T13:17:01
110,186,886
4
0
null
null
null
null
UTF-8
C++
false
false
22,764
hpp
Scene_data.hpp
#pragma once #include <cmath> #include <vector> #include "../Vec3/Vec3.hpp" #include "../Color/FColor.hpp" #include "../ext_libs/toml.h"//https://github.com/mayah/tinytoml namespace Scene_data{ enum Transform_type { TRANSLATE, SCALE, AXIS_ANGLE, LOOK_AT }; struct Transform{ Transform_type type = TRANSLA...
853fc256100a61a1ba6746a32c46dccd4ee5f896
102beccb4a386876dfeaea493209537c9a0db742
/RexLogicModule/Avatar/Avatar.cpp
dbb643d98f8b1c3134905090c51c4a9fb6181bfc
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
Chiru/naali
cc4150241d37849dde1b9a1df983e41a53bfdab1
b0fb756f6802ac09a7cd9733e24e4db37d5c1b7e
refs/heads/master
2020-12-25T05:03:47.606650
2010-09-16T14:08:42
2010-09-17T08:34:19
1,290,932
1
1
null
null
null
null
UTF-8
C++
false
false
31,579
cpp
Avatar.cpp
/** * For conditions of distribution and use, see copyright notice in license.txt * * @file Avatar.cpp * @brief Logic handler for avatar entities. */ #include "StableHeaders.h" #include "Avatar/Avatar.h" #include "Avatar/AvatarAppearance.h" #include "Avatar/AvatarEditor.h" #include "RexLogicModule.h" #inclu...
673027e811302303a8d0c5335376388dc275cd31
cf47ecf683746c38be14e52df30829ed02b7d0c1
/include/Intriman/Settings.hpp
a37701c9a3d2feeffc0bc79c7ec7cbd7e419bcf0
[ "MIT" ]
permissive
dendisuhubdy/Intriman
59aa21cb2afe8a2230c3fecdbbe5c61a43a986fd
15c326b62784dd30e67365790bf33d600055a773
refs/heads/master
2022-09-18T12:26:14.381106
2020-01-16T02:52:46
2020-01-16T02:52:46
270,543,714
0
0
MIT
2020-06-08T05:39:57
2020-06-08T05:39:26
null
UTF-8
C++
false
false
157
hpp
Settings.hpp
#pragma once #include <experimental/filesystem> namespace Intriman { struct Settings { Settings(); std::experimental::filesystem::path OutputFolder; }; }
fedb92b18d6d9fc55b27a66d76264ae0e63c107d
6db695715a1edd02c20705137af171a1fd94a625
/cses/twosets.cpp
150448c089ef6c30776a0c42bd21b9d02590c862
[]
no_license
arora-ansh/CP-Repository
0991190507fef779e196193635248be8fb85e5de
3629a0c0ea92e47bd419b011be518b5feb9781ea
refs/heads/master
2023-06-19T02:53:26.018511
2021-07-08T19:02:00
2021-07-08T19:02:00
282,615,965
5
0
null
null
null
null
UTF-8
C++
false
false
958
cpp
twosets.cpp
#include <iostream> #include <algorithm> #include <vector> #include <map> #include <unordered_map> #include <set> #include <unordered_set> #include <stdio.h> #include <math.h> #include <iomanip> #include <queue> #include <string.h> #include <string> using namespace std; #define MOD 1000000007 inline void fastio(){ ...
48276b974342110df00498f772c654034138e035
73a29d192f1f5ba7e9130c9995c5e6497dd9d84f
/maxMinProductLeetcode_1856.cpp
877dc5d007d7b24db9eee0c3f4a3668f3eded302
[]
no_license
shristi945/DSA-CPP
9c7c96bf505011784c6effdc861daf763f257436
7d5edbb6c249c849baa86ace91855d116a0a50da
refs/heads/master
2023-07-13T08:57:29.181581
2021-08-10T09:25:13
2021-08-10T09:25:13
394,594,092
0
0
null
null
null
null
UTF-8
C++
false
false
1,174
cpp
maxMinProductLeetcode_1856.cpp
#include <bits/stdc++.h> using namespace std; int maxSumMinProduct(vector<int>& nums) { long long MOD = 1e9+7; long long prefixSum[nums.size()+1]; int n = nums.size(); prefixSum[0] = 0; for(int i=1;i<=n;i++){ prefixSum[i] = prefixSum[i-1]+nums[i-1]; } int left [n], right[n]; sta...
65f3d3cecef9475d9f201c0d7eb14d5e14f6d58e
f5efdf3a3a7ad831cc9ff91e9dd8039b7b21dac5
/src/gui/widget/LoggingWidget/LoggingWidget.hpp
9bd3dc2bfd1b0f8ae1ca95c8af3db79be6fefe1f
[ "MIT" ]
permissive
bartkessels/Backing
c9a8b8417a9f002adab2ce40f9b16b14791fab94
f2ece4252a00585369b915ae179b69f3d388d41b
refs/heads/master
2022-12-08T09:20:40.897393
2020-06-10T16:48:44
2020-06-10T16:48:44
270,683,806
0
0
null
null
null
null
UTF-8
C++
false
false
476
hpp
LoggingWidget.hpp
#pragma once #include <string> #include <QString> #include <QWidget> #include "domain/QtLogger.hpp" QT_BEGIN_NAMESPACE namespace Ui { class LoggingWidget; } QT_END_NAMESPACE namespace backing::gui::widget { class LoggingWidget: public QWidget { public: explicit LoggingWidget(domain::QtLogger* lo...
9a089bc7978179304b0f4ee6b02ab73843b98aa2
ef48a6265e2da66404fcd4cf6df9a55a80f8ddb4
/ABC 054/D/D/main.cpp
05b88549315bf504c87d4749d0464331309d6496
[]
no_license
mashi6/Atcoder
1f48f99612c64e05db1a1c7fc47ed96b1c82980c
528a2e56f029474159f532473c9ae0bd98144ea8
refs/heads/master
2021-07-17T01:26:35.243379
2017-10-23T14:02:08
2017-10-23T14:02:08
107,987,458
0
0
null
null
null
null
UTF-8
C++
false
false
1,374
cpp
main.cpp
#include <iostream> using namespace std; const int INF = 10000000; int main(){ int N,Ma,Mb; int a[41],b[41],c[41]; int dp[41][411][411]; for(int i=0;i<41;i++){ for(int j=0;j<411;j++){ for(int k=0;k<411;k++){ dp[i][j][k] = INF; } } } dp[0][0][0] = 0; cin >> N >> Ma >> Mb; for(int i=0;i<N;i++)...
b8d5842dc4c4d5519ed1130fc468f6dbd919988b
c88c6f0bdc4c4e83f808d99a00719da73c440ef5
/sketches/mastermind/config.ino
ef3f22d12eb29b11fe97912fe11888a0650e7816
[]
no_license
claudiosousa/mastermind
34aa008289ae271cf0e6dcdc4dfe6e020fa637e4
bd827f9edee3b383449a4ed3a262cdfc1534f8e5
refs/heads/master
2021-01-20T17:57:25.197067
2016-07-21T12:33:12
2016-07-21T12:33:12
59,988,159
2
0
null
null
null
null
UTF-8
C++
false
false
645
ino
config.ino
#include <EEPROM.h> int address = 200; byte config = 0; void initializeConfig() { config = EEPROM.read(address); } bool setSoundConfig(bool sound) { if (sound) sbi(config, 7); else cbi(config, 7); EEPROM.write(address, config); } bool setColorsConfig(byte nbColors, bool repeatColors) { config &=...
3361dcd551d7e71ec2f6934af3951c46e15c39f5
1774efda7d763ee9a3559f8195d21d1b066f7e3e
/GLSL_front_end_compiler/irgen.h
b58c7f1d55c52bcef59e6d2c6be886cfb67c8e9a
[]
no_license
josevaldes/front_end_compiler
0f70c0cd84291b1418e7b4636b7bc55f94fd5c4f
f9671321199fa369a85b81cc02b3356e3bf8b5ea
refs/heads/master
2021-01-01T06:48:57.713842
2017-07-17T21:33:42
2017-07-17T21:33:42
97,524,436
0
0
null
null
null
null
UTF-8
C++
false
false
2,299
h
irgen.h
/** * File: irgen.h * ----------- * This file defines a class for LLVM IR Generation. * * All LLVM instruction related functions or utilities can be implemented * here. You'll need to customize this class heavily to provide any helpers * or untility as you need. */ #ifndef _H_IRGen #define _H_IRGen #inclu...
d9352dbcceaea7c347086f40480113b347caff5b
fcdea24e6466d4ec8d7798555358a9af8acf9b35
/Projects/JetFighterClassic/JFRocketBase.h
4f3d03b7b4afb4b0c54a61d859bbdebbe2646b11
[]
no_license
yingzhang536/mrayy-Game-Engine
6634afecefcb79c2117cecf3e4e635d3089c9590
6b6fcbab8674a6169e26f0f20356d0708620b828
refs/heads/master
2021-01-17T07:59:30.135446
2014-11-30T16:10:54
2014-11-30T16:10:54
27,630,181
2
0
null
null
null
null
UTF-8
C++
false
false
863
h
JFRocketBase.h
/******************************************************************** created: 2012/05/15 created: 15:5:2012 15:56 filename: d:\Development\mrayEngine\Projects\JetFighterClassic\JFRocketBase.h file path: d:\Development\mrayEngine\Projects\JetFighterClassic file base: JFRocketBase file ext: h auth...
7a2779480032e24027f41d71541096eb05b5cf50
20b49a6ef1fa417d67abef2d29a598c9e41c478e
/CodeForces/800 - 1000/dreamoonAndStairs.cpp
4ae7ea854ebcd6a861574868e8b270c4e33c1986
[]
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
372
cpp
dreamoonAndStairs.cpp
#include <bits/stdc++.h> using namespace std; typedef long long int ll; ll n, m; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin >> n >> m; ll ans = INT_MAX; for(ll i = 0; i <= n; ++i) { if((n - i)%2 == 0 && ((n - i)/2 + i)%m == 0) ans = min(ans, (n - i)/2 + i); } if(...
3629168460d6d906725e854aa10978d4a5f8461b
d6370638707745153989568694fd0abfee78078a
/chap7/exec7_24.cpp
70c2349a046e8f763ad8ed86cd6ae89d6e83815a
[]
no_license
kuangtu/cplusplus
087c6ef9af95962b44ff6377702f4a1c6ac71725
01d24df9f52da05bb3afbb786632ba09856b01a8
refs/heads/master
2021-06-13T02:47:19.913034
2020-04-02T14:12:00
2020-04-02T14:12:00
134,506,725
1
0
null
null
null
null
UTF-8
C++
false
false
832
cpp
exec7_24.cpp
#include <iostream> #include <string> using std::cout; using std::endl; using std::initializer_list; using std::istream; using std::ostream; using std::string; class MyScreen { public: int pos; //默认构造函数 MyScreen() = default; MyScreen(int ht, int wd): height(ht), width(wd), contents(ht * wd, ' ') { } M...
cc987f753743762b1b684bef40e3e0a6cea5fdbf
57a09cee4b88474c1ea5413cdde78c029547965a
/Controle_acesso/def_inc.h
c9c64fc9889bed7842082db67ad5e721486bb41b
[]
no_license
rcmschiavi/Controle-de-acesso
87ea581fa0ee1c4febb8bfb9856776ce7105cd4c
dbe81d772134da1d5e1fb8060cc295ca5878ccf3
refs/heads/master
2020-03-18T17:17:01.006877
2018-06-04T03:18:04
2018-06-04T03:18:04
135,018,510
0
0
null
null
null
null
WINDOWS-1250
C++
false
false
1,118
h
def_inc.h
/* * portas.h * *Arquivo com os includes e macros necessários no projeto * * Created: 26/05/2018 01:04:17 * Author: RodolfoSchiavi */ #ifndef def_inc_H_ #define def_inc_H_ #define F_CPU 8000000UL #include <avr/io.h> #include <util/delay.h> #include <avr/pgmspace.h> #include <stdlib.h> #include <avr/interrup...
32b5f4150c45eacfea867fe99e6c4ee3f44f95a6
6dbb54be5e8e7f66447a464f7e3b42527168d015
/Guilherme2/V6 - Jogo_Super_Mario/Super Mario V6/src/Cenario.cpp
9e9746e193cb3f67ff5f4a24a2310f4c4485cc96
[]
no_license
guilhermeogiboski/Curupira
f44ee6718ffe5b8019a8367ed251e8f702e70d51
ee734169c1d5b6f95f8c6a607a5d4135c712df61
refs/heads/master
2020-04-05T22:41:56.460202
2016-11-18T19:07:07
2016-11-18T19:07:07
71,824,287
1
0
null
null
null
null
ISO-8859-2
C++
false
false
808
cpp
Cenario.cpp
#include "Cenario.h" Cenario::Cenario(): Entidade() { imgEsquerda = NULL; imgCentro = NULL; imgDireita = NULL; } Cenario::~Cenario() { destroy_bitmap(imgEsquerda); // Destrói a imagem; destroy_bitmap(imgCentro); destroy_bitmap(imgDireita); buffer = NULL; } /*SETS*/ void Cenario::setImgEs...
5ebb70cc018a4f4c383be04ee0224e16bf1ebfd7
64cec58ce34c257acc366f85c06be32d75267d80
/main.cpp
d8d9b79e79b06e3fbd555a6b95475837e9a43c78
[]
no_license
JFergen/Library-Database
e729c319cf595c1ad8b95460bab3656c2b8b3a1e
81ac351b405ed0cba495b02444a4d82afcef3a72
refs/heads/master
2020-03-17T07:54:41.554585
2018-05-14T20:26:56
2018-05-14T20:26:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,899
cpp
main.cpp
int number_of_students() { string line;int count=0; ifstream fin;fin.open("students.txt"); while(getline(fin, line)) { ++count; } return count; } int number_of_books() { string line;int count=0; ifstream fin;fin.open("books.txt"); while(getline(fin, line)) { ++count; } return count; } void search_boo...
8649144a36c5dc6a67e2cc35fc26b114b64e0986
9e6610734fd40b664c9103737ff2c0a43821cfd7
/BubbleSort.h
388f45dd7743f3c41d5606683f95df671f782e51
[]
no_license
utec-computer-science/cs2100-sorting-JRebosio
a50cc2954bb3bd2623f53e55f90bb85eb8199172
62b62bb3a50c3c79a951206d605e9f41b28a0e0a
refs/heads/master
2021-05-18T19:54:20.584861
2020-04-08T03:51:28
2020-04-08T03:51:28
251,389,152
0
0
null
null
null
null
UTF-8
C++
false
false
301
h
BubbleSort.h
class BubbleSort { public: template<typename container> void sort(container &cnt) { int n=cnt.end()-cnt.begin()-1; for (int i = 0; i < n; i++) for (int j = 0; j < n-i; j++) if (cnt[j] > cnt[j+1]) swap(cnt[j], cnt[j+1]); } };
3d15684308df61ff68e0fc3a67a9fd486f3fb84a
41168098af2b3040d85615166edd9b22fc6bf304
/sorting/quick_sort/quick_sort.cpp
a04fdc9e795040250b4a0ee5bf97a76225f72dc0
[]
no_license
lokesh-org/datastructure
034015107693de3eb2d6d64a941647c0ff176480
0be0a94ea4b207cf0e8c882700f138828592d525
refs/heads/master
2021-01-10T07:35:28.446790
2015-11-12T22:53:08
2015-11-12T22:53:08
46,084,882
0
0
null
null
null
null
UTF-8
C++
false
false
856
cpp
quick_sort.cpp
#include<iostream> #include<cstdlib> using namespace std; void randm(int arr[], int l) { for(int i=0;i<l;i++) { int temp = rand()%l; int m = arr[i]; arr[i] = arr[temp]; arr[temp] = m; } } void quick_sort(int arr[], int l, int h) { if(l<h) { int s = l-1; int t = l; while(t<h) { if(arr[t]<arr[...
582ee6fee2d672eb607e7746811c76fe85e83f7e
883887c3c84bd3ac4a11ac76414129137a1b643b
/Cscl3DWS/RenderManager/Classes/nrmFlash.cpp
504d2ad3a992459f2f7374f471889935d07e9fff
[]
no_license
15831944/vAcademia
4dbb36d9d772041e2716506602a602d516e77c1f
447f9a93defb493ab3b6f6c83cbceb623a770c5c
refs/heads/master
2022-03-01T05:28:24.639195
2016-08-18T12:32:22
2016-08-18T12:32:22
null
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
5,083
cpp
nrmFlash.cpp
#include "stdafx.h" #include <locale> #include <stdlib.h> #include "nrmFlash.h" #include "FlashPlugin.h" #include "IDynamicTexture.h" #include "HelperFunctions.h" #include "GlobalSingletonStorage.h" #include "RMContext.h" nrmFlash::nrmFlash(mlMedia* apMLMedia) : nrmObject(apMLMedia), m_flash(NULL), m_sprite(NUL...
f4e972b85b460e2c25b1bda02ed7d6f5a5fbf9e1
e91291f43149171ed8b927c3b9b980b38c4eec92
/keye-1.1/keye/utility/utility_pch.hpp
8823f6f89cd36047a6bb78f7044840888a6ad0c6
[]
no_license
mengtest/private
f4153cde5ba9cebdf1ed6152dc7501d9cf689a19
e3cd3e7929dd427746aee6769728e5ed8526e7c6
refs/heads/master
2021-06-11T14:15:12.267675
2016-12-13T11:46:23
2016-12-13T11:46:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
221
hpp
utility_pch.hpp
#ifndef _utility_pch_h_ #define _utility_pch_h_ // -------------------------------------------------------- #include <time.h> #include <sys/timeb.h> // -------------------------------------------------------- #endif
1cf91b72903d027277fb52cd0078920fc2f34f7e
e00deac602e9505900cc87e146d165267f7a098a
/master-jsoknit-test/master-jsoknit-test.ino
ebfcbf92c754f379ce8917dad0794c2d543d2aa7
[]
no_license
dsikar/arduino
41894d72f4f5e3da676f3e3057992a62651bdc3d
1b49a3bf2e119ac673469aa2f41ffc1483573ccc
refs/heads/master
2023-06-23T03:24:59.880794
2022-11-12T20:45:09
2022-11-12T20:45:09
54,924,320
0
0
null
null
null
null
UTF-8
C++
false
false
2,834
ino
master-jsoknit-test.ino
#include <Wire.h> #include <ArduinoJson.h> // MASTER // The Slave node we will be talking to int iWireNode = 2; /* Parse json content. @param content Json content. */ void Parse(String content) { int str_len = content.length() + 1; char char_array[str_len]; content.toCharArray(char_array, str_len); Stati...
c3d5748c0e16c931046abfbca260bb004aac65bf
a3c25817ed3e1ec96201eacf17b9af6c5ff13464
/inc/Imagen.h
5d8a6200e6edd0962855623f77b404e6452a1ded
[]
no_license
ferluque/TDAImagen
debb3677ac2eeb565d1b5ed822e619745c25a021
925e9e76d1e8c16e9aa6ee1dd09be97b794085ad
refs/heads/main
2023-01-07T06:09:35.776408
2020-11-10T11:09:35
2020-11-10T11:09:35
311,446,107
0
0
null
null
null
null
UTF-8
C++
false
false
4,577
h
Imagen.h
/** * @file Imagen.h * @brief Fichero de cabecera para la clase Imagen * @author Fernando Luque (fl1562001@correo.ugr.es) * * Declara un TDA Imagen que nos permite representar imágenes en formato PGM */ #ifndef IMAGEN_H #define IMAGEN_H typedef unsigned char byte; /** * @brief T.D.A Imagen * * Una instanci...
505f2af9c22c299d47cd8ca0da68c8c9ea29d85c
9c1ebb542635a56807c4f11a66b161514ed90228
/16.3sum_closest.cpp
64ae29a7a21be69d84ce88636a5d40512ea72924
[]
no_license
yzia2000/leetcode
5a2b0e5855c90cea0e5c872c246e0ad96306dfa5
f5fa1e0bf03933e6dc7a004edb90df1d13d25cd8
refs/heads/main
2023-02-13T10:23:58.500435
2020-12-20T16:57:47
2020-12-20T16:57:47
323,121,184
0
0
null
null
null
null
UTF-8
C++
false
false
727
cpp
16.3sum_closest.cpp
#include <iostream> #include <vector> #include <string> using namespace::std; class Solution { public: int threeSumClosest(vector<int>& nums, int target) { int res = INT_MAX / 2; for (int i = 0; i < nums.size(); i++) { for (int j = i + 1; j < nums.size(); ++j) { for (i...
121a2cd47d0d3bf98031de222a9187fa07ea571e
72d2c618a5d2df322f6e00fa7ec10e687ef2c50a
/I_Schedule/I_Schedule/Storage.h
992a9eef6eb343cf88066bac43451dce420c5ac4
[]
no_license
cs2103jan2015-t11-4c/main
dbee41271c2f0a87e83d5265bf337b3b5f233fea
c7f13353f7d6e1dc5cbf5d03ff2d9a87a8077c3e
refs/heads/master
2020-05-15T14:33:35.215328
2015-04-18T09:23:42
2015-04-18T09:23:42
30,142,386
0
0
null
null
null
null
UTF-8
C++
false
false
7,025
h
Storage.h
#pragma once #include <iostream> #include <fstream> #include <vector> #include <string> #include "Task.h" #include "Smartstring.h" #include "Logger.h"; using namespace std; using namespace logging; class Storage { private: enum FILETYPE { TXT, INVALID }; string _filename; const string _archivefile = "archive.txt"...
b9a088b7bbcf01e1d4b4ce3cd7fed587ca740aff
1e5c488081e59040b484a2a56b93a2ea1d91ddf8
/src/src/ACE/src/linearsystem.h
6b1af241c04a69adcf94bd119df75af240738a48
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
siconos/acef
54c38737f93d34e35c1f7d4b0d3fe7f39b71b260
200d1c4e0b2ba7e10c3393d93f60e156c3646154
refs/heads/master
2023-01-14T16:40:05.973224
2020-11-24T12:51:27
2020-11-24T12:51:27
315,632,330
0
0
null
null
null
null
UTF-8
C++
false
false
7,959
h
linearsystem.h
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2019 INRIA. * * 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 * *...
b3d71e8f9fd56821e365e26a92e4cc97e82b6b9b
f81124e4a52878ceeb3e4b85afca44431ce68af2
/re20_1/processor54/constant/polyMesh/faceProcAddressing
e2eb2d2079756e565697fa6ffa3ac81f26af22b2
[]
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
1,667
faceProcAddressing
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*-------...
96e97819c5b2bb4223113bd7719ef290b1f48e69
b34e84cafbfcd449ccd665701aa1d0b134184454
/llvm/lib/Transforms/phase1-gth773s/Integer.cpp
4c8d002a6f6d677751d39200e4cd49bbf0ea3df5
[ "NCSA" ]
permissive
chris-martin/cs6241
c2946bde3a5163d1cd366bf1c63f2e503a34bbee
49096936548477a1034280c729233f9b4806b3a1
refs/heads/master
2021-01-10T22:12:35.684957
2013-05-21T05:38:55
2013-05-21T05:38:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
504
cpp
Integer.cpp
#include "PhaseOne.h" using namespace llvm; using namespace std; namespace phaseone { Integer Integer::none() { Integer i; i._hasValue = false; return i; } Integer Integer::some(APInt v) { Integer i; i._hasValue = true; i._value = v; return i; } void Integer::print(raw_ostream...
2506b6f7a86793d4995b8790c0a5fbdf0d0d7c92
b60776fe3c35b48485b3e9fd85c38e2954e0186b
/String/strtok.cpp
a6c53a64020a761b45c843958ae86dc900ce9aae
[]
no_license
aniket-gore/practice-codes
88994ef1719f21f1b1ae4c21b6fd7ad80d581e6b
4b3fbfb73da8cd1f2786717e4e8927bac69eefb2
refs/heads/master
2021-01-17T21:24:00.879741
2017-08-17T01:37:32
2017-08-17T01:37:32
36,997,219
0
0
null
null
null
null
UTF-8
C++
false
false
1,391
cpp
strtok.cpp
#include<iostream> using namespace std; char * strtok(char *str, const char *delim){ // copy of string to be used for future calls static char *store_str; // if string is passed if(str != NULL){ store_str = (char *)malloc(sizeof(str)); strcpy(store_str,str); } // if string is NULL and static p...
2e494ee3f5f91af81c98323d3ef4c0c6eb726606
e995b9d23b3972ee59435d394c8c2af7a571010b
/Camera/Camera3D.cpp
fa1a6cac84308854ec9bc14dc35dadee2bcc40bf
[]
no_license
pmeneguzzi/SharedGameCode
1b3216a0a6321da5a6fff29c85f0971c91bb0f4e
2ddf2134714f9ff911ec2842b908fb2ef125cf20
refs/heads/master
2021-01-24T23:25:57.390010
2014-11-02T15:11:28
2014-11-02T15:11:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,936
cpp
Camera3D.cpp
// // Copyright (c) 2012-2014 Jimmy Lord http://www.flatheadgames.com // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // Permission is granted to anyone to use this software for an...
e02e72d0dafba763ab38f3275228990cf15db7f1
ec89e41ca41970c0704a80544f5f579f3fc42cb3
/connections/payload_test.cc
7a3aad025da24295e983a22390b624194395932d
[ "Apache-2.0" ]
permissive
google/nearby
0feeea41a96dd73d9d1b8c06e101622411e770c5
55194622a7b7e9066f80f90675b06eb639612161
refs/heads/main
2023-08-17T01:36:13.900851
2023-08-17T01:11:43
2023-08-17T01:13:11
258,325,401
425
94
Apache-2.0
2023-09-14T16:40:13
2020-04-23T20:41:37
C++
UTF-8
C++
false
false
4,199
cc
payload_test.cc
// Copyright 2020 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
397aedd7d3c320b5baaa2ec26e8d3c05144f4067
d93fc4deef72b4a5c6484834f45be568504aa682
/solution237.cpp
895d061119987a9d53b8160e25788a2f9113b4b5
[]
no_license
zhangxiaoya/LeetCodeCPP
55701a80c760f07103244eb21d17c3c43539db81
47388a5bcacd4d8e113c591a02828f6983e8b338
refs/heads/master
2021-09-11T08:56:59.725220
2021-08-29T13:24:18
2021-08-29T13:24:18
37,762,197
1
0
null
2021-05-05T08:52:31
2015-06-20T07:43:27
C++
UTF-8
C++
false
false
215
cpp
solution237.cpp
#include "solution237.h" Solution237::Solution237() { } void Solution237::deleteNode(ListNode *node) { if(node == nullptr) return; node->val = node->next->val; node->next = node->next->next; }
8553cb90efc8628f41618d9e9fa832b8d772f7d8
29fe9f765b73160df6ee293bc737e2719c24f8b3
/cplusplus/lcd_stm32f446re.cpp
288d013a109aebd1e245fb5b6bc15b03f40e0018
[]
no_license
ssaulrj/programmable-devices-cplusplus-c-matlab
3efe20f4b3a11072530e68ebbc2568e6ccdc034c
cc45cf3c5ed6d9c476c49025a481cdb413c6850a
refs/heads/master
2021-05-27T10:45:43.694330
2020-04-09T04:39:13
2020-04-09T04:39:13
254,258,910
1
0
null
null
null
null
UTF-8
C++
false
false
725
cpp
lcd_stm32f446re.cpp
// LCD module connections sbit LCD_RS at GPIOC_ODR.B0; sbit LCD_EN at GPIOC_ODR.B1; sbit LCD_D4 at GPIOC_ODR.B2; sbit LCD_D5 at GPIOC_ODR.B3; sbit LCD_D6 at GPIOC_ODR.B4; sbit LCD_D7 at GPIOC_ODR.B5; char txt1[] = "EQUIPO 8 "; char limpiar[] = " "; void lectura(); void main() { //inici...
b67c3d2c2acc792ba2a44aa6349f8b9e418a77cb
56c22711cfe618ebb43b3d5ee2a6e01311177a89
/Uncategorized/rgss4.cpp
b83eea60ced2e7422f6862c93d3a007322cc272d
[ "MIT" ]
permissive
crackersamdjam/DMOJ-Solutions
f6f5709eb6648a01570b4c8992d26a664fd019c6
97992566595e2c7bf41b5da9217d8ef61bdd1d71
refs/heads/master
2023-07-09T07:14:12.105762
2021-08-09T03:05:01
2021-08-09T03:05:01
394,041,849
0
0
null
null
null
null
UTF-8
C++
false
false
539
cpp
rgss4.cpp
#include <bits/stdc++.h> using namespace std; #define MM 1002 int arr[MM], dp[MM]; int main() { int n; scanf("%d",&n); for(int i = 0; i < n; i++) { scanf("%d", &arr[i]); dp[i] = arr[i]; } for(int i = 1; i < n; i++){ for(int j = 0; j < i; j++){ if(arr[i] > ...
34e20ce1c348bead1c228b4215022dbe51c4e8e9
eb52bc62e4515728632752bbdee8a6c618b8620d
/main.cpp
71c4c1c84dd66a60e304a0252927a4f8e4b62748
[]
no_license
Dav3xor/ymf262
cda36f01ef76d56efa74c3886e2677699cc5c494
4510e79b3785da75a24be08a1894b22ecea8bf69
refs/heads/master
2021-07-17T15:14:04.895649
2018-11-30T05:44:34
2018-11-30T05:44:34
135,862,482
1
0
null
null
null
null
UTF-8
C++
false
false
1,551
cpp
main.cpp
#include "stdint.h" #include "synth.h" int main(void) { Synth synth; synth.reset(); // TODO convert these to tests /* o.set_level(5); o.send_levels(); o.set_keyscale(1); o.send_levels(); o.set_level(4); o.send_levels(); o.set_keyscale(255); o.send_levels(); o.set_keyscale(2); o.se...
cd39dd920c2ba462bf54f4e2549189b312ff4e3b
1d12960943f12badaf8414b91a470891327a260c
/code/other/ABC 171D.cpp
1e006a6e9dfc467e3d4cd189dbbc7cf32f6e6dcb
[]
no_license
andrewnyu/competitive-programming
fed658748eb628375633d515443d3736d71a0c48
2dd87e576e9a0d0a3e1cf7dc9a4774509515d147
refs/heads/master
2022-01-19T06:09:05.446913
2021-12-31T07:57:03
2021-12-31T07:57:03
247,249,644
0
0
null
null
null
null
UTF-8
C++
false
false
403
cpp
ABC 171D.cpp
//ABC 171D: Replacing #include <iostream> #include <map> #include <vector> using namespace std; int main(){ long long int cs=0; map <int,int> mp; int n; cin>>n; for(int i=0; i<n; i++){ int a; cin>>a; cs+=a; mp[a]+=1; } int q; cin>>q; for(int i=0; i<q; i++){ int b,c; cin>>b>>...
c316a8792132a71b3f6d9fa3a4b053ea0e02c6f2
1164e110181e49c66f1e09fef6a27b5ac8e8621c
/libs/python/include/python/crypto/ecdsa.hpp
5be93e9614a39ce4b9bd4964b4828b677f53cf53
[ "Apache-2.0" ]
permissive
fetchai/ledger
3d560d7f75282bc4c4f08c97a9954100bf6e7257
c49fb154ec148518d72d4a8f3d2e9b020160d5dd
refs/heads/master
2021-11-25T06:44:22.761854
2021-11-18T09:21:19
2021-11-18T09:21:19
117,567,381
82
55
Apache-2.0
2021-11-18T09:28:30
2018-01-15T16:15:05
C++
UTF-8
C++
false
false
1,590
hpp
ecdsa.hpp
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2020 Fetch.AI Limited // // 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 Licen...
828a24f379363f89d2a9c23f7e0b8f6206c5a02e
fb55c8b719966e825849e1f962de7047b0093f03
/chapter07-challenge3.cpp
840485a5db40deadeaecf3c280bf12a0149fb05f
[]
no_license
evenbrenden/ct4p-challenges
e059c90194f928140d1e3fa8eb41dc97eac2d334
d48eb1b6dfb9c24ffcb626714445c61b82cd51fa
refs/heads/master
2023-08-14T04:12:10.047916
2021-10-17T09:52:13
2021-10-17T09:52:13
243,935,982
0
0
null
null
null
null
UTF-8
C++
false
false
212
cpp
chapter07-challenge3.cpp
#include <functional> template <class A, class B, class R> std::function<R (B)> fmap(std::function<A (B)> f, std::function<R (A)> g) { return [f, g](R r) { return f(g(r)); }; } int main() { return 0; }
59d70ff3cd0da2f8acdf22108c59ddb50b365e77
a78ad1040cd9757437c591bb5dad4fb8347bc8fc
/nik/sources/kernel/lib/extension/devices/monitoringDevice.h
84206828153f0d2d2938d3dbd0d46d71e4e3ba96
[]
no_license
imptz/Uso
4e1488f94997c71cbc1a006ddc974e356767be8a
55caaf5af59c6e1872e91c8d3b16d999ffbe25c9
refs/heads/master
2020-03-26T15:30:23.469236
2014-08-13T05:16:41
2014-08-13T05:16:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,955
h
monitoringDevice.h
#pragma once #include "../subsystems/monitoring/monitoringSubsystem.h" #include "../subsystems/monitoring/iMonitoringDevice.h" class MonitoringDevice : public IMonitoringDevice, public MessageReceiver, public MessageSender { public: static const unsigned int ID = 1; #pragma region static methods public: static...
8f8d858593e141b97aa7f85854e0f56bbea5321b
96d134e8bb874e01c454e7c678b1ba76199af489
/contarpalabras.cpp
ca5b0854196280399d2b02078d6cfdc8d76d4b41
[]
no_license
alanalcaraz/ContarPalabras
925601c0a720f0f623e22f5a2da782bde3fefc40
8b9639c96973e5124e96deed4416a5936d533442
refs/heads/master
2021-08-26T06:40:00.698731
2017-11-21T22:43:07
2017-11-21T22:43:07
111,609,351
0
0
null
null
null
null
ISO-8859-10
C++
false
false
1,019
cpp
contarpalabras.cpp
//Programa que cuenta las palabras de un texto introducido; #include <iostream> #include <stdio.h> #include <stdlib.h> #include <string.h> using namespace std; int contarPalabras (); int main() { contarPalabras(); } int contarPalabras () //funcion que cuenta palabras; { char oracion[100];//d...
b906c8614f8356e5f6e03af56e41c04f47f9b607
bab538e9cb1613a7b11b8600f3433df49ab13e89
/tlb_include/sc_obj_list_ctrl_type_lib.h
3424a0fc39ed1efa93a7a8a4358683b58a600e3e
[]
no_license
H0RIA/KoLaser
ba1af6cd25e56db7c6fe771bdc17c9e1235959f1
71f99d25396a1f36b66cb57cbe01564eb41d471c
refs/heads/master
2018-12-23T00:37:34.076721
2018-10-12T10:27:02
2018-10-12T10:27:02
115,859,389
0
0
null
null
null
null
UTF-8
C++
false
false
25,044
h
sc_obj_list_ctrl_type_lib.h
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 7.00.0500 */ /* at Mon Jul 10 13:50:41 2017 */ /* Compiler settings for d:\scaps\ctrl_projects\obj_list\sc_obj_list_ctrl_type_lib.idl: Oicf, W1, Zp1, env=Win32 (32b run) protocol : dce , m...
f3881d61bffa1d6375904a9e6dd48c553da8956e
65ceb6530f3105924296fdd1f7a546cba22da101
/Tests/tests-main.cpp
136c2e70194a49a9c6160d2534de6e2f344892e9
[]
no_license
wbu2/TypingSurfer
4fee826e62a24e59dc0acdb98ef8ded3218ceef2
8d37d98e7015d91645999d223bc6f0a960757802
refs/heads/master
2022-03-31T04:25:03.653656
2019-12-12T05:07:06
2019-12-12T05:07:06
228,935,962
0
0
null
null
null
null
UTF-8
C++
false
false
81
cpp
tests-main.cpp
#define CATCH_CONFIG_MAIN #define CATCH_CONFIG_COMPILE_FAST #include "catch.hpp"
5e64d1695137682e74da995d59ccfd65e78ec53c
43121b704a46a67e8e28195ee867460fb877f8ad
/L10_Project_Gamepad_and_Fullscreen_handout/Source/Enemy_Cargol.cpp
0dfe962cd85b92364e531156de293afe4faea715
[ "MIT" ]
permissive
Zeta115/Comodines
f6c491c138d796ec9a545189a1813fe87eeafa88
1b49f655e312aa1cb78da32827c56f1346641f12
refs/heads/main
2023-05-15T13:31:33.632882
2021-06-15T15:56:54
2021-06-15T15:56:54
339,491,855
3
0
null
null
null
null
UTF-8
C++
false
false
4,777
cpp
Enemy_Cargol.cpp
#include "Enemy_Cargol.h" #include "Application.h" #include "ModuleCollisions.h" #include "ModuleEnemies.h" #include <iostream> using namespace std; Enemy_Cargol::~Enemy_Cargol() { /*if (collider != nullptr) collider->pendingToDelete = true;*/ } Enemy_Cargol::Enemy_Cargol(int x, int y) : Enemy(x, y) { // idle a...
b4c0f9306676b888fbb1d720c4719c932848948f
5c7ab506d11d3365b87e7c9523697888ed87ceb3
/hittable_list.h
0dd2204b69428ac7b4b1be706bf29f130c8b77c7
[]
no_license
AIxiaodi4Ever/ray-tracing-rest-life
6bd57b8d75478806556c1a5f6a4fc81dcc0e8f12
d0f033b65d3bb858fb495b9f864818fd04b7fecc
refs/heads/master
2023-06-08T01:14:00.239247
2021-06-23T11:02:18
2021-06-23T11:02:18
348,640,172
1
0
null
null
null
null
GB18030
C++
false
false
2,475
h
hittable_list.h
/* * this file define a list that contain all the hittable object. * Define function hit() to iteratively call the hit() function of those * hittable object to get the closest hitted object and record the hit point in hit_record */ #ifndef HITTABLE_LIST_H #define HITTABLE_LIST_H #include "hittable.h" class hittab...
171e811bce7fb1ac262bbea6edec98d832c64c96
9d1886cd5fab52eaf88dc0a8e688d30cd34b6105
/labex12-tombom66/prob02/main.cpp
a7770f076afcec59296f5619fb04755e2d6d0ca6
[ "MIT" ]
permissive
tombom66/Computer-science
13f700abdfeabfbe548017ebefb774a19a71778f
1ee3c7826a6321db5b4bcb5c93b60670df72e24e
refs/heads/master
2020-08-03T11:37:38.893227
2019-10-13T02:09:51
2019-10-13T02:09:51
211,738,843
0
0
null
null
null
null
UTF-8
C++
false
false
142
cpp
main.cpp
#include "dsa.hpp" #include <iostream> int main() { Classroom cpsc121; cpsc121.populate("students.txt"); cpsc121.list(); return 0; }
3e6e499f6854c234e6eee8ba9e772067619efb00
e24fc305aa4bcd515138b9b4aa9dd7a1365733cc
/cs161/wk2/fireslaw.cpp
43e47e38f0055cb18b0789956094253dcde916d1
[]
no_license
jspolsdoff/osu_cs
5271b4ba7c751153ae6fd1e6b7d43a71565e02e0
1917ff246b108c2e41faac6d713475a930cca7ca
refs/heads/master
2021-01-13T13:58:39.557904
2015-06-08T04:36:36
2015-06-08T04:36:36
27,233,011
0
0
null
null
null
null
UTF-8
C++
false
false
2,341
cpp
fireslaw.cpp
/****************************************************************************** *Author: James Spolsdoff *Date Created: 10/7/14 *Last Modified Date: 10/8/14 *Filename: fireslaw.cpp * *Overview: *This program tests to see if a meeting room is in violation of th...
0de9a083c97d7477c169d2e42be05d4cd58baa58
6b01f24e25105643066989031fa763e303c6436d
/maya/Workshop2017/src/BBoxCubeCmd.cpp
30d4c2054b988f10e08e7936105ba79a20ce2dfd
[ "MIT" ]
permissive
smoi23/sandbox
0d38a5a7b6d98f8ff29d32faf8ca7dd4cf459f9b
4d02a509c82b2ec3712f91bbc86cc5df37174396
refs/heads/master
2019-07-28T19:24:14.162881
2018-02-06T14:37:20
2018-02-06T14:37:20
29,189,484
0
0
null
null
null
null
UTF-8
C++
false
false
9,263
cpp
BBoxCubeCmd.cpp
/* * WorkshopCmd3.cpp * * Created on: May 15, 2017 * Author: Andreas Schuster * */ #include <stdio.h> #include <iostream> #include <maya/MPxCommand.h> #include <maya/MArgList.h> #include <maya/MStatus.h> #include <maya/MSyntax.h> #include <maya/MStringArray.h> #include <maya/MGlobal.h> #include <maya/MArgDatab...
316f153e61a0ee1b1b3462f760b0a8ac9975d1e6
d9962bfbfd3356e60d84970bfdc91a64f1eb0cb5
/src/screens/navmesh/Astar.hpp
bad11a4023285d067f11a7ef9fe1ce310db50d5a
[]
no_license
aljazk/navigation_mesh
276b13c651ade0ff8e0edb24572d47bd8dcd6701
11d9a51f784163130980e2eb2d8748164caa2537
refs/heads/master
2021-01-20T00:29:14.827627
2017-07-25T13:44:31
2017-07-25T13:44:31
89,141,187
0
0
null
null
null
null
UTF-8
C++
false
false
382
hpp
Astar.hpp
#ifndef ASTAR_H #define ASTAR_H #include "Path.hpp" #include "Node.hpp" #include <vector> #include <SFML/Graphics.hpp> namespace nm{ class Astar{ public: Astar(); static std::vector<unsigned int> run(std::vector<Node> &, unsigned int, unsigned int); static std::vector<unsigned int> run(std::vector<Node> &, ...
e93f326de39c520ea35d3edcc35440bb63e087b2
d55add22ef6bc242d7f67e610c73469a2d01133d
/ChainOfResponsibility/JINGLI.cpp
61e71084f25e5aa2b3ef058e09508de67008a5b4
[]
no_license
Chengp5/Design-Pattern
4cf0d40be44f656fbf54a6cb4556731cb117e39c
0e4e6a67a7ff52878915d301a1b66aada55a28d0
refs/heads/main
2023-06-03T14:11:52.474207
2021-06-23T11:39:41
2021-06-23T11:39:41
368,556,103
0
0
null
null
null
null
UTF-8
C++
false
false
20
cpp
JINGLI.cpp
#include "JINGLI.h"
370ff1ebd864e2fffe193bd3f654a6bea2bb5e95
14635b76a0ca31e41cd2389e16888eaac70d46fd
/src/roscpp_nodewrap/src/TimerManager.cpp
6908fb310919761ad5db644d03135118cb796769
[]
no_license
Kalmend/thesis
1801f5eee041dcb8b096db1b51f61496e63b4d7a
6871cd5561558d1620868dcda6ea06ec44e63087
refs/heads/master
2020-03-17T11:51:34.687318
2018-05-15T19:44:31
2018-05-15T19:44:31
133,566,390
1
0
null
null
null
null
UTF-8
C++
false
false
11,067
cpp
TimerManager.cpp
/****************************************************************************** * Copyright (C) 2014 by Ralf Kaestner * * ralf.kaestner@gmail.com * * * ...
f399315756e882823e34ec4a4cfad77832d3779d
f704fac222814ae1c46144ff41758268fa89ced7
/CoinExchangeProblem.cpp
e8fdc12883d187c9b05cd5bd31e9977a14fdf543
[]
no_license
ibrahimertanylmz/AlgorithmQuestions
0fd13ab9a7ad55cdec4446f7f5379457198b734f
ee7567772436e0e2e496be466753b9ff5a85edff
refs/heads/master
2022-11-02T15:48:46.936215
2020-06-19T22:51:05
2020-06-19T22:51:05
273,599,770
2
0
null
null
null
null
UTF-8
C++
false
false
768
cpp
CoinExchangeProblem.cpp
#include <stdio.h> #include <vector> #include <algorithm> #include <iostream> using namespace std; ///------------------------------------------------------ /// Design a greedy algorithm that given a set of coins that includes 1 /// returns the minimum number of coins necessary to represent the amount /// Pre-requisi...
3d403d2460d18df2079d4539004c233857a065d0
36386e2061926bb152b8021b19149482fbcaada7
/cppCourse/lab5z2/main.cpp
84015c4d3516e2dc6a62a21e2994bed7edaed36b
[]
no_license
pierug/programs
897b091fb2f0c9670d9d0a579e885ca5d6de19b9
65398d7e2fe3db93a0d844d1946a5296b65dde3a
refs/heads/master
2021-01-11T08:17:27.609374
2017-07-05T20:25:59
2017-07-05T20:25:59
76,392,551
0
0
null
null
null
null
UTF-8
C++
false
false
602
cpp
main.cpp
#include <iostream> using namespace std; class Zwierze{ private: string mImie; public: Zwierze(string imie){ mImie = imie; } void setImie(string imie){ mImie = imie; } const string& naLancuch()const{ return mImie; } }; class Pies: public Zwierze{ private: public: ...
c36d6e5150e296f32647988715d817b885b681f9
86908a017b44cd07963eedd4325c99d410f02395
/GUICraft/headers/amyAdvDICOMCanvas.h
74ec3d5f32b50829cb5c8baa15637630b6fd5453
[]
no_license
laoniu2020/MedicalTile
a8ebf9604f2f76cef7740d07e6d20419127950dd
6d0f172ae863c9d1a3176d2933ff0a5440888f50
refs/heads/master
2021-05-29T06:03:36.556875
2015-10-04T15:10:05
2015-10-04T15:10:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
686
h
amyAdvDICOMCanvas.h
#pragma once #include"amyDICOMCanvas.h" class amySelectionLing; class amyAdvDICOMCanvas:public amyDICOMCanvas { Q_OBJECT public: amyAdvDICOMCanvas(QWidget *parent=0); void UpdateViewSelectionLing(); void HideViewSelectionLing(); void ShowViewSelectionLing(); void SetViewSelectionLing(amyUtil::ePlane p); void res...
9c3d0490b165642cf278805017740b35463b525e
1a7e9320129984b8ee59912fa4c7782e6429e56a
/Bridge.h
ffde0ca1e8628f850cce5d475de541380e1fd174
[]
no_license
go2sea/DesignPattern
de64843c6086e90fc9b783d874a90feca16fe300
0c3a5e6b965a579613246bb117f0bd746070c21f
refs/heads/master
2021-01-10T10:50:10.388053
2016-01-04T14:38:47
2016-01-04T14:38:47
49,001,993
0
0
null
null
null
null
GB18030
C++
false
false
855
h
Bridge.h
/* 桥梁模式(Bridge) 区分:Builder封装了不同的生成组成部分的方式,而Bridge封装了不同的实现方式 */ #ifndef BRIDGE_H #define BRIDGE_H class Music; //手机基类(接口,有纯虚函数) class Phone { public: Phone() {}; virtual ~Phone(); virtual void ring() = 0; protected: Music* m_pMusic; }; //派生类:锤子手机T1 class T1 : public Phone { public: T1(Music* pMusic); virtual ...
ec0f27827494cb5aeaaefb2b22c86d9ceedd27af
619d44dc8f3ea3c70a4e235eced058d40da91cbc
/src/marker.cpp
06cf3dbf02dc80cf61142d9467f664056de96543
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
paroj/aruco
f9ce81a52467376a678c3654c8faf57e1b6dcb55
a4a664daa0cb6fb93c4cba8b307fada95b4d1603
refs/heads/master
2021-01-22T00:29:47.124337
2015-09-21T12:05:47
2015-09-21T12:05:47
36,502,108
4
4
null
2015-08-12T13:02:16
2015-05-29T12:08:30
C++
UTF-8
C++
false
false
5,402
cpp
marker.cpp
/***************************** Copyright 2011 Rafael Muñoz Salinas. All rights reserved. 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...
68f15ef9a14db11c3e258a1c2fe870e9d3b7258b
fc2608f392eef17abff5fbcf17516d9cead3afee
/include/IO/jpeg.h
29f99067f1e66cce080bc61f36de14b57c704e1d
[]
no_license
Lyarvo4ka/libio
670426c0979460d7a50e8595396e21706dcc1b5a
9753883333329e5203e6a8f514ea20e95f256c28
refs/heads/master
2021-01-03T13:00:04.448488
2019-07-03T15:42:05
2019-07-03T15:42:05
124,251,871
0
0
null
null
null
null
UTF-8
C++
false
false
9,545
h
jpeg.h
#pragma once #include "jpeglib.h" #include "AbstractRaw.h" #include <exception> #include <Wingdi.h> #include "Finder.h" #include <experimental/filesystem> namespace fs = std::experimental::filesystem; namespace IO { class my_exception : public std::exception { public: my_exception(std::string && expection_tex...
cdf1a3a42382ecd0b523cb15687e3b4b9bd3e7ee
ac130225538ee70baa3d7eaaf186db044a851af2
/cuckoo_local_test/cuckoo_local_test.cpp
384b1789e39f533af9f1d76c4f4d61c23e21a583
[]
no_license
0crab/multiport_network
cd4e5b6b8db94ead14860adbfbca626b2bfb10f8
87f2fe5fa45cefe4fee4dea6887e15d0385f67aa
refs/heads/master
2022-11-28T08:58:31.272673
2020-07-31T09:46:43
2020-07-31T09:46:43
267,567,612
0
0
null
null
null
null
UTF-8
C++
false
false
6,554
cpp
cuckoo_local_test.cpp
#include <stdio.h> #include <stdlib.h> #include <string> #include <vector> #include <string.h> #include <iostream> #include <netinet/in.h> #include <sys/socket.h> #include <thread> #include <unistd.h> #include <chrono> #include <sys/stat.h> #include <assert.h> #include <mutex> #include "settings.h" #include "tracer.h" ...
fd1acc73c695bf5239beb9571f6f73619b770e27
189f52bf5454e724d5acc97a2fa000ea54d0e102
/ras/floatingObject/6/ddt0(U)
ee73214bd97ffcfe301fdd7d7b2c900596a49357
[]
no_license
pyotr777/openfoam_samples
5399721dd2ef57545ffce68215d09c49ebfe749d
79c70ac5795decff086dd16637d2d063fde6ed0d
refs/heads/master
2021-01-12T16:52:18.126648
2016-11-05T08:30:29
2016-11-05T08:30:29
71,456,654
0
0
null
null
null
null
UTF-8
C++
false
false
639,456
ddt0(U)
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1606+ | ...
404dbced88bc79d7fa7a175143f7e2e13e5cee0c
5d83739af703fb400857cecc69aadaf02e07f8d1
/Archive2/24/84df35719085c9/main.cpp
3eac8d379376a3dc0c522f2f7ef988cfeef3f67c
[]
no_license
WhiZTiM/coliru
3a6c4c0bdac566d1aa1c21818118ba70479b0f40
2c72c048846c082f943e6c7f9fa8d94aee76979f
refs/heads/master
2021-01-01T05:10:33.812560
2015-08-24T19:09:22
2015-08-24T19:09:22
56,789,706
3
0
null
null
null
null
UTF-8
C++
false
false
911
cpp
main.cpp
#include <chrono> #include <iostream> #include <mutex> // std::mutex #include <thread> // std::thread void print_block(int n, char c) { while( n-- ) { std::cout << c; std::this_thread::sleep_for(std::chrono::milliseconds(1)); } std::cout << '\n'; } std::mutex mtx; // mutex for critical se...
4f31aa398eb5412558b3e7aa698cc15ae35cb37b
18904ac4e30a87b7c9d5ae569502b60589ed47b0
/source/gameplay/Stage.hpp
5319a395fc24aac90bf9408dbff06a05b48af467
[ "MIT", "Zlib", "Apache-2.0", "BSD-2-Clause", "CC0-1.0" ]
permissive
JoaoBaptMG/gba-modern
a51bce4464e3347cbea216808bafb440347f8e0d
dfb5757d25cbfa7ee795fa8be521f010661b2293
refs/heads/master
2023-07-19T18:32:12.849729
2023-06-26T14:17:27
2023-06-26T14:41:45
201,576,240
83
5
MIT
2020-12-01T11:07:13
2019-08-10T03:52:52
C++
UTF-8
C++
false
false
1,529
hpp
Stage.hpp
//-------------------------------------------------------------------------------- // Stage.hpp //-------------------------------------------------------------------------------- // Provides a class for managing a stage script and waiting for commands //------------------------------------------------------------------...
b015a259ed09c6dd99c6f046e6b79b48fcd20a4b
42ab733e143d02091d13424fb4df16379d5bba0d
/samples/frame_generator.cpp
a6a2164fbc7b74e71f1c61a701b4df433d6afaac
[ "Apache-2.0", "CC0-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google/filament
11cd37ac68790fcf8b33416b7d8d8870e48181f0
0aa0efe1599798d887fa6e33c412c09e81bea1bf
refs/heads/main
2023-08-29T17:58:22.496956
2023-08-28T17:27:38
2023-08-28T17:27:38
143,455,116
16,631
1,961
Apache-2.0
2023-09-14T16:23:39
2018-08-03T17:26:00
C++
UTF-8
C++
false
false
15,202
cpp
frame_generator.cpp
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
f528cf1a7e36632e94e1b17a92bab8b4b668e3b0
490c57eb767d2c5260539964657bef02e34ab44a
/Space Invaders Client/GameObject.cpp
9960d2ed7904bdbdd5ea69ed81c470e1e40ea7de
[]
no_license
SunTzuBean/space-invaders-client
af5b121fefb586530b1e6e9ec1dd2c94b96dcb43
6198ec937ffe21ffe4c75276276ece936344aff8
refs/heads/main
2023-04-01T01:42:18.853917
2021-04-07T03:01:51
2021-04-07T03:01:51
355,395,239
0
0
null
null
null
null
UTF-8
C++
false
false
5,231
cpp
GameObject.cpp
#include "GameObject.h" GameObject::GameObject() { this->bullet = NULL; this->enemy = NULL; this->player = NULL; this->handler = NULL; } GameObject::GameObject(std::string type) { if (type == ENEMY_BULLET) { this->bullet = new EnemyBullet(sf::Vector2f(10, 30)); this->enemy = NULL; this->player = NULL; th...
359e184dd63d00352e6b13212c9a2fe25969dcf6
6b9aa33bd575464f944ec9d0645ef7055f78a5f4
/src/jwt.cpp
4a752d5b06e32e17605403443bcfdff8c5112557
[]
no_license
0x003e/jwtcpp
fede4fea641b2e49b38ac92f2eecf3c2e80aa95f
d5fc63ee5ea418376aa07fa2a657d9e89514f6e7
refs/heads/master
2020-12-26T01:38:48.306556
2016-07-24T14:50:57
2016-07-24T14:50:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,338
cpp
jwt.cpp
#include "string.h" #include "jwt.h" #include "utils.h" #include "exceptions.h" #include "cryptopp/dsa.h" #include "cryptopp/osrng.h" using namespace std; using namespace jwtcpp; using namespace CryptoPP; namespace jwtcpp { JWT::JWT(const string& algorithm, json_t* payload, const string& signature, ...
c77459e77f32c5147cdfc25245343986f401753c
ac79c92accabbb264cec61dd1cd084d31cfc1159
/src/circle_predict.cpp
26e7547af4344115fa3e90018add002b63619a53
[]
no_license
chris1129/Ego-network-Community-Prediction
bccd8bd3e20de6f8fdaf4f7f84f54c4ae026d239
0a829f9a1fad9ffb5ee42947e98b67801f56c91f
refs/heads/master
2020-03-15T23:06:49.257982
2018-05-07T00:35:24
2018-05-07T00:35:24
132,387,258
0
0
null
null
null
null
UTF-8
C++
false
false
3,115
cpp
circle_predict.cpp
#include <iostream> #include <fstream> #include <sstream> #include <unordered_map> #include <unordered_set> using namespace std; struct simplehash{ template <class T1, class T2> bool operator()(const pair<T1,T2>& p)const{ auto h1 = hash<T1>(); auto h2 = hash<T2>(); return h1(p.first)^h2(...
4006abf33c2484b222d3248184a84fbd10d5e7a9
e9018c0e6a9f3e11407d84834fa5c6111d477a98
/Networking/Proxy/Proxy-Client/main.cpp
f2bf3a27f2b4baecd11ca1f6df31abaeb300be36
[]
no_license
asqapro/WinAPI
455f586a33e0ebccabf4052393686475c832bbe1
bab6d4f6ef05ede1dc9f500773e925f2ddf013e0
refs/heads/master
2020-05-03T22:12:08.539220
2015-04-14T19:14:23
2015-04-14T19:14:23
33,947,813
0
0
null
null
null
null
IBM852
C++
false
false
7,142
cpp
main.cpp
#include <iostream> #include <winsock.h> #include <fstream> using namespace std; WSADATA wsadata; bool init(){ int error = WSAStartup(0x0202, &wsadata); if(error){ return false; } if(wsadata.wVersion != 0x0202) { WSACleanup(); //Clean up Winsock return false; } re...