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
9990257a95cb12afa5762b22a0080a4be9400b2d
ec8f6238a89045c4420b19fe662abc8754a33ead
/other/offlinetest/20180921/tree.cpp
1a2a0472bf081c504c098bc3e16a05c4f8e76a5e
[]
no_license
hajbw/OICodeStorage
9fe4748a13ec799aed8c21f67c576f8cfd47d3c6
c4c1bbee4c2e0d5c5af792ce6cfb42a7ef5294b0
refs/heads/master
2021-07-23T22:51:23.816998
2018-11-09T13:58:34
2018-11-09T13:58:34
113,634,410
0
0
null
null
null
null
UTF-8
C++
false
false
651
cpp
tree.cpp
/* SweepCup2018 Day2 #3 校门内的树 */ #include <iostream> using std::cin; using std::cout; const int MAXN = 100010,P = 998244353; int h[MAXN]; template<class T>T gcd(const T &a,const T &b) { return b ? gcd(b,a % b) : a; } long long query(const long long &u,const long long &v) { long long ans =...
a4e83e2b4c1e72da00776bcecb02fa3d9fc4a67e
e0904d35f0b89fed8ebdeb6e08864c0208006954
/MeshLib/Utils/addPropertyToMesh.h
3486e0d39e16e9fb14160c5152038ab8af65dcd5
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
ufz/ogs
e3f7b203ac960eeed81c3ad20e743b2ee2f4753e
073d0b9820efa5149578259c0137999a511cfb4f
refs/heads/master
2023-08-31T07:09:48.929090
2023-08-30T09:24:09
2023-08-30T09:24:09
1,701,384
125
259
BSD-3-Clause
2021-04-22T03:28:27
2011-05-04T14:09:57
C++
UTF-8
C++
false
false
2,459
h
addPropertyToMesh.h
/** * \file * * \copyright * Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license * */ #pragma once #include <vector> #incl...
0db9e032368124e78ededed678b01d22c44c2f79
68b77031682a6702b5661c1ead4f72004802248b
/src/writer.cpp
301ad6393b5ed37bcddcd24676a5827e1e962774
[]
no_license
naveen-suppala/mpc
1c77219f02452b195b8ce2e4645914773ac49c49
7006aa4e455344db75d7f2bb462caf3ca02f2329
refs/heads/master
2021-09-20T18:35:35.175196
2018-08-14T06:26:35
2018-08-14T06:26:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
329
cpp
writer.cpp
#include <iostream> #include "communicator/Writer.h" using std::cout; using std::endl; int main() { auto writer=Writer::create("/home/llx/Documents/trading/testjournal","testj5"); for(int i=0;i<=100;++i) { usleep(10000000); writer->WriteFrame(static_cast<void *>(&i), sizeof(int)); } re...
91352d046ad87fd66266552b7aa9236773ac544d
0a543beda444f0131c6561c71a4d847c156f5e5d
/2_const_function_args.cpp
8cc205ed916734472d65d8b6b54d368043e121f7
[]
no_license
Mohamed209/CPP_Tutorial
208bab0e9425751014192fd85e5ca4099e794708
e7a409f756f6ab326226670246e3c62f2b3ac849
refs/heads/master
2020-08-17T02:50:41.796446
2019-10-16T16:44:48
2019-10-16T16:44:48
215,595,095
0
0
null
null
null
null
UTF-8
C++
false
false
641
cpp
2_const_function_args.cpp
/* Suppose you want to pass an argument by reference for efficiency, but not only do you want the function not to modify it, you want a guarantee that the function cannot modify it. */ #include <iostream> using namespace std; int sum_two_vars(int& a,int& b); int sum_two_vars_one_const(int& a,const int& b); int main() ...
f2238e72a7366d15e9b1cc06c4b42340ecdf4459
e0ddeda75b52fa33938f64af675c090152ca8eca
/playground/entity/customOpengl/TransformRect.h
bdc8ebfcb003478d07ecadd5c69d801c710d3d8c
[]
no_license
HottDog/OpenGLPro
b9e6257432f84bc84f4a1200b9e23493eb9d04ed
fc6931b5e191d01bdd5eaec39f645c774f31f7c9
refs/heads/master
2020-04-15T19:52:34.237793
2019-07-05T08:39:41
2019-07-05T08:39:41
164,968,708
0
0
null
null
null
null
UTF-8
C++
false
false
326
h
TransformRect.h
#pragma once #include"playground/system/RectTask.h" class TranformRect :public RectTask { public: TranformRect(); protected: bool virtual Start(); bool virtual Draw(); bool virtual Destroy(); private: mat4 tranform = mat4(1.0f); mat4 model; mat4 view; mat4 projection; double speed = 20.0 / HEIGHT; double h =...
fd9403652594708dca48f41e885c7305d62e0554
27787f447b0c9ec037e7b94d3e7c468effe5531c
/HISTORY_GAME/SRC_FILES/item.hpp
2cae9600c49d466959810eeedbabad0ae938c43d
[]
no_license
gougeogl/GLEN-GOUGEON-CODE-PORTFOLIO
f8d260fd4271424a84034953e5e5453928467662
ba9c2ae5f932281a906913b837f9541c7028ad8b
refs/heads/master
2022-12-18T18:10:39.559347
2020-09-29T00:27:07
2020-09-29T00:27:07
299,414,414
1
0
null
null
null
null
UTF-8
C++
false
false
1,487
hpp
item.hpp
/***************************************************************************** * File Name: item.hpp * Programmer: Glen Gougeon * Last-Mod: 9-4-20 * Game Title: A Nap in Time, A History Major's Unexpected Journey * Description: Specification for Item Class. Primary structure for data related to Weapons, Foo...
4621ec8f5ff7712b43d6da813053f5040fb7898c
f22f1c9b9f0265295be7cb83433fcba66b620776
/core/tests/src/main/c++/jcpp/lang/JStringTest.cpp
d1540bb9d0c32d60116f5951b0cd1be0f80ef719
[]
no_license
egelor/jcpp-1
63c72c3257b52b37a952344a62fa43882247ba6e
9b5a180b00890d375d2e8a13b74ab5039ac4388c
refs/heads/master
2021-05-09T03:46:22.585245
2015-08-07T16:04:20
2015-08-07T16:04:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
579
cpp
JStringTest.cpp
#include "jcpp/lang/JStringTest.h" #include "jcpp/lang/JClass.h" #include "jcpp/lang/JObject.h" #include "jcpp/lang/JVoid.h" #include "jcpp/lang/reflect/JMethod.h" #include "jcpp/lang/reflect/JConstructor.h" #include "jcpp/lang/reflect/JModifier.h" using namespace jcpp::io; using namespace jcpp::lang; using namespace ...
e5c405a56039b55bd3968a33991d1183f7540c27
dd267038685dcefd5f89016c63f72c2ad4aa7fdf
/src/ozone/wayland/group/wayland_webos_surface_group.h
a2d39de1ab51734944d0b1504340257370fefd66
[ "BSD-3-Clause" ]
permissive
webosose/chromium87
044d5c74ae9c2815cf096fd98bf9ea4e7e2fe6b3
75729b78817d49249cd004ef734c032269f06e53
refs/heads/master
2022-11-05T07:23:21.710708
2021-10-06T11:24:51
2021-10-08T08:30:55
392,617,373
4
2
null
2022-11-01T02:23:21
2021-08-04T08:54:03
null
UTF-8
C++
false
false
4,614
h
wayland_webos_surface_group.h
// Copyright 2016-2018 LG Electronics, Inc. // // 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 agr...
0a6d9304f28f236e9a990f5b70abc7182444ddc7
95ff1e556221ce299d3247598b3c1d6ac2b9dc67
/taekgun.cpp
072d9f1b1552f8290ac2964d9147fda6c58331d1
[]
no_license
again2002/certi-samples
3caa362239217a9a6f8ccaea959bd9aabd4e1f8b
df4b4848b06f2b9475c48afe65c2720c59180ff9
refs/heads/master
2022-07-16T04:51:22.226604
2020-05-11T13:10:34
2020-05-11T13:10:34
263,045,352
0
0
null
null
null
null
UTF-8
C++
false
false
2,912
cpp
taekgun.cpp
#include <iostream> using namespace std; float player1[500] = { -1, }; float player2[500] = { -1, }; float opt_cache[500][500] = { 0, }; float diff[500][500] = { -1 }; void init(int p1, int p2) { for (int i = 0; i < p1; i++) { player1[i] = rand() % 100 + 30; } for (int j = 0; j < p2; j++) { pl...
97c6fc512b67cf26cd3ab91ffb61706fa10fc5b0
34113a4c2d453a39edaf0de0333c2f4db1c58c08
/simulation/src/Maze.cpp
4307013a92d54dc5e8db35812e0f892bcead95bb
[ "MIT" ]
permissive
ish591/astromania-and-simulation
595135fe71bda4f1d92c2654c973882161a3b506
a98650a03bdb11fd9a329ff85fcc9d0d2036aa83
refs/heads/main
2023-06-28T17:39:31.098986
2021-05-19T16:08:18
2021-05-19T16:08:18
390,024,249
0
0
null
null
null
null
UTF-8
C++
false
false
3,940
cpp
Maze.cpp
#include "Maze.h" Maze::Maze(int N, int w, int h, bool discrete_walls) { generate(N); int x = min(w, h); Maze::discrete_walls = discrete_walls; block_size = x / M - discrete_walls; left_offset = (w - block_size * M) / 2; top_offset = (h - block_size * M) / 2; } void Maze::generate(int N) { ...
a9abf610651eb2e4e5e94c02be3d590ac25fe18a
8d2f4d737d012ba77586a3fb8002f3deb2867961
/fifider/Display.cpp
908c54f29c817bf9e23a6d49a6fbcfb44e7cd488
[]
no_license
rgcalsaverini/fifider
432c9252ac1b68b51f4b373100f55e7d3ac3fb13
c24e69c12cd5872e313ff46d9eb754aa14b32153
refs/heads/master
2021-01-10T05:12:01.020814
2016-02-19T22:43:30
2016-02-19T22:43:30
51,803,922
0
0
null
null
null
null
UTF-8
C++
false
false
1,600
cpp
Display.cpp
#include "Display.hpp" Display& Display::getInstance(void){ static Display instance; return instance; } void Display::initialize(void) { _data_pin = HW_SR_DATA_PIN; _clock_pin = HW_SR_CLOCK_PIN; _latch_pin = HW_SR_LATCH_PIN; _num_digits = HW_DISP_DIGITS; pinMode(_clock_pin, OUTPUT); p...
d6aade1df17521c731b7e7ada5148996d49f610b
d81a9ef64fcccd532dcc0dae3235b709a2ff4ebe
/CodeForces/StairsAndElevators/main.cpp
8af4f9683208c8f5a998b7cd69b6556b9fce4405
[]
no_license
Rodrigo61/GUAXINIM
6d52b0b29dd736ce40295f7e7b3f7dd4c1d2396d
696d1077bf69bcff10cb5c07bb68dd3452952228
refs/heads/master
2021-04-09T14:29:54.226309
2020-11-17T01:18:21
2020-11-17T01:18:21
125,520,161
1
0
null
null
null
null
UTF-8
C++
false
false
5,533
cpp
main.cpp
using namespace std; bool debug = false; //<editor-fold desc="GUAXINIM TEMPLATE"> /******** All Required Header Files ********/ #include <iostream> #include <string> #include <vector> #include <algorithm> #include <sstream> #include <queue> #include <deque> #include <bitset> #include <iterator> #include <list> #incl...
b554c8ecb057aee0d7c4026133ff84f758a57e9a
e11b2493f55c60685c3ea76f900be73e6a454b2f
/C++ Primer/15_Object_Oriented_Programming/15_4.cpp
393abd2670a0f3cae541490302f585c2afd09e0c
[]
no_license
zpoint/Reading-Exercises-Notes
29e566dd86d97eadb84d7bb6f8f640b85486557c
31b38fe927232ba8e6f6a0e7ab9c58026eefcffb
refs/heads/master
2021-06-04T08:12:42.777309
2021-04-19T02:12:22
2021-04-19T02:12:22
70,507,489
0
0
null
null
null
null
UTF-8
C++
false
false
185
cpp
15_4.cpp
#include <iostream> class Base { }; // class Derived : public Derived { }; class Derived : private Base { }; class Derived2 : public Base { }; int main() { Base b; return 0; }
fcdc53847c1d0cc8716493fae4fe1996f4436346
8583b5bfc594b994f51d24d012e92ae66bf2e5ea
/src/BabylonImGui/include/babylon/inspector/components/actiontabs/tabs/propertygrids/materials/standard_material_property_grid_component.h
82123f906f8a1b71f4fe3e0ac2f7daee09ad23d2
[ "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
samdauwe/BabylonCpp
84b8e51b59f04a847681a97fa6fe0a5c554e9e1f
3dad13a666299cbcf2e2db5b24575c19743e1000
refs/heads/master
2022-01-09T02:49:55.057544
2022-01-02T19:27:12
2022-01-02T19:27:12
77,682,359
309
41
Apache-2.0
2020-11-06T12:16:17
2016-12-30T11:29:05
C++
UTF-8
C++
false
false
8,387
h
standard_material_property_grid_component.h
#ifndef BABYLON_INSPECTOR_COMPONENTS_ACTION_TABS_TABS_PROPERTY_GRIDS_MATERIALS_STANDARD_MATERIAL_PROPERTY_GRID_COMPONENT_H #define BABYLON_INSPECTOR_COMPONENTS_ACTION_TABS_TABS_PROPERTY_GRIDS_MATERIALS_STANDARD_MATERIAL_PROPERTY_GRID_COMPONENT_H #include <babylon/babylon_api.h> #include <babylon/inspector/components/a...
208cbd830d0def1d0f8b940b1d90a269da2c8094
fb7926a5074f9d1d63b53a3822b70de61ff50b3b
/node_create/create_unsqueeze_node.hpp
cb83bed0deb5367947f084d65fc621b6e6d92094
[]
no_license
wite-chen/tensorrt_wrapper_for_onnx
1b54a99266f65fb11500f334022b4ff3c2b84bd5
31f9dffc70e9c055663ba6218391bb363b9ced7b
refs/heads/master
2022-11-05T16:16:33.553202
2020-06-28T07:19:47
2020-06-28T07:19:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
434
hpp
create_unsqueeze_node.hpp
#ifndef __CREATE_UNSQUEEZE_NODE_HPP__ #define __CREATE_UNSQUEEZE_NODE_HPP__ namespace tensorrtInference { extern nvinfer1::ILayer* createUnsqueezeNode(nvinfer1::INetworkDefinition* network, std::map<std::string, nvinfer1::ITensor*>& tensors, tensorrtInference::nodeInfo* nodeConfInfo, std::map<std::strin...
4c6684de4fe987f0f540449621f3f302231efbf1
45e0fbd9a9dbcdd4fbe6aaa2fdb2aed296f81e33
/FindSecret/Classes/Native/UnityEngine_UnityEngine_RangeAttribute3337244227.h
7b05cd542f38ed5b58e0118dbd775644c9c68347
[ "MIT" ]
permissive
GodIsWord/NewFindSecret
d4a5d2d810ee1f9d6b3bc91168895cc808bac817
4f98f316d29936380f9665d6a6d89962d9ee5478
refs/heads/master
2020-03-24T09:54:50.239014
2018-10-27T05:22:11
2018-10-27T05:22:11
142,641,511
0
0
null
null
null
null
UTF-8
C++
false
false
1,305
h
UnityEngine_UnityEngine_RangeAttribute3337244227.h
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "UnityEngine_UnityEngine_PropertyAttribute3677895545.h" #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offset...
ed06f7e6afd6ee3f7f4de1a25570cac1cde3bb9e
76ce3aee345f034e4ff859884c6d956695c437b7
/gta5-extended-video-export/script.h
d06a74b556e0b4cd8e32003d691afb16209d7813
[ "Apache-2.0" ]
permissive
garudht/gta5-extended-video-export
27ea89ebb1fbf78f14f21442188c733095f7db53
218188b00932aaff197de5120c0c7a6887942d49
refs/heads/master
2021-01-18T07:53:10.198586
2017-02-14T15:42:19
2017-02-14T15:42:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
758
h
script.h
#pragma once #include <dxgi.h> #include <d3d11.h> #include <wrl.h> using namespace Microsoft::WRL; template <class T> void SafeRelease(T **ppT) { if (*ppT) { (*ppT)->Release(); *ppT = NULL; } } template <class B, class A> B ForceCast(A a) { union { A a; B b; } x; x.a = a; return x.b; } void initialize...
42b50dcf081c214436a8d35ad9340d828daf7c75
92548377fb4a91af7cc56570242aa3168cc6c9c6
/BOJ/0To5000/1766.cpp
859e809bce4c24358388d08f3aba62029816b7ef
[]
no_license
LaLlorona/Algorithms
d993a05f5dbc22850d0f6a061a5f35ecff5f8af3
6d02a9552c22acefa58686e909bc8ae0479a6e4b
refs/heads/master
2023-05-24T17:37:14.993992
2023-05-17T05:33:14
2023-05-17T05:33:14
220,796,924
0
0
null
null
null
null
UTF-8
C++
false
false
1,048
cpp
1766.cpp
#include <bits/stdc++.h> //#include <iostream> //#include <queue> //#include <vector> using namespace std; const int MAX = 32001; vector<int> graph[MAX]; int num_pointed[MAX]; int num_problems, num_information; void PrintBestOrder() { priority_queue<int, vector<int>, greater<int> > pq; for (int i = 0; i < num_prob...
3b1bb05c3e00cf7840887324bea0fe456d9a6780
246a16842feb7633edbe6291ff36b4c93edbb3c7
/conan-package/lager/test_package/counter.hpp
a22e94c55269cd63d992a15d9ae00a045d6384d3
[]
no_license
curtkim/c-first
2c223949912c708734648cf29f98778249f79346
f6fa50108ab7c032b74199561698cef087405c37
refs/heads/master
2023-06-08T10:57:35.159250
2023-05-28T05:52:20
2023-05-28T05:52:20
213,894,731
3
1
null
null
null
null
UTF-8
C++
false
false
899
hpp
counter.hpp
#include <lager/debug/cereal/struct.hpp> #include <lager/util.hpp> #include <variant> namespace counter { struct model { int value = 0; }; struct increment_action {}; struct decrement_action {}; struct reset_action { int new_value = 0; }; using action = std::variant<increment_action, decrement_action, rese...
76623a537e20c18dbe9704d3ed42ac5b2d0dcc65
f81b774e5306ac01d2c6c1289d9e01b5264aae70
/chrome/browser/privacy_budget/privacy_budget_ukm_entry_filter.cc
bad4cc84c0bd5823e51faaaa017dda68064418e3
[ "BSD-3-Clause" ]
permissive
waaberi/chromium
a4015160d8460233b33fe1304e8fd9960a3650a9
6549065bd785179608f7b8828da403f3ca5f7aab
refs/heads/master
2022-12-13T03:09:16.887475
2020-09-05T20:29:36
2020-09-05T20:29:36
293,153,821
1
1
BSD-3-Clause
2020-09-05T21:02:50
2020-09-05T21:02:49
null
UTF-8
C++
false
false
3,044
cc
privacy_budget_ukm_entry_filter.cc
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/privacy_budget/privacy_budget_ukm_entry_filter.h" #include <algorithm> #include <memory> #include "base/containers/flat_set.h" ...
f1d5712dafdc7a5ac1f35075b5e1c64b6af7755c
75f308823c3244bc90de37ae92e46740cdd5b67f
/DarknessMayKill/game/Game.hpp
3f133892b1d7d7af042e998d8e0fa77d242e00ee
[]
no_license
ZwodahS/DarknessMayKill
cd724b5a5376cd8d922e50367f7ad27be6ee935d
fef1ae62e51ba4a7c56b478bbffe2a04420cbb2a
refs/heads/master
2020-12-25T19:15:25.789528
2014-09-07T11:09:32
2014-09-07T11:09:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,497
hpp
Game.hpp
#ifndef _GAME_GAME_HPP_ #define _GAME_GAME_HPP_ #include <string> #include <SFML/Graphics.hpp> #include <SFML/System.hpp> #include "../zf/zf_twindow.hpp" #include "Logger.hpp" #include "KeyMap.hpp" #include "ui/DisplayManager.hpp" /** * Game should hold all the global variable. */ class Game { ////////////////////...
46f9a798bdfa9c1770a72a6942fa183336dcaef4
c85621585a8622e5373d03f8e7b9e0b1cef45446
/game/include/player/PlayerState.hpp
f7fd340042f53b64721fb7460d682697ab07210d
[]
no_license
anderer455/NeumannGame
c81dc201d4c118528e0ba2e2ba580af6b6afe30b
eb449c5882813d9602232e79e3aeac8aa7418d22
refs/heads/master
2023-05-11T02:07:39.673505
2021-05-30T22:23:07
2021-05-30T22:23:07
301,832,458
2
0
null
2021-05-06T19:51:03
2020-10-06T19:23:41
C++
UTF-8
C++
false
false
1,083
hpp
PlayerState.hpp
#pragma once #include <memory> #include <tuple> namespace game { class PlayerState { private: int m_ironBalance; int m_copperBalance; int m_siliconBalance; int m_landConquered; protected: public: PlayerState(); PlayerState(int, int, int, int); void initializePlayerState(int, int, int, int); void...
13e32ba1e8e46c6aa223942bf1017b48b9a54ac7
bb285e1849703530e40bfa39109d440b80b9cc88
/0002_Add_Two_Numbers/main.cpp
5cfea0dd5aa01da99361c8d372f9dcb3844a5f88
[]
no_license
kkoala0864/LeetCode
43fe84a63af1605a3034b072f4cd26683af1fd85
386f8f17a5507f3940ad1621fd36d2ae98950727
refs/heads/master
2023-07-14T12:49:04.735378
2021-08-15T08:17:04
2021-08-15T08:17:04
33,233,776
0
0
null
null
null
null
UTF-8
C++
false
false
369
cpp
main.cpp
#include <Solution.h> #include <iostream> int main() { ListNode* l11 = new ListNode(3); ListNode* l12 = new ListNode(7); l11->next = l12; ListNode* l21 = new ListNode(9); ListNode* l22 = new ListNode(2); l21->next = l22; Solution test; ListNode* ret = test.addTwoNumbers(l11,l21); while ( ret ) { std::cout <...
eadab0d4a7d8abbf81ca8c70d40e271fcc42bddf
9d23a4abfad737b1194bc80328653ecae9cbd847
/Motor2D/RemapingScene.h
eda03c719275ee740f81094190e90316c97d29d9
[]
no_license
bubleegames/Project2_Zelda
8cb900144ce22e3e58c3269fe31ec62f1a3ed468
0ea5121e0a123db710fb2d7605c3c38ab592ca73
refs/heads/master
2020-04-29T12:01:10.692097
2017-06-12T09:18:23
2017-06-12T09:18:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,843
h
RemapingScene.h
#ifndef _REMAPINGSCENE_H_ #define _REMAPINGSCENE_H_ // #include "Scene.h" #include "j1Gui.h" #include "Mapping.h" #include "j1App.h" #include "j1Viewports.h" enum remaping_state { r_s_state_null, r_s_confirm, r_s_back, r_s_minimap, r_s_shop, r_s_a1, r_s_a2, r_s_a3, r_s_a4, r_s_inside, }; struct remap_ui {...
4611ae6b5dbc6ae4a8ccacc7ed0027a4ad4fed6a
d6e6dc8c0b72531906dfd77ed2a4a14dccd6786c
/CodeBlocks stateMachine/stateMachine/src/Display.cpp
e0036ecfb9c1d2701486a57f4e74e7126b7dc73e
[]
no_license
Slynott/Portfolio-Task2
2aefd5984324a39751bd20fbc2dced2570722c70
903436b88c8a53ff8c27797472eb98069b776c20
refs/heads/master
2021-01-12T10:13:30.981787
2017-01-05T11:21:07
2017-01-05T11:21:07
76,390,170
0
0
null
null
null
null
UTF-8
C++
false
false
221
cpp
Display.cpp
//Display.cpp #include "Display.h" using namespace std; Display::Display() { //ctor } Display::~Display() { //dtor } void getDisplay() { } void setDisplay() { void removeDisplay(); return 0; }
d66bf1c9f1dae5c2064204cb423c21b81b81b262
a95168206dfdd91350f339095dbc24acf8f206bf
/veiculo.cpp
ddd1660856380db7482105099b3e91ec8950d59b
[]
no_license
jvbazzanella/Trabalho2
c7908fda67d2dacacb840beb564e71741088c13d
5fedcc24708cf783ba97e350d5100cf3d5146a53
refs/heads/master
2020-05-03T18:33:02.229143
2019-04-30T20:42:21
2019-04-30T20:42:21
178,764,970
0
0
null
null
null
null
UTF-8
C++
false
false
887
cpp
veiculo.cpp
#include <iostream> #include <iomanip> #include "veiculo.h" #include <string> using namespace std; Veiculo::Veiculo(string m, int cav, int cap, string pla) : marca(m), potencia(cav), capacidade(cap), placa(pla) {} string Veiculo::getMarca() const { return marca; } int Veiculo::getPotencia() const { ...
cfafcbe597a9ef05ea5c1080493a9229ff9e5bf3
131b5f4936f501c58b38c169ee4aeb8880c0029d
/BIB_20Nov2020_Projet_SMA/GestionAgents/LibMoRis/src/Agent.cpp
75eaeda2f900b4a92861186cca8db74c3f5133ed
[]
no_license
IliasMAOUDJ/Agent-Based-Edge-Detection
d25ea5c888656169763c080703f31ca28ac5a5e5
d11c08c3e27175f02635761ade1605ee64607c2b
refs/heads/main
2023-02-27T19:48:46.813340
2021-02-06T15:44:12
2021-02-06T15:44:12
319,971,399
1
0
null
2021-01-05T22:35:23
2020-12-09T13:52:21
C++
UTF-8
C++
false
false
19,154
cpp
Agent.cpp
#include <stdlib.h> #include <string.h> #include <stdio.h> #include "Agent.h" #include <sstream> //-- Agent::Agent(void) { _theAgentsSched = NULL; _name = ""; // L'agent n'a pas encore de nom _baseClass = ""; // ni de classe de base _class = ""; ...
14336664b8df5685b5290836b998430bf1273a0d
3d35cee4d712b9070ffb29c6380808adc6673b76
/Questions/3.cpp
ea66a745d067b8cac6ed8e9a24cadf77e0a1327d
[]
no_license
Rittik-kumar/C-Plus-Plus
50e7756d9679bb2952a593dde3264e19bf0251d4
1a19a36cc240e001bdd92930b40c2930bb56265d
refs/heads/main
2023-05-27T13:08:05.825278
2021-06-10T15:26:13
2021-06-10T15:26:13
371,876,226
1
0
null
null
null
null
UTF-8
C++
false
false
243
cpp
3.cpp
/* Jump Statement Input: 1 2 88 42 99 Output: 1 2 88 */ #include<bits/stdc++.h> using namespace std; int main() { while(true) { int x; cin>> x; if(x==42) break; cout<< x << endl; } }
0d98ceedff5b9d641316f5fb49fd5e71e894149c
c4790552abc608f491b7ac2a0b6dcd5826a5bd7c
/500D.cpp
b4cef7628b81f4928aa96243a62480167c35a5c4
[]
no_license
jeffry1829/ojcode
bd03df14360e5c00e6463c3621de0cfeef88bb11
18a6fa3aa59e0d9c274f44f7dea060f70c91cbe8
refs/heads/master
2023-02-27T00:27:04.856978
2021-02-04T09:20:58
2021-02-04T09:20:58
286,199,256
0
0
null
null
null
null
UTF-8
C++
false
false
3,615
cpp
500D.cpp
//#pragma GCC optimize(1) //#pragma GCC optimize(2) #pragma GCC optimize(3) #pragma GCC optimize("Ofast") #pragma GCC optimize("inline") #pragma GCC optimize("-fgcse") #pragma GCC optimize("-fgcse-lm") #pragma GCC optimize("-fipa-sra") #pragma GCC optimize("-ftree-pre") #pragma GCC optimize("-ftree-vrp") #pragma GCC op...
b6935c6048c25aeeacfb1ad7bb6d4703bea5d10e
e29fe554f01ed7b3476c627235c1c776259aa5ad
/src/Article/Article.h
fbc72cd140daa22e05793ca9da5e7b1f22b78753
[]
no_license
fez2000/commerce
57207e581d8c2613ec2d59476e6b91e9d6178bc7
8e63a42b050d29c24f7849a1d6ef3205df5497bd
refs/heads/master
2020-05-20T04:59:13.048400
2019-11-05T16:50:12
2019-11-05T16:50:12
185,393,980
1
0
null
null
null
null
UTF-8
C++
false
false
2,193
h
Article.h
#ifndef ARTICLE_H_INCLUDE #define ARTICLE_H_INCLUDE #include <fstream> #include <string> #include "../fonctions/fonctions.h" namespace Article { /* @brief classe de base d'un atricle permettant d'effectuer des operations elementaire sur un atricle @proprietes: -refernce: identifi...
b123dda2e4e6d98d095d1d388aeac45568898338
2ee7bb14ebe14cceba4de7ad7d5b2797682b125f
/TcpSession.cpp
163b2d3a10417fe1fcc640a76297781f13a29fff
[]
no_license
LaiDevin/iocp
90ed0ebdd1c87b1d49b59ca82fcb15642fd67360
4098d1dd5b6c3cbdf49589676997df9e95c418cf
refs/heads/master
2020-03-18T09:06:27.933252
2018-05-22T22:14:35
2018-05-22T22:14:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,925
cpp
TcpSession.cpp
#include "TcpSession.h" #include "Socket.h" #include "Global.h" #include "TcpListener.h" #include <MSWSock.h> #include "IoCallbackAccept.h" #include "IoCallbackConnect.h" #include "IoCallbackRecv.h" #include "IoCallbackReuse.h" #include "IoCallbackSend.h" TcpSession::TcpSession() { _pSocket = new Socket(); _pAcceptC...
50216a551b7e32e488d84c0da489079b0c4c655a
53bbe87ff7f94fd0a87f0b5ea12f4babffe4bbd7
/02-classes-constructors-destructors/3-static/old/points.bounds.cpp
172291ba96a8bf76c5869b84a31877d2cc76f9dc
[ "MIT" ]
permissive
sagiehod/cpp-5781
961df881f1dcbe65c9a4e0ff9866f5decd6dac1f
615ba07e0841522df74384f380172557f5e305a7
refs/heads/master
2023-06-02T18:54:41.921574
2021-06-13T18:48:25
2021-06-13T18:48:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,279
cpp
points.bounds.cpp
/** * Demonstrates static members. * Creates a class "point" with static members for the upper and lower bounds. */ #include <iostream> #include <stdexcept> using namespace std; class Point { int x; int y; public: // A static const can be initialized inline: static const int MAXX=1366; //...
46b274e3c05037023b064e1b7d8998629ea811d0
3ac5c3c490e6a9ae2968b1d78d825b048b48c8ed
/spotyXLogic/3-infra/repository/UserSpotifyDataRepository.h
755231ead6c03851b180cd9a00c2811a357d2530
[]
no_license
geronimo-lisboa/qt-spotify
774a667be066ddf90c5c82829c905ec409fd1b19
04097ef0e5f42e75ecb8206558cdfcd87e564be9
refs/heads/master
2020-03-30T17:25:24.324683
2018-10-08T17:07:32
2018-10-08T17:07:32
151,454,935
0
0
null
null
null
null
UTF-8
C++
false
false
923
h
UserSpotifyDataRepository.h
#ifndef UserSpotifyDataRepository_h #define UserSpotifyDataRepository_h #include <vector> #include <memory> //forward declarations class QSqlDatabase; namespace model { class UserSpotifyData; class User; } using namespace std; namespace infra { class UserSpotifyDataRepository { private: QSql...
e61a65dc60dbebc6351fc80abd9abcbd9be49d19
4b33c4d41f4eaff87674301f7d3a22c5b80da63b
/libs/libciaran/ciaran.hpp
e44097a9de468faf4217bc4a2fd052873f790b72
[]
no_license
CUA-BatDrone/Bat-Drone-Software
63f722c7de0958151f2d31fb5bebcb8bf6a633b7
4ceef0c93baee6eafa8e8920ae23658743e57e78
refs/heads/master
2021-09-13T11:48:18.947468
2018-04-29T10:35:21
2018-04-29T10:35:21
106,051,655
2
2
null
2018-04-05T03:44:00
2017-10-06T21:26:33
C
UTF-8
C++
false
false
206
hpp
ciaran.hpp
#ifndef CIARAN_HPP #define CIARAN_HPP #define rows 60 #define cols 80 #include <stdint.h> extern uint16_t centerX; extern uint16_t centerY; int detectBlob(uint16_t arr[rows][cols]); #endif
50f5ff4a6c991289ff4c55deb2fd04b32f8bdf58
82091fc56c850906f3a36e8cb20fbb69c9b50e96
/ucc/BinTreeNode.cpp
4b1b33de1ebd40cbf5b77469f7c41c4abc59a3b2
[ "MIT" ]
permissive
inbei/libutl
97a57b865b4ab2331d66545fa2bb48ddf928ac2b
e55c2af091ba1101a1d0608db2830e279ec95d16
refs/heads/master
2023-07-22T15:35:51.113701
2021-08-26T09:28:22
2021-08-26T09:28:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,284
cpp
BinTreeNode.cpp
#include <libutl/libutl.h> #include <libutl/BinTreeNode.h> #include <libutl/Queue.h> //////////////////////////////////////////////////////////////////////////////////////////////////// UTL_NS_BEGIN; //////////////////////////////////////////////////////////////////////////////////////////////////// void BinTreeNod...
9f9a3406bcee1bb3b5f7e02eb6721c1abdb3fb3a
87a600d36a5757969ead7e235c93e3530d72b43a
/abm_product/bak/app_guard/sysinfo_j.cpp
419e129598e05be3c37f2cfef2eef3cb68312cad
[]
no_license
xkmld419/learning
3c3cad407d03bf693bcd863794cca7fb8a5df99a
128ffa1496c43c36b83f266522bd49b28184499f
refs/heads/master
2023-07-12T16:54:50.647834
2021-08-21T15:41:42
2021-08-21T15:41:42
45,075,836
1
0
null
null
null
null
GB18030
C++
false
false
3,318
cpp
sysinfo_j.cpp
/* Copyright (c) 2001-<2003> Wholewise, All rights Reserved */ /* #ident "@(#)sysinfo_j.c 1.0 2011/07/06 <AutoCreate>" */ #include "sysinfo.h" Control *sysinfo_init() { Control *Ctl7,*Ctl9,*Ctl1,*Ctl2,*Ctl3,*Ctl4,*Ctl6,*Ctl12; RECT rt; TFILE *pHead; ReadFile("sysinfo.rc", (TFILE **)&pHead); ...
4bea1367fafee366be3d3cc98c7386fb0eccff7b
7ec4ce13fe476404a1769d9958dc41bef48661bc
/数据结构/07022018/BST.h
9177ec17446a9f2a168c92965742187572b6cf41
[]
no_license
meihao1203/learning
45679e1b0912b62f7a6ef1999fb2a374733f5926
dbef1a1b6ccb704c53b2439661d062eb69060a0d
refs/heads/master
2021-07-19T23:36:50.602595
2018-12-09T02:03:06
2018-12-09T02:03:06
113,955,622
11
4
null
null
null
null
GB18030
C++
false
false
741
h
BST.h
#ifndef __BST_H__ #define __BST_H__ #include<iostream> using namespace std; typedef struct Binary_Sort_Tree { int data; struct Binary_Sort_Tree* lchild,*rchild; }bstNode,*pBstNode; void BST_Insert(pBstNode& root,int data); //二叉排序树中插入结点 bstNode* BST_Search(pBstNode root,int key); //二叉排序树中查找关键字key int ...
a70025dc49fd07f3bd06b0e90454f7b1cbee5dfd
f99b0f57bad6380dea4a866afbdb7ebc58ba7647
/XeniaAndRingroad.cpp
c1059872c7530194218980b5e2756244e948fb93
[]
no_license
psluke2104/PopularProgrammingProblems
2a95ec5e3fc91284f49c65253638ff0b280689a9
24472c3bec176b7bd4a8312604c2bc6a10e0b260
refs/heads/master
2022-12-19T08:21:30.502430
2020-10-01T07:37:13
2020-10-01T07:37:13
271,739,027
0
0
null
null
null
null
UTF-8
C++
false
false
385
cpp
XeniaAndRingroad.cpp
#include<iostream> using namespace std; int main(){ int n,m; cin>>n>>m; int arr[m+1]; arr[0] = 1; for(int i=1 ; i<m+1 ; i++){ cin>>arr[i]; } int count= 0; for(int j=0;j<m;j++){ if(arr[j]<arr[j+1]){ count += arr[j+1]-arr[j]; } else if(arr[j]>arr[j+1]){ count += n - arr[j]+arr[j+1]; } else...
1a8d433b57079745f33a98d7b744b2cb189e683f
7d81ea9a1f9a519ecdd6913234dff15ad9285a2e
/C++/Code/referenceWrapperClass.cpp
d53733fe717ca07c189e8b18149bbba43b1e8a36
[]
no_license
rajeev921/Algorithms
ddbaeaa7fd9809432b348275b1effb72d9d70881
7ca5beefda4093bc60a401acaf0afc7babf0129f
refs/heads/master
2021-07-13T16:40:34.846452
2021-02-02T20:25:22
2021-02-02T20:25:22
229,635,311
0
0
null
null
null
null
UTF-8
C++
false
false
1,309
cpp
referenceWrapperClass.cpp
#include <functional> #include <iostream> #include <string> class Bad{ public: Bad(std::string& s):message(s){} private: std::string& message; }; class Good{ public: Good(std::string& s):message(s){} std::string getMessage(){ return message.get(); } void changeMessage(std::string s){ message.get()...
98a4d6bb286b9092924be0eb454374752d8af48d
170047df76e147fed86a9eff3bf985e7b1b2a463
/include/scene/sky/Clouds.h
5864ba60e7cf64573ab89aad19e151253aff7190
[ "MIT" ]
permissive
hvidal/GameEngine3D
7c68be5ffd362eaea1e818d75ae34d4b1217f628
1794ad891d2200260be935283645a03af3ebcfcc
refs/heads/master
2023-02-12T19:42:25.915763
2021-01-14T04:37:42
2021-01-14T04:37:42
275,481,813
6
2
null
null
null
null
UTF-8
C++
false
false
1,949
h
Clouds.h
#ifndef GAMEDEV3D_CLOUDS_H #define GAMEDEV3D_CLOUDS_H #include "../SceneObject.h" class Clouds: public SceneObject { struct Particle { btVector3 position; float dimension[3]; // width, height, textureNumber float cameraDistance; Particle(const btVector3& v) { position = v; } bool operator<(const P...
d23614af34c2692b55255ecc9ef4ecdd21ab045d
4984f7a38f655fe9aa6231175315651039f57a55
/tst/FDMappingTest.cpp
23a595f5e652ce5f62db65517f14c53d8aea9fb9
[]
no_license
quanshuituantuan/netlib
8373d0acf1332a1b60f1446b7777a1da9654a6ef
216d19e581b1c17e1a4d7670444bfbf8fe387417
refs/heads/master
2022-12-04T11:16:52.250550
2020-08-15T05:34:44
2020-08-15T05:34:44
264,667,122
0
0
null
null
null
null
UTF-8
C++
false
false
1,274
cpp
FDMappingTest.cpp
#include <gtest/gtest.h> #include "FDMapping.h" using namespace EventLoop; using namespace testing; class FDMappingTest: public Test { }; TEST_F(FDMappingTest, create) { FDMapping fdmapping; } TEST_F(FDMappingTest, add) { FDMapping fdmapping; int fd(0); Context *fdlistener(nullptr); uint32_t e...
3bec143a9b6a97522df170594d231c7ac6373772
837162776da55243444a7dce3e98c69f25071d17
/src/runmodule/OutRetrive.cpp
aef66d979535aec42a986ad8ace3a09c5ec48a69
[]
no_license
vppatil/temVijMods
e1b6a10559c2afc29854ae77e107e4c4c747505c
5f9abc23d7b626feaa3d1e58a860aa945068cedc
refs/heads/master
2020-12-24T17:17:19.553771
2014-02-20T04:25:17
2014-02-20T04:25:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
24,902
cpp
OutRetrive.cpp
/* * This is for */ #include "OutRetrive.h" OutRetrive::OutRetrive(){ }; OutRetrive::~OutRetrive(){ }; void OutRetrive::setDimensionData(CohortData *cdp){ cd = cdp; }; void OutRetrive::setProcessData(const int & ip, EnvData *edp, BgcData *bdp){ if (ip>=0) { ed[ip] = edp; bd[ip] = bdp;...
b3d1c8de3a498412de42f0165b58bcb96989ec50
be6af81081c631368616cee582a8e1bcf728fc78
/mainform.cpp
6685073127e6d95c32798a9410de0ccfda1500f6
[]
no_license
Flamio/RepairCards
987e7ded1aebe03e330be285fa7e1d90cf81ab35
5d060e984043c09c7bf97a292a8921058dec84e3
refs/heads/master
2020-04-26T14:28:34.282118
2020-03-27T19:38:40
2020-03-27T19:38:40
173,615,500
0
0
null
null
null
null
UTF-8
C++
false
false
4,791
cpp
mainform.cpp
#include "mainform.h" #include "ui_mainform.h" #include "helper.h" #include <QMessageBox> MainForm::MainForm(QWidget *parent) : QDialog(parent), ui(new Ui::MainForm) { ui->setupUi(this); ui->current_card_index->setValidator(new QIntValidator()); } MainForm::~MainForm() { delete ui; } void MainFor...
b93e54e141864050db28ce7341dfb5f60a801550
a802488c68d5c8607e8d4696b8244eaacc9c3ac2
/DK/DKFramework/DKTransform.cpp
02ae6b4df90845ebfee3c1be9e482819cb3b164a
[ "LGPL-2.0-or-later", "BSD-3-Clause" ]
permissive
Hongtae/DKGL
e311c6e528349c8b9e7e8392f1d01ac976e76be1
eb33d843622504cd6134accf08c8ec2c98794b55
refs/heads/develop
2023-04-28T22:02:44.866063
2023-01-14T02:11:30
2023-01-14T02:11:30
30,572,734
11
3
BSD-3-Clause
2023-01-18T03:02:10
2015-02-10T03:23:18
C
UTF-8
C++
false
false
6,734
cpp
DKTransform.cpp
// // File: DKTransform.cpp // Author: Hongtae Kim (tiff2766@gmail.com) // // Copyright (c) 2004-2016 Hongtae Kim. All rights reserved. // #include "DKTransform.h" #include "DKAffineTransform3.h" #include "DKLinearTransform3.h" using namespace DKFramework; const DKTransformUnit DKTransformUnit::identity = DKTrans...
4a4d047c4b45d4e9e77758dc917ab55ef024e7d1
d36fb072d0b6861bdcb22d4c102e370e27e7a0da
/기초테스트/Mine/Project1/소스.cpp
fa12e63291c1eb98a3ab870958ea049a61bcad31
[]
no_license
taeyong5th/kimtaeyong
9af42d3f9ea7dd1b37c47787684c4eca22fed850
8df4f237b6b4018bd262632e08c3f96e8054fc72
refs/heads/master
2022-04-06T03:30:39.720920
2020-03-11T05:19:06
2020-03-11T05:19:06
200,011,748
0
0
null
null
null
null
UTF-8
C++
false
false
75
cpp
소스.cpp
#include "GameManager.h" void main() { GameManager game; game.start(); }
c480354c5f09b0eef6e318fbcb47b6f14e9cdd0d
702229825d97d28b79c2719e4edc5270a2b54631
/game_project/game04/DiploidEngine_DirectX/header/ver2.0/Main/Collision.h
3544c58986d41dcec32350519113ca1a9d5ee833
[]
no_license
Keioh/DXLib
fb10edf15468e6b9094e849a872f6f58d7903eb8
b469010bc02b58cfcdcb334fecc28a892ba9579f
refs/heads/master
2023-02-08T01:57:27.842954
2023-01-26T10:59:58
2023-01-26T10:59:58
91,177,788
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,272
h
Collision.h
#pragma once #include <list> #include "DxLib.h" #include "ver2.0/Graphics/DiploidCircleV2.h" #include "ver2.0/Graphics/DiploidBoxV2.h" using namespace std; class DiploidCollision { private: int upadata_count;//いつ更新するかのカウント(画面外など、頻繁に判定をしたくない場所で計算回数を減らすための変数) int window_size_x = 1280, window_size_y = 720; protected:...
18fd0acab3afade62850d391790c7a3aeb811ad1
1f575f6fd3812e3e053e47be37e8b2866e031eb9
/practisePro/isPostOrder.cpp
61df9e9946950f8a48df1394a5d56a229501cb3a
[]
no_license
cFreee/ATOffer
4b147a6b0d4ab985a009f0385585307ab0e2699e
e8ae32b5cf17a40286c40fc7e153cd29ce2d07a0
refs/heads/master
2021-05-11T06:00:01.997734
2018-02-28T11:47:29
2018-02-28T11:47:29
117,976,556
0
0
null
null
null
null
UTF-8
C++
false
false
649
cpp
isPostOrder.cpp
#include "solution.h" bool solution::isPostOrder(int *postOrder, int length) { if (postOrder == NULL || length <= 1) { return true; } bool isPost = true; int index = 0; for (int i = 0; i < length - 1; i++) { if (*(postOrder + length - 1) > *(postOrder + i)) { index++; ...
6fda412e101a69d72c54a3c826a4253b66856516
b5225067ae4f2e1bcb0f8f4acbc2290c725066b1
/octet/src/examples/example_prototype/shape.h
75b7127186ae23913206594f035be5ffbaf63b00
[]
no_license
GonLou/Octet
70183f56ca3586ea82ea81441ede93d70767ac66
ad661757e344f8bfc46b7beaabf339aa5c59cd12
refs/heads/master
2021-01-13T01:44:40.899849
2014-11-09T01:29:41
2014-11-09T01:29:41
26,076,513
1
0
null
null
null
null
UTF-8
C++
false
false
3,657
h
shape.h
//////////////////////////////////////////////////////////////////////////////// /// /// Goncalo Lourenco 2014 /// /// Shape Class /// /// is where all the game objects are registered namespace octet { namespace scene { /// Shape Class /// game objects class shape : public resource { public: int line; //...
3ecf0d8467cba607c9302858172b26417db98691
5728c8860cd694743ccb5ca8515cbcf7dbe97ada
/src/connection_pool.cpp
f313b4fa1f9d65aa7830cdc700305532ec6dc19c
[]
no_license
BoxuanXu/Leano
2f576c14fec489936e5c14d4f0d296e846729224
571ef29d8d613868894be7d1ca89eec97d1edc59
refs/heads/master
2020-03-11T07:19:09.587054
2018-07-04T09:40:08
2018-07-04T09:40:08
129,853,377
0
0
null
null
null
null
UTF-8
C++
false
false
4,152
cpp
connection_pool.cpp
/*================================================================ * Copyright (C) 2018 . All rights reserved. * * 文件名称:te.h * 创 建 者: xuboxuan * 创建日期:2018年03月29日 * 描 述: * ================================================================*/ #include "include/connection_pool.h" #include <stdio.h> #include <e...
c4e941afb347e7959203480104ab228ae4ca7dbe
971aa16cc48bdd1be6d7fa14bdd22dc7fec644c3
/file_handling.cpp
7a3bdd36ca013a02cd011811b27cbb695999dae3
[]
no_license
Kush22/Text-Editor
b1c64f13508f442176e18e0215adc4bb8c237dbe
ef1ac1efd38bbebea9aefecf4e94023aa06e1925
refs/heads/master
2021-01-19T14:00:20.267295
2018-02-19T18:06:36
2018-02-19T18:06:36
100,874,541
1
1
null
null
null
null
UTF-8
C++
false
false
1,638
cpp
file_handling.cpp
/** * Code By: Kushagra Gupta * Roll Number: 20172079 * Subject: M17CSE531: Operating System- Assignment Sumbission **/ #ifndef FILE_HANDLING_H #define FILE_HANDLING_H #include "editorLibrary.h" #include <cmath> // list< string > backgroundFile; list< string > :: iterator it; //list< string > :: iterator terminal...
21ae859166ec30d94b8e0321ec5cd6aad11069de
7eb74893776632c04c729053369bec5b6bad73fd
/DFS/Sum_of_Nodes_with_Even-Valued_Grandparent.cpp
d7a927047f64e81da291b517fe796f976205223a
[]
no_license
Krish03na/Leetcode-solutions
ce5d2c6ad4367beebc23843ee62369895a181a80
80c5d6a9aafbabd9cf67db319941f6ba408b277f
refs/heads/main
2023-02-21T07:34:47.116741
2021-01-18T15:49:25
2021-01-18T15:49:25
324,298,775
1
0
null
null
null
null
UTF-8
C++
false
false
2,279
cpp
Sum_of_Nodes_with_Even-Valued_Grandparent.cpp
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : v...
c3b11e23cae791cb88367c15910306e5430a91a7
9abad0a571ca9967134c1c6d5741eb8572c1e135
/Node.cpp
3ebd14bbfa61d732ef03f337c39af173ee8355e6
[ "MIT" ]
permissive
sthairno/S3DNodeEditor
84bce60ab4892ccf4ef6cec6f8cceb1369216f1f
150a42f4687adb07e85c53c7cc707651502a9974
refs/heads/master
2023-01-04T11:05:18.275207
2020-10-26T03:26:28
2020-10-26T03:26:28
287,414,531
7
0
MIT
2020-10-26T03:26:29
2020-08-14T01:22:45
C++
UTF-8
C++
false
false
12,255
cpp
Node.cpp
#include "Node.hpp" Triangle EquilateralTriangle(const Vec2& center, const double& r, const double& theta) { return Triangle(Circular(r, theta), Circular(r, theta + 120_deg), Circular(r, theta + 240_deg)) .setCentroid(center); } void NodeEditor::Node::calcSize(const Config& cfg) { m_size.y = Max(m_inputSockets.si...
d51f2ca8844dfd674f0066e04c1a18918c9c61b0
3d3be59222796e8bbedc160c1f1595b245bde002
/OpenGl7/OpenGL/OpenGL/material.cpp
ed24b1b88385c81334860696e976a37b4605efce
[ "MIT" ]
permissive
coconutjim/hseb4-compgraph
77fc8a04345f32e840f5bd19bebdeef7cd0f20c0
2d4d883873b3589d7dceeef3597eda185c368ef2
refs/heads/master
2022-07-22T03:29:37.325022
2022-07-14T19:34:28
2022-07-14T19:34:28
234,436,864
1
0
null
null
null
null
WINDOWS-1251
C++
false
false
1,874
cpp
material.cpp
/* Осипов Лев Игоревич Проект 18. OpenGL7 Visual Studio 2013 20.03.2016 Сделано: 1) на сцену добавлены объекты - дом, сундук и 3 Дедпула 2) у всех объектов можно посмотреть нормали 3) кроме существующей системы частиц, добавлено еще 3 дополнительных системы (под Дедпулами). Они имеют разные параметры, средняя имитирует...
41497514c3084421eafbcc205a8a1e81c4de6b7e
749a2467fafe4ff353af2eafcc3aa77e8fc3ada7
/test/editor_test.cpp
e65baf7b12071f21c4e2229a1f3375014df42bec
[ "MIT" ]
permissive
BehaviorTree/Groot
81456eb2bf99e20e2fe58e70d1fb05b5ec5fa340
f7fac396eaf84efa8eab8a91f335e343ec8ce25f
refs/heads/master
2023-07-13T14:24:09.650749
2023-06-09T15:37:28
2023-06-09T15:37:28
137,749,316
642
233
null
2023-06-09T15:37:29
2018-06-18T12:31:25
C++
UTF-8
C++
false
false
20,032
cpp
editor_test.cpp
#include "groot_test_base.h" #include "bt_editor/sidepanel_editor.h" #include <QAction> #include <QLineEdit> class EditorTest : public GrootTestBase { Q_OBJECT public: EditorTest() {} ~EditorTest() {} private slots: void initTestCase(); void cleanupTestCase(); void renameTabs(); void load...
279a2f7b32b8ff446cd2f48faa1e6fd48de3aa4d
81361fbb260f3a43f2dfd05474c1bb06c5160d9c
/Codeforces/Accepted/443A.cpp
fc3be53425542bcc9c04acf86ec5e24296c134bf
[]
no_license
enamcse/ACM-Programming-Codes
9307a22aafb0be6d8f64920e46144f2f813c493a
70b57c35ec551eae6322959857b3ac37bcf615fa
refs/heads/master
2022-10-09T19:35:54.894241
2022-09-30T01:26:24
2022-09-30T01:26:24
33,211,745
3
2
null
null
null
null
UTF-8
C++
false
false
1,305
cpp
443A.cpp
//#include <bits/stdc++.h> //#define _ ios_base::sync_with_stdio(0);cin.tie(0); #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <cstdlib> #include <queue> #include <vector> #include <algorithm> #include <cctype> #include <fstream> #include <map> #include <list> #include <set> #include...
6351cf3671521fcbe60a68b91e06abc44223b8f0
5f5671acf1e7df46767888e040702fe4e438bb8e
/c_bootcamp/day02/ex04/Fixed.class.hpp
b2af87862fb4f8c1b191ca2894333f1ae8af8f60
[]
no_license
charlmoller/wethinkcode_
1057c5ca29426cf4be0b0babaf5dc0cfea216abb
4e53a0c76e4fdfc0fcc11d3820fed0cf4fb8b888
refs/heads/master
2022-12-22T12:02:27.256368
2021-08-23T13:50:03
2021-08-23T13:50:03
241,535,644
0
0
null
2022-12-10T18:44:25
2020-02-19T04:51:41
C
UTF-8
C++
false
false
1,717
hpp
Fixed.class.hpp
#ifndef FIXED_CLASS_HPP #define FIXED_CLASS_HPP #include <iostream> #include <ostream> #include <cmath> class Fixed { private: static const int bits; int val; public: int getRawBits( void ) const; void setRawBits( int const raw ); float toFloat( void ) const; int toInt( void ) const; F...
895d4190d8d319ab2a5389dbffab45d29216f9a7
996d44fce3dd398731edef6479bfd4f88e348fb9
/src/stereo_sensors/StereoSensor.h
e0019fa92f29222574a98a5752d0a525a12bf153
[]
no_license
vislab-tecnico-lisboa/foveated_stereo
43c5b9769180004578bfe75947044928c2a8a5a6
4b67f44c8d3ae6afa58a3e474059a53f2a646c8f
refs/heads/master
2020-05-29T20:44:39.067830
2018-08-31T12:21:12
2018-08-31T12:21:12
33,475,520
1
0
null
null
null
null
UTF-8
C++
false
false
2,576
h
StereoSensor.h
#ifndef STEREOSENSOR_H #define STEREOSENSOR_H #include "UnscentedTransform.h" #include "StereoData.h" #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> class StereoSensor : public UnscentedTransform<cv::Mat> { protected: std::vector<cv::Mat> diff; virtual void computeSigmaPoints() = 0;...
981e109aa22d9151908ca5891123dac7627494c0
d93e260d834948d99db86e8c3c97e5f298d8a071
/src/Engine/GameFramework/Private/ECS/System.cpp
ba000e864f9aedf3d58dcc3b998b1a43103e552c
[]
no_license
matthiascy/MoteurDeJeux
f8a77428afc29e7fd5d699ae16f44b90a3c83307
f610862a5bba08e8b6279d6de3eba1ae1e83597d
refs/heads/master
2020-09-06T06:06:49.793016
2020-01-14T02:36:28
2020-01-14T02:36:28
220,345,046
2
0
null
null
null
null
UTF-8
C++
false
false
163
cpp
System.cpp
#include <GameFramework/Public/ECS/System.hpp> System::System(const String& name, Engine* engine, Object* parent) : Object(name, parent), m_engine{engine} { }
a8060558c0bfbc8753794a4786862ad81e329e51
d2aac593538c407c7d54b2efbdf1008b1ccbc6c3
/Practice02/2.9.cpp
7709588a87bcf0df3dedf76a31beb3685c4c8a4e
[]
no_license
kunghua999/CS31
afd867cdd14859f75a7571fb4dd95612b8ddc82b
cfc50dfd4250a717e55e8963def5f0e5a5821ac1
refs/heads/master
2021-05-01T23:35:34.020272
2016-12-31T17:45:39
2016-12-31T17:45:39
77,750,556
0
0
null
null
null
null
UTF-8
C++
false
false
202
cpp
2.9.cpp
#include <iostream> using namespace std; int main() { int x = 100; if (x < 6666) if (x < 5555) if (x < 4444) if (x < 2222) cout << "x < 2222" << endl; else cout << "x = 100" << endl; }
16c137efeff905121b6a7d5b0ff642c9ad1e2b4a
ed00331bc4bd59ac815559062324022c0a1dac61
/src/stdafx.h
7f9cdb10cda38b425728f8676b7a3c40fe4376f8
[]
no_license
EvGamer/Blaster-Master-Remake
c5b000fe5fd207a8a765440ea857badfbf8775c1
fb996327023ed7cca94077bdef624e6e2c01eda1
refs/heads/master
2022-03-13T10:49:36.278054
2022-01-25T20:55:38
2022-01-25T20:55:38
95,442,290
2
0
null
2022-01-25T20:55:39
2017-06-26T12:05:39
C++
UTF-8
C++
false
false
117
h
stdafx.h
#include <math.h> #include <algorithm> #define SUPPORT_FILEFORMAT_TGA 1 #include <raylib.h> #include <string>
c88b708bf95cdbca7bb3164b4567586bb930f8b8
51a6ade65cf47e4df4b292d801d4e26adcc5fc10
/02-3-debug.cpp
1ef73aa893821569b87fb2ba7d592fbfc71bc35c
[]
no_license
yuhaim/PTA
108dfd3c958ed91966497b8186b07f17166e8a06
8dffbd6f24a33e5ae8f1c609f850b2c745c4a347
refs/heads/master
2020-03-29T20:09:08.781914
2019-02-26T01:50:07
2019-02-26T01:50:07
150,298,095
0
0
null
null
null
null
UTF-8
C++
false
false
1,966
cpp
02-3-debug.cpp
#include <iostream> #include <vector> using namespace std; struct Node{ int data; int next; }; struct Node mem_space[100001]; int reverse_list(int start_addr, int K) { int curr_addr, prev_addr; prev_addr = -1; curr_addr = start_addr; int count = 0; while(count < K){ int temp = me...
185dcb90b286fade31a8d9695f3147eeb11c3752
ba87cc146b2ea6b705a675460ab3c6a70909e325
/Contests/Semana 5/Problema A - Verificação no Vetor 01.cpp
73e20ee597ccafa4f051799d849cef9e97fa5b63
[]
no_license
RoberttyFreitas/Grupo-OBI-2020
3437d820e05aad529a29bda6b611d121c4ec9d66
71fee8c05adfd96df2787713a7072c079b5ab983
refs/heads/master
2022-10-19T17:44:53.339423
2020-06-11T17:08:59
2020-06-11T17:08:59
256,434,549
2
0
null
null
null
null
UTF-8
C++
false
false
441
cpp
Problema A - Verificação no Vetor 01.cpp
#include <bits/stdc++.h> using namespace std; bool busca(vector<int> v, int x){ for(int i = 0; i < (int) v.size(); i++){ if(v[i] == x){ return true; } } return false; } int main(){ int N, Q, aux; vector<int> v; cin >> N; while(N--){ cin >> aux; v.push_back(aux); } cin >> Q; while(Q--...
40d917911c87dfc5adfe634c4aa22ce4d9880191
f4167b3b4f5977748edd41b3d1c267cc25be7c54
/Hard/052_N-QueensII.cpp
bdf55175c5878c0304b3c6ee963f801d562a0ce4
[]
no_license
DeanChensj/LeetCode
a5b2315ad10e25ba47bdec211bd5ab3c097a8514
fe85957cd2fef592bed052534d251dc9a2d2a0b1
refs/heads/master
2021-01-10T18:02:50.531671
2016-05-13T06:22:20
2016-05-13T06:22:20
49,619,720
1
0
null
null
null
null
UTF-8
C++
false
false
874
cpp
052_N-QueensII.cpp
#include <iostream> #include <vector> #include <string> using namespace std; bool judger(int n, int pt, int *table){ for (int i = 0; i < pt; ++i) { if (table[i] == table[pt] || (table[i] + pt == table[pt] + i) \ || (table[i] - pt == table[pt] - i)) { return false; } } return true; } void nQueensHelper(in...
dcf3ae40ab0a1cff655bb2d6fe0f92b8d151eabf
c9a688bdc5007daa871cfe8232679469ebc87586
/Collision Detection/Point.cpp
590d6217bd802c45853015d6dfdbbbe74a90963c
[]
no_license
aeoncleanse/C-Practice
5dc97aa0d2ab02685aa4bb4517b843472eda5160
f6a557c216b6feb64602e31a56b38bddea39f9bd
refs/heads/master
2021-04-12T11:47:37.139945
2018-10-27T12:45:15
2018-10-27T12:47:10
126,243,690
0
0
null
null
null
null
UTF-8
C++
false
false
239
cpp
Point.cpp
// Point struct implementation #include "Point.h" // I'm hoping this setup means you can't get a Point without it having x and y set. We don't want that! template <typename IntDouble> Point<IntDouble>::Point(IntDouble x, IntDouble y) {}
4219a72dcd5c8e03e38f5a45d75f80bb7d43ee44
7180fa14129eff079ee0201fa5127bff7d7c3352
/n_queen/queen.cpp
0392584c63caf8e97018c88a8782c7b72638bdcd
[]
no_license
Ckins/c-sicily
8943d2840426031bdbd3377a5f4cde6291fec9c6
1cc43423d6f2c3ff119dd66f71ad2beac62eac1c
refs/heads/master
2021-01-22T08:59:33.696231
2017-05-15T00:42:02
2017-05-15T00:42:02
42,938,937
1
0
null
null
null
null
UTF-8
C++
false
false
2,697
cpp
queen.cpp
#include <iostream> #include <vector> #include <cstdlib> using namespace std; bool chessboard[100][100]; class queen { public: queen(int r, int c) { row = r; col = c; } int row; int col; }; vector<queen> queenStack; bool isValid(queen* chess, int n); void display(int n); int m...
f33b47bda5c64f7855509f1d1a2794eb0dd27b29
7217b6e38f465f3109365038ea955b1ca09f0533
/cs174projectCleanup/GrenadeEntity.h
bcb2fbe0719aa03a3dda0b08839be6fb836130b6
[]
no_license
elixiroflife4u/cs174a_term_project
76d1a679c62a322a256433f67728a2045e3c22e9
6a1e8dc2e35f10d12eaabbd40a28182d8d8fbdf9
refs/heads/master
2020-04-06T04:02:14.653151
2017-08-04T21:39:37
2017-08-04T21:39:37
2,672,693
2
17
null
null
null
null
UTF-8
C++
false
false
1,927
h
GrenadeEntity.h
#ifndef _GRENADEBULLET #define _GRENADEBULLET #include "BulletEntity.h" /** @brief The grenade arcs when shot into the world * with an initial velocity and creates and explosion * when it collides with another solid game entity * If possible, a light is attached to the grenade on creation * */ class Gre...
ea0bb62ee9c9116906810e4e13d06e1e9e69fbfa
31e144bfe008ce67db00d01777012c3a8153990e
/537/537.cpp
3e0944e253c2bab45deb8f96dd173f6061eaa107
[]
no_license
reliveinfire/codes
0d285dd002bfef5732182144be19681dd22091e2
69750ebf708bcbf8ac7723c19f5370793cf8f95b
refs/heads/master
2021-01-15T18:27:23.743076
2018-05-07T09:33:51
2018-05-07T09:33:51
99,788,745
1
0
null
null
null
null
UTF-8
C++
false
false
1,632
cpp
537.cpp
#include <iostream> #include <string> #include <map> #include <vector> #include <limits.h> #include <queue> #include <stack> #include <sstream> #include <algorithm> using namespace std; class compNum{ public: int rr; int ii; compNum(int r,int i){rr = r;ii = i;} compNum(){} }; class Solution { public: string com...
ad06e9e72a19e57eba58c64cbdae85962c60226f
0405175b6d79bde7dcdf276f4a1036c587e41a9a
/src/image/DepthImage.cpp
012fb2e78e5389004744b4834451bed4bcb4f119
[]
no_license
stasgora/vulkan-test
307c9837be9357d1e738a31d5918e1ddcdfd6735
3743d7a40e1b6f8c623e38308b2a680f5ec5b59d
refs/heads/master
2021-08-04T19:12:00.038477
2020-10-21T18:03:53
2020-10-21T18:03:53
227,712,856
0
0
null
null
null
null
UTF-8
C++
false
false
1,690
cpp
DepthImage.cpp
#include "DepthImage.h" #include "ImageUtils.h" void vkr::DepthImage::createDepthResources(const vk::Extent2D &extent) { auto depthFormat = findDepthFormat(deviceManager); ImageUtils::createImage(deviceManager, extent.width, extent.height, depthFormat, vk::ImageTiling::eOptimal, vk::ImageUsa...
e8acccea59d989663f158a29544ab17f103aade3
c4edaf97a432d8c6a58465098ec3fab301e4e9c1
/finalProject3/src/Cow.h
49d3e6dd8f4325a84cc42af0e1677c2526531fef
[]
no_license
elenaleegold/golde584_dtOF_2018
9fe333f40704c7ecc4c4cc54b3185838cf275246
5fd312dd390f78ef2492851c5af77b29e773150b
refs/heads/master
2020-03-27T14:26:28.690870
2018-12-11T23:40:18
2018-12-11T23:40:18
146,662,618
0
0
null
null
null
null
UTF-8
C++
false
false
643
h
Cow.h
#pragma once #include "ofMain.h" class Cow : public ofBaseApp { public: Cow(); Cow(glm::vec2 _pos, glm::vec2 _vel, glm::vec2 _acc, float _radius); Cow(glm::vec2 _pos, glm::vec2 vel, glm::vec2 acc); Cow(glm::vec2 _pos, glm::vec2 vel, glm::vec2 acc, float radius, string s); glm::vec2 pos, vel, acc; float radius...
2ec91f7d03e8709f25eb5df72ce297d964fa1a7f
d593ed41ea7210aece5bf1028ad3561407b2a86e
/SteelEngine/src/Resource.cpp
584bc8ea71f897f837cd712c4e18709996795c5b
[]
no_license
shektek/Lords
e56969b1811dc4e998347a61d13b0426468407a1
de43fecc692714fa7d0749a02b862ac59c07a640
refs/heads/master
2020-04-16T09:59:21.991760
2019-07-15T17:30:06
2019-07-15T17:30:06
165,484,884
1
0
null
null
null
null
UTF-8
C++
false
false
2,229
cpp
Resource.cpp
#include "Resource.h" Resource::Resource() { m_name = "Unknown resource"; m_location = Vector2d(0, 0); m_maxOutputTons = 0; m_efficiency = 0; m_operational = false; m_resourceType = R_NONE; m_seasonalOutput = 0; m_stockpileLoad = 0; m_stockpileMax = 0; } Resource::Resource(ResourceType type, const std::strin...
23b7fb49c676e1dd840a9907a39ee83e9d4ce8a7
6a8124ccd759c17840835009406e10d3211ded9b
/hw04.cpp
801c9a4b946ad4ffc75757e61116c781378b359a
[]
no_license
drenchedcoat/oop
62d94bde83471ff53d8e1d1b3c223942e743e574
924fb98442930406a753febcd32fc5246136c159
refs/heads/master
2021-10-23T21:03:29.254543
2019-03-20T01:31:19
2019-03-20T01:31:19
105,950,583
0
0
null
null
null
null
UTF-8
C++
false
false
5,332
cpp
hw04.cpp
#include <iostream> #include <vector> #include <fstream> #include <string> using namespace std; //--------------WARRIOR CLASS---------------- class Warrior{ private: string name; int hp; bool stat = false; // true= is hired, false= is fired/nobleless public: //constructor Warrior (c...
f60b0d5f7d9fdbff9afd448065aaafd761327c3a
b521373d832b678486c81fe37cc056c67022ff54
/ch15/accessible1.cc
a1dc472cc2a5252e153446f46a6d301ba70f906c
[]
no_license
Itsposs/cppprimer
097ea428efeceefc2d2865b5b1880b5837e750fa
a056dd77e448268909b87bf47cb0c00452255fac
refs/heads/master
2020-04-29T14:33:17.645754
2020-03-15T06:48:34
2020-03-15T06:48:34
176,199,869
1
0
null
null
null
null
UTF-8
C++
false
false
507
cc
accessible1.cc
#include <iostream> class Base { public: private: protected: int port_mem; }; class Sneaky : public Base { friend void clobber(Sneaky&); friend void clobber(Base&); public: // test void print() { port_mem = 6; std::cout << port_mem << std::endl;} private: int j; }; void clobber(Sneaky &s) { s.j = ...
b9c196e171a6f587bff9825564592d1d6e00977b
87b61b564f285858fcda8b50b892c2183bd23d51
/client/locale/text_utils.h
49eb95036f40485f0f4acd7dd17371db6f320900
[ "Apache-2.0" ]
permissive
randyli/google-input-tools
e1da92fed47c23cf7b8e2ff63aee90c89e1f0347
daa9806724dc6dc3915dbd9d6e3daad4e579bf72
refs/heads/master
2021-05-18T13:00:21.892514
2020-04-11T13:26:33
2020-04-11T13:26:33
251,252,155
0
0
Apache-2.0
2020-03-30T08:58:26
2020-03-30T08:58:26
null
UTF-8
C++
false
false
3,665
h
text_utils.h
/* Copyright 2014 Google Inc. 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 writing,...
35bb4f1a96bbb25b02e4be93a358b88e728a7ba0
8303918c54dcb35dbece6ed3f8e14c644646230f
/xyzfiles/gen_kgrid.cpp
d83b36ef833887ff7fbace75a43c14dd9c16effc
[]
no_license
GroupProgrammingProject/GPP
2c1ad882ded7de55f9a643b334138ca1c973dcc6
6183a054b989925545847bf27019a76a1500e64f
refs/heads/master
2016-09-10T19:45:17.274598
2015-03-27T20:55:39
2015-03-27T20:55:39
29,697,760
0
0
null
null
null
null
UTF-8
C++
false
false
1,408
cpp
gen_kgrid.cpp
#include <iostream> #include <vector> #include <cmath> #include <stdlib.h> #include "../include/readinxyz.h" #include "../include/kpointsfunctions.h" // Main for generating an orthorhombic grid of kpoints // Takes "input.xyz output.kpts A B C" where input.xyz is a structure file, output.kpts is a file to hold a set of...
4306235e4e1da9c0851b6607e6ec938730c8596f
39dd6f17e57ce695c6313ec3e9b4717e4cdb3273
/Server/Source/ServerService.cpp
d6f7c99af2a5973bac7a3a993656fddd559478a2
[]
no_license
qqsskk/HPSocketDemo
9474cf177ad6f1781a26762dfdc585f4f8cc8f0d
9d2b5520e078c7b9464747642a78043150223ccc
refs/heads/main
2023-07-11T18:08:31.740182
2021-08-05T14:33:55
2021-08-05T14:33:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,369
cpp
ServerService.cpp
// // Created by lixiaoqing on 2021/7/17. // #include <memory> #include <mutex> #include "ServerService.h" #include "ServerListener.h" #include "Log.h" #define TAG "ServerService" static IServerService *serverSingleton = nullptr; static std::mutex singletonMutex; IServerService *IServerService::getSingleton() { ...
4f310055fa361a099b8489f7080a2325fa557f8a
dd2f2a927dc62569773042aed78104a500c8e7fb
/easy/climbing_stairs.cpp
5ffd38a3dbd39c41540025c12c76738ad68b4fea
[]
no_license
zhuangqh/Leetcode
7548732c31522ec5736e37ebdbdf26bfd1e9f25b
7e78620980f850b3d24bbe4c61294425d783471c
refs/heads/master
2020-12-24T08:56:39.345621
2016-08-30T16:28:25
2016-08-30T16:28:25
34,942,578
0
0
null
null
null
null
UTF-8
C++
false
false
363
cpp
climbing_stairs.cpp
#include <iostream> #include <vector> class Solution { public: int climbStairs(int n) { std::vector<int> store(n + 1); store[1] = 1; store[2] = 2; for (int i = 3; i <= n; ++i) { store[i] = store[i - 1] + store[i - 2]; } return store[n]; } }; int main() { Solution a; std::cout << a....
c17b9e039765faca9fe9fe0007f24a09415cfdda
c1071a4ab992a322cb3c9d933ab27274da23a317
/Classes/GameScene/GameCtrlLayer.h
acac32de88ac4de8c95569903f6fc31ddd132d79
[]
no_license
thibetabc/TetrisAI
07db3a8b6c3b64f80c3d093526feaef960deef4a
6b19d2a671f8993abd1c77e8f9c5fb1b8aecd95f
refs/heads/master
2020-04-03T15:07:50.462463
2016-06-11T16:20:47
2016-06-11T16:20:47
60,915,637
0
0
null
null
null
null
UTF-8
C++
false
false
1,293
h
GameCtrlLayer.h
// // GameCtrlLayer.h // AITetris // // Created by yangjh on 15/4/28. // // #ifndef __AITetris__GameCtrlLayer__ #define __AITetris__GameCtrlLayer__ #include <stdio.h> USING_NS_CC; class GameCtrlLayerDelegate { public: virtual void gameCtrlLayerClickStartGame() = 0; virtual void gameCtrlLayerStartAI(bool ...
8d19df9c025e8740d1575de8918f294cc06a7a67
c83f1f84d00b9fa2640a362e59c4322d6e268116
/use a cabeça/Composed_Patterns/Composed_Patterns/src/abstract/Quackable.h
25594f478ecfb5670dea33810e6488a15be55177
[ "MIT" ]
permissive
alissonads/Design-Patterns-cplusplus
9a2936fa7d3cd95c6816e44511eac132e10e96be
0e56fbc0c1877b9edf2ad5efafbb9a01fa94d748
refs/heads/master
2020-06-28T01:06:45.933658
2019-08-01T18:39:55
2019-08-01T18:39:55
200,101,824
0
0
null
null
null
null
UTF-8
C++
false
false
286
h
Quackable.h
#pragma once #include "QuackObservable.h" class Quackable : public QuackObservable { public: virtual ~Quackable() {} virtual void quack() = 0; virtual void registerObserver(Observer *observer) = 0; virtual void notifyObservers() = 0; virtual std::string getName() const = 0; };
c6d9b627cf4d3cca8e995570ed88e4ba2f18fe01
c14e12e003166834d3e5b38825fa4a2c6dd118f5
/LGBITFLD.CPP
92b49e776033afebb107616178eca32fd2730c4d
[]
no_license
hindochan/Internet-Payment-Gateway
ec36733675d66f28a6153f83cd20d37031d3da9a
3a187606a8763620f1bfc04fb5d6153a9b11fe7c
refs/heads/main
2023-08-21T12:03:16.693186
2021-10-11T23:04:35
2021-10-11T23:04:35
416,111,208
0
0
null
null
null
null
UTF-8
C++
false
false
3,759
cpp
LGBITFLD.CPP
/*********************************************************************** * LAG - Source file header * * Layer: * Module: * $Logfile: $ * Originator: Adam Hawley * $Revision: $ * on $Date: $ * by $Author: $ * * Synops...
236bfdfd219c1fe703080205b9b01bcdd6968597
45e8cfc4cc57f2011dabe588c2db61a7d55b4eb5
/bai1_pg1.cpp
f6456dff493dc61f65bd7bcb8101079265d80087
[]
no_license
0xj4m35/C-Fundamental
27b7a2e4af5c6c36a55d470ce407aeab1c012d02
74233fc8221507f6423a2ce7f9c52828576834e4
refs/heads/master
2023-05-11T20:32:48.979471
2018-07-11T17:27:42
2018-07-11T17:27:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
332
cpp
bai1_pg1.cpp
#include <stdio.h> #include <math.h> int main(){ float a,b,c; float p, s; printf("Enter a,b,c : "); scanf("%f%f%f", &a, &b, &c); if (a+b > c && a+c > b && b+c > a) { p = (a+b+c)/2; s=sqrt(p*(p-a)*(p-b)*(p-c)); printf("This is a triangle with square = %.2f", s); } else printf("This isn't a triangle."); ...
7c4ecd06c3aaa2eca2191b5356d9aef2d33d81fc
a6bb89b2ff6c1fc8c45a4f105ef528416100a360
/examples/tut6/mipmap/texture.h
8685156f4658d5996640a1e979d09e0f2efb7dce
[]
no_license
dudochkin-victor/ngxe
2c03717c45431b5a88a7ca4f3a70a2f23695cd63
34687494bcbb4a9ce8cf0a7327a7296bfa95e68a
refs/heads/master
2016-09-06T02:28:20.233312
2013-01-05T19:59:28
2013-01-05T19:59:28
7,311,793
0
1
null
null
null
null
UTF-8
C++
false
false
415
h
texture.h
#ifndef TEXTURE_HH #define TEXTURE_HH #include <GL/gl.h> /* * A very basic texture handling class */ typedef class GLTextureclass{ public: GLTextureclass(); ~GLTextureclass(); int Load(const char* filename); void Activate() {glBindTexture(GL_TEXTURE_2D,texture);} //other options void SetWrap(GLint ...
a21995f7f8be21b6fc245bec8a09dfe99557944c
aa1f91633d9b000d3d546e8a257f8bf4c8ff57b7
/src/videoserver.cpp
b3be6628c420cbd26a51f7a657151e7cbba31e5f
[]
no_license
NASAKnights/deepspace-vision
54ad03614897fda89d3f665844374122a17f68f5
d78267936029e64db96320b0912d2782912571d7
refs/heads/master
2020-08-12T20:12:27.881092
2020-02-18T01:48:25
2020-02-18T01:48:25
214,832,654
0
0
null
null
null
null
UTF-8
C++
false
false
1,664
cpp
videoserver.cpp
//#include "tcplib.h" #include "tcp_thread.h" #include <stdio.h> #include <netdb.h> #include <netinet/in.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <sys/types.h> #include <unistd.h> extern int remoteSocket; extern int videoPort; extern int videoError; void *videoServer(void *ar...
348d9d791262ad93fd8308542fa9a73d5d0c44c7
798a7aa9b1476efddbf948f442b60b1334a4b98c
/visiblepq.cc
44c4aae67d37c6ded8555b94a71386f4b1fff9d7
[]
no_license
rivercheng/meshStreaming
75b26ba9abc709dcf62404286b193f77f1475921
a764c45f42368e18edff1caaaa200a5199b508af
refs/heads/master
2021-01-22T04:36:37.588905
2009-09-02T04:12:26
2009-09-02T04:12:26
298,125
2
0
null
null
null
null
UTF-8
C++
false
false
4,130
cc
visiblepq.cc
#include "vertexid.hh" #include "visiblepq.hh" #include "Poco/RunnableAdapter.h" #include "Poco/Mutex.h" VisiblePQ::VisiblePQ(Ppmesh* ppmesh, Gfmesh* gfmesh) :toContinue_(true), isStrict_(true), \ pixels_(0), size_(0) //ppmesh_(ppmesh), gfmesh_(gfmesh) { in_queue_ = new PQ(); out_queue_ = new ...
694784c0ca0b66d375b312538d66b92ee735e76e
d99077f33df72416148c99873284309112c6e190
/LaAbuelaContraatacaFINAL/src/MurcielagoPequeño.h
b711054b1edfb66dc1078de17d4877037f477195
[]
no_license
raulherranzrodriguez/Gamedog
67d45dbf6b54bd276b50552482b00eea21df9938
e7e93510f3fff7770006a9c3587fd89ea8149c2a
refs/heads/main
2023-04-16T22:14:25.760935
2021-05-17T15:30:11
2021-05-17T15:30:11
363,188,266
0
0
null
2021-04-30T15:48:41
2021-04-30T15:48:40
null
ISO-8859-1
C++
false
false
136
h
MurcielagoPequeño.h
#pragma once #include "Enemigo.h" class MurcielagoPequeño: public Enemigo { public: MurcielagoPequeño(); void volar(); };
6139b941f17feccf3811d1ee8448d4b026ae758d
c2d71f768b82d2da113f7a1699400ffb0f80eeaa
/translate2ds/directory.h
d30ed96561475459f496e6e78652db6ab0b00819
[ "Apache-2.0" ]
permissive
NCAR/aircraft_oap
edc923be650adce7d14fd99ba443f0d064665b0c
ef39b97046aab15c6757e4f4a5c7dee55c4471cb
refs/heads/master
2023-09-03T15:18:50.751797
2023-08-19T21:31:39
2023-08-19T21:31:39
86,385,871
1
2
null
2022-03-21T15:47:23
2017-03-27T21:31:14
C++
UTF-8
C++
false
false
1,078
h
directory.h
#pragma once #include <sys/stat.h> #include <ftw.h> #include "log.h" namespace sp { void MakeDirectory(const std::string& name) { #ifdef _WIN32 std::string n = "mkdir " + name; int result = system(n.c_str()); #else int result = mkdir(name.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH); #endif if (result < ...
4af782ab5398f2e8d4620348056ebb15257eeae3
4d25f97358a9d394c50d2969ac2b3525023ed12a
/rwmutex/rwmutex_sol.cpp
364d0e2b680f24416aff85d9ca07c1a9b8a30aa9
[]
no_license
robryk/www10
11b092b45ed5f77686ec2812cd31b533d8dc96f6
af9d4ac9566e15a6b5c6f48496d4ef1eea5b9d3b
refs/heads/master
2016-09-06T00:26:52.219202
2014-08-21T07:57:53
2014-08-21T07:57:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,992
cpp
rwmutex_sol.cpp
#include <thread> #include <mutex> #include <iostream> #include "bench.h" #include <cassert> #include <semaphore.h> using namespace std; constexpr int writer = 1<<20; sem_t w_mutex; sem_t r_sema; sem_t w_sema; atomic<int> count; atomic<int> readers_remaining; void init() { assert(sem_init(&w_mutex, 0, 1) == 0); a...
23d0f8f9f395a56c4a674acc240564b21548c725
daeb47bfd7b8db78fb60914fcc31c13b641df46d
/openbr/plugins/cuda/cudal2.cpp
18231f8631ba61e6f2d18b30600903396ccee18b
[ "Apache-2.0" ]
permissive
biometrics/openbr
a3a8d2f2302efce22a7310fe54d91ef1e2fc3fca
14279e43f9d196eb07def550067a4d0a222c0219
refs/heads/master
2023-08-28T18:26:23.021105
2023-08-24T19:41:37
2023-08-24T19:41:37
7,251,195
1,974
736
NOASSERTION
2023-08-24T19:41:38
2012-12-20T02:52:37
C++
UTF-8
C++
false
false
2,174
cpp
cudal2.cpp
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright 2016 Colin Heinzmann * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * y...
5a55c573da66adee7342a9880656660eea24777c
4409388e421519dbd46fed6ab63b10a1e4fcc0f2
/ov/IR/VisitorSimC.h
b26c74b5b128734ea465db6766c7d5c7d2a6c826
[]
no_license
alvinox/myOV
d477b7edd0fa4576de3c149ce35704cd34ff5bc6
aa2f25343a68290495fb00e9265ade8dbc5414bc
refs/heads/main
2023-02-17T21:19:53.277181
2020-12-30T07:05:32
2020-12-30T07:05:32
318,104,234
0
0
null
null
null
null
UTF-8
C++
false
false
670
h
VisitorSimC.h
#ifndef _VISITOR_SIM_C_H_ #define _VISITOR_SIM_C_H_ #include "Visitor.h" namespace ir { class VisitorSimC final : public Visitor { public: static void Pass(Module* module); public: VisitorSimC() : Visitor(SimulationC), lv(0) { } public: virtual void visit(Module* module) override; virtual void vi...
e1c0d44031364c3a8a86042a1715c6b720168374
c4796cf63bd2cf6211b9dcf954eca212376194d1
/code/isTree.cpp
085ec43a98cf053a3173655d4125e60b995b0e7a
[ "MIT" ]
permissive
MelihcanAkbulut/Graphs-Algortihms
bd390633ec5bd1562a349aa0e387a678b33a359c
064f54204e5dfb3d9d366317f28dfb74d0f44d60
refs/heads/main
2023-08-29T10:44:12.998572
2021-10-26T10:32:31
2021-10-26T10:32:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,804
cpp
isTree.cpp
#include <iostream> #include<set> using namespace std; int edgeCount = 0; int count1Degree = 0; int komsuluk_matrisi[20][20]; int visitedN[20][20]={false}; // Grafi kontrol icin sirasiyla kolaydan zor olan isleme dogru sirasiyla islem yapilmistir. // 1 - Kenar sayisi dugum sayisinin 1 eksigi kadardir. // 2 - Bir agac ...
cdbcce39342abe0f72ac6c4c8040dea9d693f74a
c7398d1186085873c93c034f42f126c82d21b7e5
/workshop7/Product.cpp
81a9ab5bd5a94c7202fe71d0533911e508abf8f4
[]
no_license
krn007/OOP345
3e08d50d523c387f7ba8d82230742f781b82e9de
fb0d285a62cebc41c910982e313723607ed58971
refs/heads/master
2020-03-25T00:50:39.098925
2018-08-01T21:09:51
2018-08-01T21:09:51
143,208,741
1
0
null
null
null
null
UTF-8
C++
false
false
963
cpp
Product.cpp
/* OOP345 Workshop 7 Name - Karan Shah Student_Id: 129965166 Date - 28th Decemeber 2017*/ #include <iomanip> #include "Product.h" #include "TaxableProduct.h" using namespace std; namespace w7 { iProduct* readProduct(ifstream& in) { int pn; double cost; char ts; in >> pn; if (in.fail()) return (iProduct...
4d47c1220235ed6bbd1f892ec8e43a1e59eab367
63da17d9c6876e26c699dc084734d46686a2cb9e
/inf-6-exercise/01/Homework_ArraySkeleton.cpp
c7889fa45477748283d91c624f208d5da521cf55
[]
no_license
semerdzhiev/oop-2020-21
0e069b1c09f61a3d5b240883cfe18f182e79bb04
b5285b9508285907045b5f3f042fc56c3ef34c26
refs/heads/main
2023-06-10T20:49:45.051924
2021-06-13T21:07:36
2021-06-13T21:07:36
338,046,214
18
17
null
2021-07-06T12:26:18
2021-02-11T14:06:18
C++
UTF-8
C++
false
false
2,717
cpp
Homework_ArraySkeleton.cpp
#include <cassert> #include <iostream> // dynamic array with a specified capacity and with certain number of elements (size) // please consider why the input argument for the array is of type int*&? // create a header file with the declarations of the functions, // move the definitions to a .cpp file // show how they...
454c001ac742a31c73c328ffa1cf5a035048a072
bdbbc611761582b173c08a2cae6a9a355feaee9a
/list_test1/test.cpp
830e67df08e5669a848c1431300cd95accbfd272
[]
no_license
lssxfy123/C-study
a79f043fab25d597c3bc19748600857e3ee3f9de
e88632838251dfb3947d2dd95423c66f409ee80e
refs/heads/master
2022-02-05T02:30:46.475740
2022-01-23T14:00:59
2022-01-23T14:00:59
41,584,370
0
0
null
null
null
null
MacCentralEurope
C++
false
false
540
cpp
test.cpp
// Copyright 2015. // author£ļŃűę|ę| // ◊‘∂®“ŚList»›∆ų #include <iostream> #include <list> using namespace std; #include "List.hpp" int main(int argc, char* argv[]) { List<int> list1; list1.push_back(1); list1.push_back(2); list1.push_back(3); int k = list1.back(); cout << k << endl; L...
f050f99998d05fa2377826ed7138cb682ad4d192
de99edf75d54e1a596bc1a8039299b9f03ba2513
/A/13/SSSP.cc
72b5e3f919185eedb042c5f11b447ad7b560df6f
[ "Unlicense" ]
permissive
Menci/DataStructureAndAlgorithms
a082b8a43638cd8fad6c55c617e6208c2f36111a
e5d773bd927e83f72dc0c1579e48469200f31620
refs/heads/master
2020-09-21T06:25:50.477619
2020-03-31T00:26:51
2020-03-31T00:26:51
224,709,080
0
1
null
null
null
null
UTF-8
C++
false
false
4,284
cc
SSSP.cc
#include <fstream> #include <iostream> #include <functional> #include <vector> #include <chrono> #include <limits> #include <queue> #include "FibonacciHeap.h" struct Node { size_t id; // adjacency list struct Edge *firstEdge = nullptr; // for common sssp int dist, distAnswer; // for dijkstra Fib...
fcbece1dac00a299add765761e243bbb3b918bf2
5dc8f9ad01ab7f82773a7cd3b2107b63d729a25a
/Linked Helper/linkedlist.cpp
c15b1bf5c19014fa286155d3a352be1a2af5cf53
[]
no_license
chp2001/Linked-Helper
e3de6b26d943687324cd5a92fbb5e0c5790715c1
9df64c252e16d8b8e8cbce77b2b3dfb79c8ea26b
refs/heads/master
2023-08-02T02:40:24.658191
2021-10-04T15:06:39
2021-10-04T15:06:39
412,565,651
0
0
null
null
null
null
UTF-8
C++
false
false
12,728
cpp
linkedlist.cpp
#include <iostream> #include <fstream> #include <sstream> #include <iomanip> #include <string> #include <cctype> using namespace std; #include <chrono> #include <ctime> class Node { public: string name; int data; Node* next; Node(string s); Node(int i); Node(); }; Node::Node(string s) { n...
2878a2ab17e5ae5a4440f3f9c54c4872c9fd4ec0
9ab6c262492e61cbde7e92511a4669f4eab34159
/Homework5Q1/Homework5Q1/Source.cpp
f3c8fefcd3a32f6116bd8935dadc25ff39ad6ee2
[]
no_license
YosefSchoen/IntroToProgramming
54087c19fc86ce12337fe75ebfb80fa25007beb3
58c032a0cf45d567dfaf913b68e9cd677c3f67e2
refs/heads/master
2020-07-30T20:45:01.923464
2019-09-23T12:44:05
2019-09-23T12:44:05
210,351,836
0
0
null
null
null
null
UTF-8
C++
false
false
950
cpp
Source.cpp
/* Homework 5 This program will tell you the area of a rectangle and a circle. Introduction to Computer Science. Question 1. Yosef Schoen 22/11/17 */ #include <iostream> using namespace std; // function for area of a rectangle int area(int x, int y) { return x * y; } // function for area of a circle float a...
ad09dbe88ed7cf162caaebebe734efbf634f697e
6b40e9dccf2edc767c44df3acd9b626fcd586b4d
/NT/inetsrv/iis/setup/urlscan/main.cpp
4871955e2e753fd5e73d9bc6520db31730562f52
[]
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
5,034
cpp
main.cpp
/*++ Copyright (c) 2001 Microsoft Corporation Module Name : updurls2.cpp Abstract: The main for the Project Author: Christopher Achille (cachille) Project: URLScan Update Revision History: March 2002: Created --*...
09be69a41a7417b7ec948ddf7b6ef720890032f3
5dc1b25bf593af2fc4e7d08174d807e5253c1e81
/PhoneBook/HumanInfo.cpp
e8a16d973853a34bb8b2be5ff3ea0d91e9cddbdc
[]
no_license
alexkikos/Cplus_Phone_Book_Class
0cad9b82ca1903c183cbcc3cd070423caf7b406a
9c6470676e07d0c5819dc2242159f3373603c0ea
refs/heads/master
2020-09-26T06:35:00.076575
2019-12-05T21:15:51
2019-12-05T21:15:51
226,190,375
0
0
null
null
null
null
UTF-8
C++
false
false
2,171
cpp
HumanInfo.cpp
#include "HumanInfo.h" bool HumanInfo::SetName(string name1) { if (name1.size() != 0 and name1.size() < 15) name = name1; else { cout << "\nWrong input"; return false; } return true; } bool HumanInfo::SetPtronymic(string name1) { if (name1.size() != 0 and name1.size() < 20) patronymic = ...
bb80a632c83a0910415d14c5271ff1612197d5de
d22d811448d72582959cb772b00f93802b09e77f
/cpp/exercise2.cpp
a0e3c6f593336fadfef350092b820d10c71b5f56
[]
no_license
gitmo/uni
2ef915d93d47a1d51747a384544c85c397da9985
008dc7e1d3df2bfbbe5564e4dff163d0285014aa
refs/heads/master
2021-01-22T04:33:41.304995
2011-10-14T11:49:32
2011-10-14T11:49:32
1,078,070
1
0
null
null
null
null
UTF-8
C++
false
false
968
cpp
exercise2.cpp
// // exercise2.cpp // C++ Course Exercises // // Created by gitmo on 11.10.11. // Copyright 2011 Team Awesome. All rights reserved. // #include <iostream> #include <cstring> #include "exercise2.h" char lower (char c) { if( 'A' <= c && c <= 'Z' ) return c + 'a' - 'A'; return c; } bool reverse (ch...
039502e7cc03ba65440dc9dede62e613e627ce51
3d0541f0aa9ba6322150f5aa4b293e3170470b36
/traceuint.h
3835032e300214458240b9d628988e7f7d90f0cb
[]
no_license
tomasvdw/tracebit
300479f32d704bef2d9778b7c859384ff71db4f5
2d41b758ad80f1a65519862bf12b813d8e159b6e
refs/heads/master
2020-04-02T07:58:12.469876
2016-06-19T16:13:46
2016-06-19T16:13:46
61,488,068
0
0
null
null
null
null
UTF-8
C++
false
false
5,229
h
traceuint.h
#ifndef TRACEBIT #define TRACEBIT #include <set> #include <iostream> class TraceBit; #define ZERO TraceBit() #define ONE TraceBit(0) #define MIN(x,y) ((x) < (y) ? (x) : (y)) #include "tracebit_mod2.h" //#include "tracebit_opcount.h" template<int N, typename T> class TraceUint; typedef TraceUint<8, unsigned cha...
18be151f8cd5c164f48427cca98fb0704dd4b648
b62f51e8ccc4a75ee20d879dc761d360301891c7
/meshes/rgbcube.cpp
12944e89272cb12fff4189dd01975764662f71d1
[]
no_license
mistler/opengl
5b5042a16f4f627d0ee9bc7fec216e1d92f9cf0b
5fb1120b213d310105200960d1311ee5398a16c7
refs/heads/master
2016-09-06T06:10:18.973453
2015-12-06T13:32:21
2015-12-06T13:32:21
42,841,431
0
0
null
null
null
null
UTF-8
C++
false
false
1,080
cpp
rgbcube.cpp
#include "meshes/rgbcube.h" RgbCube::RgbCube(): Mesh(){ cubeVertexArray = new GLfloat[24]{0.0, 0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0, 1.0, 0.0, 0.0}; cubeC...