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
0ded880035dc8003f60319fe759d813acf6ef65e
e1700081b3e9fa1c74e6dd903da767a3fdeca7f5
/libs/guicore/project/private/backgroundimageinfo_impl.h
7d2b2c97a8b7c871bdd5a2a684bd76c4b1827d70
[ "MIT" ]
permissive
i-RIC/prepost-gui
2fdd727625751e624245c3b9c88ca5aa496674c0
8de8a3ef8366adc7d489edcd500a691a44d6fdad
refs/heads/develop_v4
2023-08-31T09:10:21.010343
2023-08-31T06:54:26
2023-08-31T06:54:26
67,224,522
8
12
MIT
2023-08-29T23:04:45
2016-09-02T13:24:00
C++
UTF-8
C++
false
false
1,841
h
backgroundimageinfo_impl.h
#ifndef BACKGROUNDIMAGEINFO_IMPL_H #define BACKGROUNDIMAGEINFO_IMPL_H #include "../backgroundimageinfo.h" #include "backgroundimageinfo_setting.h" #include <guibase/vtktool/vtklineactor.h> #include <QCursor> #include <QPixmap> class QAction; class vtkPlaneSource; class vtkTexture; class vtkTextureMapToPlane; clas...
fb2f1e6ec2cedbe76bc9588fdf9489c61ac6d0df
80b5b138f3113d92c024908427011a826ab70982
/src/soc/namespace/sys/reg/tc.cc
92852fb15e404fe33201b1c0ac24eaf3ea31b3cf
[]
no_license
FabioArnez/fhnw-ime-mse
ee220627828a77e8473c00aee3d94db9db05fe16
997113dd61e44dd679eb4cf4c9f7ffe4f8fec1cc
refs/heads/master
2021-01-11T17:06:34.056891
2016-10-25T10:43:47
2016-10-25T10:43:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,198
cc
tc.cc
//--------------------------- //tc timer counter //(c) H.Buchmann 2016 // [1] Atmel | SMART SAM D21 Datasheet // Atmel-42181-SAM-D21_Datasheet.pdf // 29.TC - Timer/Counter //--------------------------- IMPLEMENTATION(sys_reg_tc,$Id$) #include "sys/reg/tc.h" //uncomment for debugging #define TC_DEBUG #include "sys/de...
ce54adec14fb365bacf9c0f0bed40b3ff4238435
2eb5bbcf91d9b69755fd4f9b8bf9e616538beeef
/Stacks and Queues/sliding window maximum.cpp
85b76080c563542b60a74a13e95aa1534ab9b91c
[]
no_license
kumarshikhardeep/Interviewbit-Solution
cf300dda5085fcd0291831e7d31f1e20e74d3993
bdd71e88d26ffb952f43bb85e5445c894abf8036
refs/heads/master
2020-03-27T01:25:50.009979
2019-02-27T08:14:03
2019-02-27T08:14:03
145,709,813
0
0
null
null
null
null
UTF-8
C++
false
false
998
cpp
sliding window maximum.cpp
vector<int> Solution::slidingMaximum(const vector<int> &A, int B) { int max; int ind; vector<int> res; vector<int> index; if(A.size()==0) return res; if(B==1) return A; for(int i=0;i<=A.size()-B;i++) { if(index.size()==0 || index[index.size()-1]<i) ...
c3ecb4c5f94858f73be74c53c35cabde64e85723
86d0360af5da077fb6a9d6635ebcdd6abf793845
/chapter10/ex10_37.cpp
1425239ed2ea7ed59f5bfb7818a8a7056e7aebe7
[]
no_license
LukaMod/cpp-primer
d99f1bce499788817417096d468958df9f9fe75f
80334c1c89baff474260c1322899540c8d7b1138
refs/heads/master
2021-01-22T07:32:03.926702
2018-06-07T06:27:46
2018-06-07T06:27:46
81,827,412
4
0
null
null
null
null
UTF-8
C++
false
false
355
cpp
ex10_37.cpp
#include <list> #include <vector> #include <iostream> #include <algorithm> #include <iterator> using namespace std; int main() { vector<int> vec{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; list<int> ls; copy(vec.crbegin() + 3, vec.crbegin() + 7, back_inserter(ls)); for (const auto &i : ls) cout << i << " "...
e3ea40e77fc3820457b82bbc5f070686c6a4a6b6
e08e664d8653c22c983a4ccc80598035219bbb3f
/In-place reversal of a linked list/Medium/lc61-rotate-list.cpp
c268ca4cee1335eb09e09820ae1ec26cb689c6c8
[ "MIT" ]
permissive
ssolaric/leetcode-patterns
40eb775ecf1db41dc0cea893a4e7dfd782e8e780
17da9a3e53802a48984894c00b30c940d12731bc
refs/heads/master
2023-05-10T23:53:31.515953
2023-04-28T03:49:11
2023-04-28T03:49:11
271,845,477
8
2
null
null
null
null
UTF-8
C++
false
false
1,406
cpp
lc61-rotate-list.cpp
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode *next) : val(x), next(next) {} * }; */ class Solution { public: int findLength(ListNo...
f4ecda0866de0fb157a21897ab840406e91666ca
e274e643177f8aa07a3ce6e51f2012d3ae8cabf5
/Player.h
85813fef78ab3616417381d8b7a5c70c008d7346
[]
no_license
BuhQuick/SpacePig
e1c25efcfd35a642560e2450b134e9d0596f9b88
de01600dd044b33d9203a1d641aa13bdb00582eb
refs/heads/master
2021-07-01T17:04:38.923046
2017-09-20T21:31:02
2017-09-20T21:31:02
104,269,186
0
0
null
null
null
null
UTF-8
C++
false
false
2,560
h
Player.h
#ifndef SPACEPIG_PLAYER_H #define SPACEPIG_PLAYER_H #include "Wave.h" namespace spacePig { /* * A Player is the object the person playing the game has control over. * The player has a set velocity it can move by using arrow keys, or can * be moved with the cursor. If the player is hit by any of the projectiles *...
61eb4a23b6ee7c8cd4bd508985a89b465ddd507b
e8b420f58353243390e3cf97dc1c583e0a495dc0
/mapatrzecia.h
2fc4f4993e75363f7fd1100f0e5c893f979230f5
[]
no_license
seric1419/lol-mud
9104f36b511ed6a7fdb63616e799c0ca4b5147cc
0a81eab2baecf2d73b40912eb3f9faad600b93b0
refs/heads/master
2021-01-23T11:51:01.992319
2012-04-16T10:59:21
2012-04-16T10:59:21
32,721,483
0
0
null
null
null
null
UTF-8
C++
false
false
206
h
mapatrzecia.h
#ifndef MAPATRZECIA_H #define MAPATRZECIA_H #include "lol.h" class MapaTrzecia : public Mapa { public: MapaTrzecia(); MapaTrzecia(Gracz*); int Start(); }; #endif // MAPATRZECIA_H
583a89a330220520ef1916d8aa37dcf21d4398c1
8927ea32fd93b510543d2ceef3aba3a4d6f3d18d
/src/vpgrid.cpp
3fc4352550856f309b8b43e61bcd1b9b21c559ab
[ "MIT" ]
permissive
WizzerWorks/QtVp
e2fb9311ddbdcb028232f3efde586aad33b5db6d
1d9d27026867941c95edb9730b2eb3f6c8cabeb0
refs/heads/master
2020-06-01T07:01:07.846564
2013-09-26T18:02:06
2013-09-26T18:02:06
12,326,891
1
1
null
null
null
null
UTF-8
C++
false
false
11,447
cpp
vpgrid.cpp
// COPYRIGHT_BEGIN // The MIT License (MIT) // // Copyright (c) 2013 Wizzer Works // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the r...
544e9d4dd6a44d6adece9ddbaf6256c554b346fc
46f0e9ed622ae021d1491d777cb8b88563f76efb
/c++/main.cpp
480097f752f10d98b9529e0f7d893535f3d04d17
[ "WTFPL" ]
permissive
NathanKewley/CHIP8
4dd76604c1064d2f5370e01faf8a140739d77f00
21237aa36360dd99778ea375deebab96041cdd79
refs/heads/master
2016-09-10T19:18:11.055121
2015-09-12T07:36:24
2015-09-12T07:36:24
42,343,999
0
0
null
2015-09-12T07:35:23
2015-09-12T04:02:53
null
UTF-8
C++
false
false
4,465
cpp
main.cpp
//include required c/c++ stuffz #include <iostream> #include <string> #include <stdio.h> #include <stdlib.h> #include <SFML/Window.hpp> #include <SFML/Graphics.hpp> //include the chip-8 cpu core #include "chip-8-cpu.h" //because I always use this as typig std::::::::: is lame using namespace std; //create an instanc...
6b00e6b3e622dfc13fac6f8f3b466a6a0802ac7b
58febce6be896835382f03b21162f0090b3fcb0a
/leetcode/weekly/303.cpp
19c5460e44f9ce71466f75c729d354c9c3b59d66
[ "Apache-2.0" ]
permissive
bvbasavaraju/competitive_programming
5e63c0710b02476ecb499b2087ddec674fdb049f
bc17ec49b601aac62fa94449927fd64b620352d7
refs/heads/master
2022-10-31T15:17:00.151024
2022-10-23T09:14:52
2022-10-23T09:14:52
216,365,719
1
0
null
null
null
null
UTF-8
C++
false
false
3,518
cpp
303.cpp
/**************************************************** Date: July 24th, 2022 Successful submissions : 3 Time expiration : 0 Memory exhausted : 0 Not Solved : 1 Wrong Answer/ Partial result : 0 link: https://leetcode.com/contest/weekly-contest-303 ****************************************************/ #include<bits/stdc...
451922594f633a940cf463c206c2d8f31af98fbe
9d32fb7c19ca23bdd1dc89081120a8e411d5aafb
/Map Editor/Scripts to Move to LUA/ResourceScript.h
0533475752c497bc71062d14933aae908cdbbd6d
[]
no_license
jfdoming/Aela
970159fd19bab445375aac025ba1b9bc6137eea1
7d74fefba25c359081b345b3a44fd5bb106e2870
refs/heads/master
2022-11-13T00:56:48.471006
2020-06-27T23:09:22
2020-06-27T23:09:22
275,467,246
0
0
null
null
null
null
UTF-8
C++
false
false
4,425
h
ResourceScript.h
// The contents of this file will be moved to LUA once we can get LUA to work! #pragma once #include "Resource Management\ResourceManager.h" #include "3D\Materials\GLMaterialLoader.h" #include "3D\Models\OBJLoader.h" #include "3D\Skybox\GLSkyboxLoader.h" #include "3D\Maps\Map3DLoader.h" #include "../../Project Aela/Res...
a8c18c7ff3d8e5c2dad601ec4395ed6a5ea49246
41317fb6946987b588a8375441ce6601cb89c252
/Menu.cpp
17b10cae70e3ef6639954575f67de92dc981c5d3
[]
no_license
ck20jimmy/PD_Project
a6434d0a4c2c23dfc25cb986c820c397af50b1ee
4e2c5abf5d82fc26ce8d61d48bade61c55ed57a4
refs/heads/master
2021-01-19T04:39:31.177797
2017-04-06T04:18:40
2017-04-06T04:18:40
87,384,986
0
0
null
null
null
null
UTF-8
C++
false
false
1,808
cpp
Menu.cpp
#include"Menu.h" #include <SFML/Graphics.hpp> Menu::Menu(float width, float height) { if(!font.loadFromFile("fontfile.ttf")) { //handle error } menu[0].setCharacterSize(40); menu[0].setFont(font); menu[0].setColor(sf::Color::Blue); menu[0].setString("Start (no music)"); menu[0].setPosition(width/2.5 -50, he...
c3cf71a506b425bdd1a2ff88f3dc7cb2e41dcd08
630bdb23c8fb5435e834cf2e63c473dbb8aab1f5
/test_factorial/test_factoral.cc
a5ddc1cd19f5e08d34e8fa851d0c08d177f6fab0
[]
no_license
yarba/CXX_TOYS
476b134380659b6019d914294e21377af483870b
13c65bc0dd2679f043d63c8c9c648a64aeaff04a
refs/heads/master
2021-05-03T10:37:37.666438
2018-02-07T00:15:18
2018-02-07T00:15:18
120,538,850
0
0
null
null
null
null
UTF-8
C++
false
false
3,320
cc
test_factoral.cc
#include <iostream> using namespace std; int main() { // Note-1: This code wont work properly if num<0. // // Note-2: This code operates on int's and is not guaranteed // to work properly in case of really big numbers. // If operating on big numbers is the case, then // ...
89c9b68fb77bcd3b5c5966c0ec0a4ad6d0716b27
169d9587b3c439f1a34038730f0df4dfd06ef0ee
/2015/template.cpp
6318b126f99782d8bb72f18c422e5b45248cf67c
[]
no_license
duchonic/aoc
4a58966175e385ee5caf1b9f7982fedc403dfcb6
6f0b6fb9d6e4bc4b6b53ca32cb819bcb44122037
refs/heads/master
2022-02-13T12:29:24.079227
2022-01-20T12:24:58
2022-01-20T12:24:58
164,295,011
1
0
null
2021-12-08T19:59:11
2019-01-06T10:00:29
C++
UTF-8
C++
false
false
1,380
cpp
template.cpp
#include "template.h" #include <iostream> #include <string> #include <sstream> #include <vector> #include <iterator> #include <fstream> template<typename Out> void split(const std::string &s, char delim, Out result) { std::stringstream ss(s); std::string item; while (std::getline(ss, item, delim)) { ...
365e04206980f2410c4440c35c73193195995797
49b55d810e91dcee83a9938f53f750fc51404dc5
/Source/Projects/BrickBreaker/Levels/Level3.h
250d98a2cfcc7eee55e6c909cb9126d05224831a
[]
no_license
VladCatalin19/ComputerGraphics-BrickBreaker
e5dc44b9d7fa6f22c7df895e09b2aa94386207c9
ae5ba2ad63c242fcaed25f087ad68cb4010575c2
refs/heads/master
2021-07-06T13:02:50.223167
2020-08-27T13:36:22
2020-08-27T13:36:22
171,114,402
0
0
null
null
null
null
UTF-8
C++
false
false
264
h
Level3.h
#pragma once #include "Level.h" class Level3 : public Level { public: Level3(); Level3(glm::ivec2 resolution); ~Level3(); void InitLevelDependentConstants() override; Brick::BrickType CalculateBrickType(int x, int y) override; };
6afa22018e728b519c1ca7300c716891a246dda3
0543967d1fcd1ce4d682dbed0866a25b4fef73fd
/W12/T2/7.cpp
6081155f7a86ed42ed888261edecb3cc8cde6525
[]
no_license
Beisenbek/PP12017
5e21fab031db8a945eb3fa12aac0db45c7cbb915
85a314d47cd067f4ecbbc24df1aa7a1acd37970a
refs/heads/master
2021-01-19T18:42:22.866838
2017-11-25T12:13:24
2017-11-25T12:13:24
101,155,127
0
0
null
null
null
null
UTF-8
C++
false
false
349
cpp
7.cpp
//Standard Template Library #include <iostream> #include <vector> using namespace std; bool f(int a, int b){ if(a > b) return true; return false; } int main(){ vector<int> a; for(int i = 0; i < 10; ++i){ a.push_back(i); } for(vector<int>::reverse_iterator i = a.rbegin(); i != a.rend(); i++){ cout << *...
735680babe6f5e11cdc1ac9e6830bee9fb5514ca
16d159d6d3fe69d513717caad3e2c21320f93224
/AtCoder/ABC/ABC151-200/abc161/abc161f.cpp
eecedb1ecb768ff63104e476539d8260a537b006
[]
no_license
tsushiy/competitive-programming-submissions
d4f068a5157c0de0f1822367e0ca66dd978e43f9
9011d855d9252134179cc9cc8f328f6e0ca32407
refs/heads/master
2023-04-11T08:34:01.015316
2021-04-11T15:16:17
2021-04-11T15:17:35
175,807,862
0
0
null
null
null
null
UTF-8
C++
false
false
4,696
cpp
abc161f.cpp
#include <bits/stdc++.h> using namespace std; #define REP(i,b,e) for(int i=(b);i<(e);++i) #define RREP(i,b,e) for(int i=(b)-1;i>=e;--i) #define rep(i,e) for(int i=0;i<(e);++i) constexpr int MOD = 1000000007; constexpr int INF = 1LL << 30; constexpr long long LLINF = 1LL << 62; constexpr double EPS = 1e-9; struct Init...
2bf2685fa00cb87f88a897ad54c49cd10d60d362
2a0e6f2a9090be5065efb367e269d887cf182bef
/MonsterHunterRPG/Potion.cpp
5b5e7241864fed856c89aff4792a5f27fd2f5fe4
[]
no_license
brian921/MonsterHunterRPG
be43f1fe4b0fc06cf0fc6623b4e6476ed41f39ca
a4a9517e10e2d200061e578d34578915ef37cf70
refs/heads/master
2021-01-22T22:20:18.193309
2017-09-18T18:12:52
2017-09-18T18:12:52
92,768,434
0
2
null
2017-08-06T03:00:25
2017-05-29T19:15:56
C++
UTF-8
C++
false
false
218
cpp
Potion.cpp
#include "Potion.h" Potion::Potion() { } Potion::Potion(int tier) { setTier(tier); } Potion::Potion(int tier, int count, string name) { setName(name); setCount(count); setTier(tier); } Potion::~Potion() { }
252de8698dc7bdb6020321211db2f0800ea9854d
c52bf4ec52bb11d8a2a913412ec0aedb5748f888
/thread-lib/Thread-save/src/Mutex.cpp
2c1641bf3a7589deff752eb4bdfd1613272bab4d
[]
no_license
platelk/project
5f8e1a155bac7f7f9b65a27c668cbfc9d06a3b0f
53eda72963f667e2c07d741ba0b03b8bec5926cf
refs/heads/master
2021-01-18T22:34:53.703760
2016-05-10T14:45:57
2016-05-10T14:45:57
13,128,086
2
6
null
null
null
null
UTF-8
C++
false
false
1,468
cpp
Mutex.cpp
// // Mutex.cpp for /home/vink/projet/cpp/thread-lib/Thread/src/Mutex.cpp in /home/vink/projet/cpp/thread-lib/Thread // // Made by kevin platel // Login <platel_k@epitech.net> // // Started on Tue Apr 16 01:48:26 2013 kevin platel // Last update Tue Apr 16 12:24:30 2013 vink // #include <pthread.h> #include "Mutex....
282f48c2c1bdbfe49ff09030a9169efaee07af69
31aa5bc77f08ddc512672bcacba657fa32ab1bbd
/include/collider/collideHelperFuncs.h
7e09cead8435ae8527c264dbdd9dc3f6886887ba
[]
no_license
DerekSlagle/collide_scroll
5fef6b1e98a6d24236a7b8a355ebc72ff0dd1bb2
b50bbb6b5941f5129170c1836f23863c627ba909
refs/heads/master
2020-11-25T13:45:21.363357
2019-12-17T20:22:34
2019-12-17T20:22:34
228,693,962
0
0
null
null
null
null
UTF-8
C++
false
false
800
h
collideHelperFuncs.h
#ifndef COLLIDEHELPERFUNCS_H_INCLUDED #define COLLIDEHELPERFUNCS_H_INCLUDED // mvHit types #include "ball_go.h" //#include "ball.h" #include "regPolygon.h" #include "block.h" #include "gun.h"// derives from block #include "decayPolygon.h" #include "expandPolygon.h" //#include "mvHit.h" // segHit types #include "lineS...
f3cbecb71c700092d19b31215ff31295ece853e0
965b973c54e4b860dd4c57730b9354c44c01fbc9
/practicass/src/Perro.cpp
9970ccab38d2aa60ba027045b706508c273d0db2
[]
no_license
DiegoRamirezUCSP/prac
c1cf8dc7f293f5198fa8e1afc6585cb508071148
3ea70c14ff45707d9ee4b77705c8ec7157baa1ed
refs/heads/master
2020-04-05T06:36:37.175534
2018-11-08T13:38:48
2018-11-08T13:38:48
156,643,498
0
0
null
null
null
null
UTF-8
C++
false
false
87
cpp
Perro.cpp
#include "Perro.h" /* Perro::Perro() { //ctor } Perro::~Perro() { //dtor } */
c2edb65bb44d336336f5b64a1f8e4f07c4e0d79a
922df3246f22f53122d9fbb51f6e3fb393cf5ba2
/BitOutputStream.cpp
066251382478e0242215ac1b08dd7e8fb2ec8b39
[]
no_license
tom10ye/huffman
deb52a589f578b14ba2ae9f265b20cb469853863
2ec6c324fe43cbc22b34d022a712d1991ab8ac11
refs/heads/master
2021-04-29T20:21:34.431970
2017-05-18T03:25:46
2017-05-18T03:25:46
121,596,019
0
0
null
null
null
null
UTF-8
C++
false
false
1,137
cpp
BitOutputStream.cpp
#include "BitOutputStream.h" using namespace std; void BitOutputStream::flush(){ out.put(buf); out.flush(); buf = nbits = 0; } void BitOutputStream::writeBit(int i){ // Is the bit buffer full? Then flush it. if(nbits == 8) flush(); // Write the least significant bit of i into the buffer /...
116a10fb59a80182b3fd1e993166a8e8ae489111
66286815cc5aa5e2598056060cc3a14d6bf297ef
/src/app/gui/forms/dialogs/LicenseInfoDialog.h
bb55d3065685bc974a5a51e166d9a188ba4787cf
[]
no_license
lukeulrich/alignshop-qt
07b022d8b15a75a7474e13f7c0ef3c0e43275577
030614f8fcc6c5bb4f6ed7f10987b5e5d11fe764
refs/heads/master
2020-07-28T03:06:04.528197
2016-11-10T21:19:41
2016-11-10T21:19:41
73,421,548
0
0
null
null
null
null
UTF-8
C++
false
false
672
h
LicenseInfoDialog.h
/**************************************************************************** ** ** Copyright (C) 2012 Agile Genomics, LLC ** All rights reserved. ** Author: Luke Ulrich ** ****************************************************************************/ #ifndef LICENSEINFODIALOG_H #define LICENSEINFODIALOG_H #include <Q...
aeb030efe4c2e911ae1bb244703de10bc57724b2
28095dea22b5db54f8e0715738f548e2b49d4ea8
/27_Remove_Element.cpp
501a3f6513e245a69a4140c2026ca6a84932511d
[]
no_license
ccyxf/easy
07efebfad570fd9aedb2b155c388c9c130a412ef
32b31a949e1e39ff186e0c59191d2e624f3edc40
refs/heads/master
2020-04-15T14:01:56.260527
2016-10-17T03:12:16
2016-10-17T03:12:16
58,521,961
0
0
null
null
null
null
UTF-8
C++
false
false
791
cpp
27_Remove_Element.cpp
//双指针 // class Solution { // public: // int removeElement(vector<int>& nums, int val) { // if(nums.size()==0) return 0; // int a=0,b=nums.size()-1; // while(a<b){ // if(nums[a]==val){ // nums[a]=nums[b]; // b--; // } /...
bbd5827c6b096a9664423fb0cbe61aba43cadcea
46f80af8234096cef9baa60020544979f8d4ba66
/RayTracer/Libraries/SolidNoise.h
8819534a6129f1b8829b88ff5cb90c64796ccb66
[]
no_license
solarmist/Ray-Tracer
abedda623b0050af0452f108e34a65edbfcdf183
2ca46fe55875793b82a5e9ac3975c04950517b05
refs/heads/master
2020-04-27T14:55:03.839750
2012-12-24T23:01:21
2012-12-24T23:01:21
1,494,417
0
0
null
null
null
null
UTF-8
C++
false
false
1,452
h
SolidNoise.h
// // SolidNoise.h // RayTracer // // Created by Joshua Olson on 3/20/11. // Copyright 2011 solarmist. All rights reserved. // #ifndef _SOLID_NOISE_H_ #define _SOLID_NOISE_H_ 1 #include <cmath> #include "Vector3.h" class SolidNoise{ public: SolidNoise(); precision noise(const Vector3& p) const; precis...
9671c300ddd64652f8d201b96cc0c98c7d5f92e6
e3e179968324aac7c503b09b56f80cd3d8729139
/Runtime/GlobalValue.cpp
12d2d6699d87086ffd834cb99ca508279f2f9af9
[]
no_license
limtline/Seo-H
b5670177c32d5e9a0fe00aa5deff49a94771a270
0b9ca1a329a17478b31708c9e1dc6904790ce8c6
refs/heads/main
2023-03-31T07:47:50.602010
2023-03-16T15:33:09
2023-03-16T15:33:09
329,241,340
1
0
null
2021-01-13T12:01:02
2021-01-13T08:27:22
C++
UHC
C++
false
false
100
cpp
GlobalValue.cpp
#include "stdafx.h" #include "GlobalValue.h" GameState g_GameState = GAME_READY; //게임의 상태
7426bc1ed56c8967a91db5448d160163e45dc814
9b55a3f9fa33644aa1b42e99dee1e0c714af29ed
/include/palleon/win32/Dx11Effect.h
13d741d3cf092a80add48cb34dbf50b6c776f5e7
[ "BSD-2-Clause" ]
permissive
jpd002/Palleon
56597af91e7878a3311b0cc08d556a6e348d9d4e
ddcd68d0a0b572a820066a74c19d36633dbb0245
refs/heads/master
2021-04-09T17:40:42.634899
2016-11-27T21:58:18
2016-11-27T21:58:18
18,983,388
2
3
null
null
null
null
UTF-8
C++
false
false
2,040
h
Dx11Effect.h
#pragma once #define NOMINMAX #include <d3d11.h> #include <memory> #include <string> #include "Types.h" #include "win32/ComPtr.h" #include "palleon/graphics/VertexBuffer.h" #include "palleon/graphics/Effect.h" namespace Palleon { class CDx11Effect; typedef std::shared_ptr<CDx11Effect> Dx11EffectPtr; ...
4251607009a9b701517e98bb4b976fff63d0ddfa
f3e077428fd49beddf4b218a03dc114030df71a0
/experimental/src/com/goffersoft/core/list.h
fa68829b8bff19e4164624c25910dbb75e516f51
[ "MIT" ]
permissive
goffersoft/commonutils-cpp
81df489af77e8c22b13e060a0b609bdfc16e13d2
6bbfb517ae780e9013bf3e1838aa704f044d39d3
refs/heads/master
2021-01-21T04:27:26.528025
2016-05-11T22:07:52
2016-05-11T22:07:52
26,283,116
0
0
null
null
null
null
UTF-8
C++
false
false
13,777
h
list.h
/** ** ** This file is part of mepgutils. ** ** mpegutils is free software: you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation, either version 3 of the License, or ** (at your option) any later version. ** ** mpegutils ...
98c64de3e8ac1bd7653776a89ea979a8dd9fd2cf
c8d569ca59ed1816f9f9bab023b89e2e60358f84
/commandline.cpp
01c0f7a5bc47ee497675d44f3538a1e7894a2281
[]
no_license
QinxiaoYu/VehicleRouting
024242e4dfc285d9337d7b4baabed67fad338de3
266797ff616d76e83409a61c0a0ce87308c87198
refs/heads/master
2021-06-19T11:35:57.361031
2017-06-16T06:09:30
2017-06-16T06:09:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,705
cpp
commandline.cpp
#include "commandline.h" void commandline::set_instance_name(string to_parse) { instance_name = to_parse; } int commandline::set_solver_type(string to_parse) { if (to_parse == "BELLMAN") solverType = BELLMAN ; else if (to_parse == "BELLMAN_SOFT") solverType = BELLMAN_SOFT ; else if (to_parse == "BE...
55c781bc7ee1eca4d9ac856d7915a834537a8623
f63da201c4fce413e26d1342d9c18c86da432f09
/Day05/Day5.cpp
00e4f30ab5e4b61ed494cd84c8aa16bca72ef658
[]
no_license
Vlad-Nicola/AdventOfCode2020
cf7b43212280d2f745177791354c6db6a0af2dec
f70780956e5c753bea6be192e6d058188a54f3eb
refs/heads/master
2023-02-03T10:41:00.034953
2020-12-22T12:40:33
2020-12-22T12:40:33
317,904,354
0
1
null
2020-12-02T18:48:10
2020-12-02T15:24:30
C++
UTF-8
C++
false
false
1,568
cpp
Day5.cpp
#include <iostream> #include <fstream> #include <string> #include <array> short binarySearch(const std::string& code) { short left_limit = 0; short right_limit = (1 << code.size()) - 1; for (const auto c : code) { if ('F' == c || 'L' == c) { right_limit -= (right_limit - le...
08afc7b7062f6d26f942f9e919dd06b138bc5816
98207ea3a10ffeb9426019aff66335fd575351b9
/WSLcode/WLSUbuntu/oop/oopv4.cpp
ddce22af43e9db50f7fd613abb710b7937b1e3a4
[]
no_license
AppaBaba/ConApps
3b82deeee5e3467df1edcd268f416971c397a6d3
48a368f8e7cce080b6d03b3ef21cfe761d6fe963
refs/heads/master
2021-09-27T02:27:31.929007
2021-09-25T00:17:27
2021-09-25T00:17:27
124,319,327
0
0
null
null
null
null
UTF-8
C++
false
false
942
cpp
oopv4.cpp
#include<iostream> using namespace std; class pram { private: int a,c; //two private data members public: // A constructor with default values pram(int attr=1, int color=31) { a=attr; c=color; } // A function to make changes to data members ...
8b3b7894486f0ffe9ce0940362a630c1f06de2d9
4c6304b0ba3546e119b94d2400c94a564a09f329
/start.cpp
65c0c03864007b0788814404d708ae52b6fa89db
[]
no_license
JC8040/OMBI-project
a8345666e0cbc25597127f2945f1706d1648d045
accf23b10f7d4e1084710ebb1ad269f3a0e5ca42
refs/heads/master
2021-01-18T13:06:09.302180
2017-02-02T12:31:43
2017-02-02T12:31:43
80,722,726
0
0
null
null
null
null
UTF-8
C++
false
false
12,279
cpp
start.cpp
#include "start.h" #include "ui_start.h" #include "mainwindow.h" Start::Start(QWidget *parent) : QMainWindow(parent), ui(new Ui::Start) { ui->setupUi(this); connect(ui->pushButton, SIGNAL(clicked()), this, SLOT(Button1())); connect(ui->pushButton_2, SIGNAL(clicked()), this, SLOT(Button2())); c...
f2a5bc0c0f46bf68eea8278a33d5e9d86692df1d
3a9e7f9b5383e7048d50f6ed7266ba23dab667af
/src/Plumbing.hpp
0dbb26c391c353bd5c31f56721dc3c2042aa3c55
[]
no_license
jmracek/CPP
3da9f5a491d434eae033061ca8807ff00fdbce64
e4e3578d8422afa5bc52388309ff9332eb01d058
refs/heads/master
2021-04-19T03:28:27.759480
2020-03-24T00:50:25
2020-03-24T00:50:25
249,573,462
0
0
null
null
null
null
UTF-8
C++
false
false
20,127
hpp
Plumbing.hpp
// Take care, all who wander inward; for here, be dragons. #ifndef PLUMBING_HPP #define PLUMBING_HPP #include <memory> #include <string> #include <type_traits> // Hoo boy. Here we go... #include <tuple> #include <utility> #include <vector> #include "Constants.hpp" #include "IO.hpp" #include "Lockfree.hpp" #include ...
b4b78b88b1d36c3f020f7361769c9c53128e3652
2c11eeb69439f5e298e9c445e30298d6090b5c86
/day05/ex02/Form.hpp
458356a1923d6ed3c1a281d0f5931aefbe3d7421
[]
no_license
tstelfox/CPP
bb4af2d52db7cfe3dcd3dfd546de484eeba6ddf7
0099a4804e401110154a8ecadecf274bc6565a66
refs/heads/main
2023-07-24T00:39:15.086612
2021-09-10T11:23:35
2021-09-10T11:23:35
312,568,964
1
0
null
null
null
null
UTF-8
C++
false
false
2,201
hpp
Form.hpp
/* ************************************************************************** */ /* */ /* :::::::: */ /* Form.hpp :+: :+: ...
3e1cc3a40acb624724313f8f5d7158e24d0dcf3a
1bdedd1ebe38604c6e70dc3ad0fc83cfa12e10ce
/qt/open-gl/gl-renderables/Cube.h
4417718c2483b2e20a3d7d2b02848329be76455d
[]
no_license
mc18g13/qt-wireless-attitude-visualisation
508ef4e32d69efeee0a22bc9baea61f8915b9d61
e6bace583e4747ab4afcfea75bb83bb9556f623d
refs/heads/master
2020-11-27T01:32:51.765336
2019-12-21T16:33:50
2019-12-21T16:33:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,138
h
Cube.h
/* * Cube.h * * Created on: 25 Apr 2019 * Author: mc18g13 */ #ifndef CUBE_H #define CUBE_H #include "Centroid.h" class Cube : Centroid { public: Cube(); virtual ~Cube(); void printVertices(); const unsigned int size = 36; const unsigned int arrayElementsForOneVertex = 6; float halfCubeWidth = 30.0...
e4863c7072511e5364bb2362748c17c5b7cfa262
50a81a3615d3fcb94c9e8c83842dff136b22e336
/main.cpp
ed3dd9f8da211b178fc182c5cbb5860332488262
[]
no_license
Pranta07/Class_shedule.
152e95e651a2a3a595435349b3efc5db6655deaa
3878bb80776e2326fad7c052c38460a85eeb58f6
refs/heads/master
2021-08-29T23:04:39.672156
2017-12-15T07:15:48
2017-12-15T07:15:48
114,331,090
0
0
null
null
null
null
UTF-8
C++
false
false
611
cpp
main.cpp
#include<iostream> #include<windows.h> #include<conio.h> using namespace std; class_shedule obj; int main() { char option; system("cls"); obj.menu(); while((option=cin.get())!='q') { switch(option) { case 'b': obj.build(); break; case 'l': obj.show(); break;...
60da86b90224c348f3e8f1be0eb381d8033f7595
a697203b9eb2046af52cca9eb2957f86338b6e91
/AnimatAssignment.h
2afc63add4a70253c5b818e7b8d4f35003b8eaad
[]
no_license
KaiChan01/AnimatAssignment
36e68b5a1b23a19e4714471b77f928b704859123
fecefdb8f2caa64e34c83d2d8ce7d5fcf95d3bf2
refs/heads/master
2021-09-10T15:19:48.642240
2018-03-28T11:38:04
2018-03-28T11:38:04
113,322,151
0
0
null
null
null
null
UTF-8
C++
false
false
779
h
AnimatAssignment.h
#pragma once #include "Game.h" #include "PhysicsController.h" #include "PhysicsFactory.h" namespace BGE { class AnimatAssignment : public Game { public: AnimatAssignment(void); float elapsed; int numberOfCreatures; int numberOfObject; bool floating; bool moveSwitch; bool Initialise(); void creatu...
34906433809a8ac8d11dffca5749cf22d8244301
a6c442643dd8eee7448094c48f033efd6f16d996
/RTA/RenderMaterial.cpp
78ae385cb7e81fa24afed4c0e72c6ccdf7a79e0e
[]
no_license
brady00/RTA-STUFF
61c26bae56760bc84089077eaee8aac9bb26c4d3
265bc36ba191a88b1541e8cfdc36fcfc77cb4dbc
refs/heads/master
2021-01-10T14:20:37.715082
2016-01-27T22:04:09
2016-01-27T22:04:09
49,030,883
0
0
null
null
null
null
UTF-8
C++
false
false
688
cpp
RenderMaterial.cpp
#include "RenderMaterial.h" #include "DDSTextureLoader.h" #include "Renderer.h" RenderMaterial::RenderMaterial() { //RenderFunc = RenderFunction; } RenderMaterial::~RenderMaterial() { ReleaseCOM(ShaderResourceView); ReleaseCOM(texture); if (renderShapes) delete renderShapes; } void RenderMaterial::RenderFunc...
46eb2a698df6c8fb1559ad2a24f8a7354dc8b002
57bde7b334784dd49b92f8f0f62985fb8e590ab9
/220.cpp
09d0989bfe812bb60346945417779900f7560887
[]
no_license
ppzzyy11/LeetcodeTravel
b74886641cfdf164a851a9b9ceb51ddb3bd8db22
25a1116829fc4c792b527729d00dec2c9b34fe81
refs/heads/master
2023-05-07T05:17:49.740268
2021-06-05T03:43:41
2021-06-05T03:43:41
358,775,913
0
0
null
null
null
null
UTF-8
C++
false
false
1,004
cpp
220.cpp
/* * 220.cpp * Copyright (C) 2021-06-05 pzy <pzy@pzy-B250M-Wind> * * Distributed under terms of the MIT license. * Description: * * To implement: * How: */ #include <vector> #include <set> #include <map> #include <stack> #include <queue> #include <algorithm> #include <iostream> #include <string> #inc...
ba295b80c4a00e223bcf6833767a1be871fa9fda
e59bd1d240ca263c83acc3e760d7d700dc1222f7
/MUFINS1.0_Source/qsspn/src/Text.cpp
86ec838b54a8de305ae046211032ce16a606d0ca
[]
no_license
maggishaggy/MUFINS
674de3a3d1f026768ede9ab0d81f70a844f13145
abd9eecc338a5ce47050b2504e12159daebfb05b
refs/heads/master
2021-01-19T18:50:09.353708
2016-07-27T05:11:07
2016-07-27T05:11:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,439
cpp
Text.cpp
#include "Text.h" #include "Round.h" void split(string* str, strvec* vec, char delim){ istringstream is(*str); split(is, vec, delim); } void split(istream &is, strvec* vec, char delim){ string field; while (getline(is, field, delim)) if (!field.empty()) vec->push_back(field); } st...
c2127e42986963e08cce9a351a49c26461f1bc4d
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/openscreen/src/osp/public/service_listener.h
2a11e44c42beec3e1814261a3c5ecaafe23be257
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
C++
false
false
5,031
h
service_listener.h
// Copyright 2018 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. #ifndef OSP_PUBLIC_SERVICE_LISTENER_H_ #define OSP_PUBLIC_SERVICE_LISTENER_H_ #include <cstdint> #include <string> #include <vector> #include "osp/publi...
7249c554715eeb695ef0cf73fddbdbec3846dc0b
49e8a50f464ae91c49027f5331287051246842b5
/cpp/base/ArrayDemo.cpp
e2992afa6f9b807bab9f80812e5f7fbcccaca687
[]
no_license
whvixd/study
446fb61c0cc189eb344d5eac0f47af14254f9755
b1e119e8f4bbd92629e817c1561eece2d69321ca
refs/heads/master
2023-02-21T23:59:32.842944
2023-02-19T00:59:34
2023-02-19T00:59:34
190,568,472
0
1
null
2023-02-19T01:08:31
2019-06-06T11:16:49
Java
UTF-8
C++
false
false
334
cpp
ArrayDemo.cpp
#include <iostream> using namespace std; #include <iomanip> using std::setw; int main(){ int n[10]; for(int i=0;i<10;i++){ n[i]=100+i; } cout << "Ele" << setw(13) << "Val" << endl;//setw(x) x空格 for(int j=0;j<10;j++){ cout << setw(3) << j << setw(13) << n[j] << endl; } r...
0b441cf9a09db11e0c1ac8d0296e1639e1db1882
cb80a8562d90eb969272a7ff2cf52c1fa7aeb084
/inletTest2/0.13/turbulenceProperties.L
ec6c650a05d661bf10d4e02ea2132dcb82b56cb1
[]
no_license
mahoep/inletCFD
eb516145fad17408f018f51e32aa0604871eaa95
0df91e3fbfa60d5db9d52739e212ca6d3f0a28b2
refs/heads/main
2023-08-30T22:07:41.314690
2021-10-14T19:23:51
2021-10-14T19:23:51
314,657,843
0
0
null
null
null
null
UTF-8
C++
false
false
434,235
l
turbulenceProperties.L
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2006 | ...
a06cfeb1e9ded8efadc664ef44e0bdbb37785e12
ad7a1d4615fb8c823623d800b93e075a7b7bf28e
/RTP_Lab4.1/Files/Mesh.h
ae00bb0a41c9e14c09a211ba13056603ca8b8422
[]
no_license
sanoonan/RTP_Lab4.1
665a8aad3cb806450d1e7e7698fe056985d44af2
83564e332baa36a49a56d65db8820635062e73c2
refs/heads/master
2020-04-21T06:02:31.890365
2015-02-21T22:09:17
2015-02-21T22:09:17
31,143,010
2
0
null
null
null
null
UTF-8
C++
false
false
1,275
h
Mesh.h
#pragma once #define _CRT_SECURE_NO_DEPRECATE //Some Windows Headers (For Time, IO, etc.) #include <windows.h> #include <mmsystem.h> #include <GL/glew.h> #include <GL/freeglut.h> #include <iostream> // Assimp includes #include <assimp/cimport.h> // C importer #include <assimp/scene.h> // collects data #include <ass...
678728e888603056a77b162df6297d74cce70c00
5a627d4aa22ab4c4b41eeec55b96f3528bb88631
/cpp/models.h
ce58bdaab15651105363ab13cf4fa6bf74910db3
[ "MIT" ]
permissive
LehighCSE375-AJM/hindsight-experience-replay
ee6f3fe993608eb4b16615da66bdaa9b122d57f8
1412312c04619b060927b2c60ee40151266f461f
refs/heads/master
2023-01-30T12:25:23.537368
2020-12-05T21:19:20
2020-12-05T21:19:20
308,702,341
1
0
MIT
2020-11-09T16:33:15
2020-10-30T17:40:49
Python
UTF-8
C++
false
false
2,748
h
models.h
#pragma once #include "linear.h" #include "optimizer.h" #include "adam.h" #include "grad_descent.h" #define OBSERVATION_DIM 1 // TODO #define GOAL_DIM 1 // TODO #define ACTION_DIM 1 // TODO #define NEURONS 256 class Actor { private: Linear fc1 = Linear(OBSERVATION_DIM + GOAL_DIM, NEURONS, RELU); Linear fc2 = Line...
af4cb9d878776b54886b912ef6c45ab02e94ef59
a9e76a750d8837d2312fc1092061bd0d23702122
/pysrc/acquisition/simplectsystem.cpp
393ae1fee678e44bccdcaaabd3091f80194d6ff8
[]
no_license
phernst/pyctl
9f79d4d0ce8e2d0a9e7d031e6029ec012d500d78
f8e924379a2ef9451da3b249a684377d979752e5
refs/heads/master
2022-09-27T15:32:34.994447
2021-05-10T17:08:02
2021-05-10T17:08:02
247,075,902
6
2
null
null
null
null
UTF-8
C++
false
false
2,112
cpp
simplectsystem.cpp
#include "pysrc/pybind_common.h" #include <acquisition/simplectsystem.h> #include <components/abstractdetector.h> #include <components/abstractgantry.h> #include <components/abstractsource.h> #include <components/abstractbeammodifier.h> namespace py = pybind11; void init_simplectsystem(py::module& m) { using name...
18e891e2c6425a96f6cf2afb5a69b5fc566f5bbb
b0b31515b43123533b3533aef4981e0f7b04ab2c
/NUFFT/NUFFT_V3/output.h
584cfd974229d3cf70e51403c31bc9d7afb94d6b
[]
no_license
uriele/testautotool
23863c44e51b7fbb34e3520764d9696610f295ee
e0f200e3331918415c0031403c8f308fc3f577f5
refs/heads/master
2021-07-12T23:23:04.694703
2017-10-13T22:28:04
2017-10-13T22:28:04
106,879,044
0
0
null
null
null
null
UTF-8
C++
false
false
634
h
output.h
/* * Copyright 2007-2012 Computational Electromagnetic Group (CEM), Dept. ECE, UC San Diego. All rights reserved. * Author: Shaojing Li, March 2012 */ /* * output.h: class declaration of Class Output. * This class is intended for controlling screen and file output that records the execution status of the prog...
03b1827d969f0d6a9e72800f8af295b85643a50c
1c1cb1189cb94876d82106fb9fc0fcc18ec1420b
/engine/enginecode/include/independent/rendering/bufferLayout.h
9ff2055706c2785696f94faf77457b3b86a1d8dd
[]
no_license
nejmn/Game-Engine-Developmet
73443d8b4b3fd58cab79248f798721ed3a07cc85
edd61f65cb681a8496d37aeef2b2001990adb939
refs/heads/main
2023-09-01T12:02:55.878185
2021-10-17T12:11:59
2021-10-17T12:11:59
418,117,055
0
0
null
null
null
null
UTF-8
C++
false
false
1,621
h
bufferLayout.h
/** \file shaderDataType.h */ #pragma once #include "shaderDataType.h" #include <vector> /** *class Buffer Element ** \brief A class which holds data about a single element in a buffer layout */ namespace Engine { class BufferElement { public: ShaderDataType m_dataType; //!<Type of data type uint32_t m_size...
9071d4ff3ba36e819aea7acdda7cdcbc357bb319
d13e8cf45b94dca462ead1f088dc538ca3b907f3
/AGV-Firmware/main.cpp
933bfe683e8a4cf9b4aaf034c01b6c0468334114
[]
no_license
williamg42/AGV-IV
2f22e87ad259dca0495b1e79b3a12cf24d092741
9f080e8219bb949ab3e74672389bbe76ade22cf4
refs/heads/master
2021-01-17T13:07:33.433371
2017-03-25T18:51:07
2017-03-25T18:51:07
30,118,558
3
0
null
null
null
null
UTF-8
C++
false
false
2,962
cpp
main.cpp
#include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include "Avoidance.hpp" #include <sys/timeb.h> #include <unistd.h> #include <signal.h> #define BUFFERDELAY .25 using namespace cv; cv::Mat dst; double CLOCK() { struct timespec t; clock_gettime(CL...
cf857de009598f0758369ca4dbe7e82103aacdf7
f0749ffea2a953a324a26906b7dc3bd95ac06e60
/Core/Thread/AtomicCounter.h
bfdc2f481cd00d966610e50258f905bbeccaacc8
[ "MIT" ]
permissive
jeffamstutz/rfManta
36970d20ef79907db250da83ec1e672943c199fe
77b3f8688f09719a9027a02777832bb734fc8431
refs/heads/master
2021-01-10T08:57:37.803549
2015-03-13T12:47:47
2015-03-13T12:47:47
48,449,383
1
0
null
null
null
null
UTF-8
C++
false
false
6,522
h
AtomicCounter.h
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2004 Scientific Computing and Imaging Institute, University of Utah. License for the specific language governing rights and limitations under Permission is hereby granted, free of charge, to any person o...
6886615f91280f9162b87a8fa7dd39c27e58aca0
01571f630ca3fae0e8bf3a43e98fde6ac61fb1ea
/1521.cpp
6a2f84ba7215eedf6abfad036cd2de3a12881910
[]
no_license
etolew/jzoffer
ca7a8e02b15d8fd6d62562358db78e66a15633c4
2eaa052b24903cc267d977896662338f23ff650b
refs/heads/master
2016-09-06T12:47:30.145245
2014-09-25T16:27:52
2014-09-25T16:27:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
983
cpp
1521.cpp
#include <iostream> #include <vector> #include <cstdio> using namespace std; struct tn{ tn *left; tn *right; int val; tn(int x):val(x),left(NULL),right(NULL){}; }; void tp(tn *root,vector<int> &r){ if(root==NULL) return; r.push_back(root->val); tp(root->right,r); tp(root->left,r); } int main(void){ int n; ...
44a9d840a16268790b454a3aa61d7463a73f1a02
1746d2ff02cfd9544c1676a1b49006b275d7536e
/infinite-evolution-master/06_产品验收/产品包/源代码及可执行文件/infiniteEvolution/player.h
a05b60c6635761b4f0b6ad56155a0e8950f41f5d
[]
no_license
ZifeiMo96/Infinite-evolution
c2d5af08eaf3e9118237690fb1f29033702e4d51
32cbd26e3d6dee94411f1d691af664ffe82771fa
refs/heads/master
2023-01-21T15:30:42.609574
2020-12-05T08:25:46
2020-12-05T08:25:46
318,730,654
0
0
null
null
null
null
UTF-8
C++
false
false
1,578
h
player.h
#ifndef PLAYER_H #define PLAYER_H #include <QPainter> #include "monster.h" #include "prop.h" #include "bullet.h" #include "obj.h" class Player:public Obj { public: Player(); void getProp(Prop &obj); void attackMonster(); void buyProp(Prop &obj); //__________________________ void die(); ...
d5614602108fd481605e620562236414ad07a480
dfc15216ae4a0728ab4cba34f0449f2e90b017d3
/DirectX12/DirectXManagers/swapchain/SwapChainManager.cpp
2ca05d088f16b98b8f8083897d79842cc19f5356
[]
no_license
Turuponn/Yellowstone-Woods
172d9462ff4065e4f0f3facafb016c653bc3b0b8
b059be473330316014fd1744b2c751638d4482cf
refs/heads/master
2022-01-23T19:03:24.666256
2019-07-22T03:14:18
2019-07-22T03:14:18
191,071,763
0
0
null
null
null
null
UTF-8
C++
false
false
1,959
cpp
SwapChainManager.cpp
#include "SwapChainManager.h" #include "constance.h" #include "Library\GameError.h" #include "Library\DirectX12Create\SwapChainCreate.h" #include "Library\DirectX12Create\SwapChainViewCreate.h" #include "DirectXManagers\Device\D3D12DeviceManager.h" #include "DirectXManagers\comand\ComandManager.h" #include "DirectXMana...
f69473b96b497339d38bef53f5de28a37bc597cd
606c34e2ceae24de9f8331ba8964c493e9d8565d
/CogEye/App/src/CogQueue.cpp
e750b7de03729d87d1f6a7cb78f4d7274901b8ee
[ "Apache-2.0" ]
permissive
Bounty556/CogEye_GameJam_Old
b584e6a8e7dd0fe3c09ba4e1489e0ee2d9f4a416
c4f678cad9542f7d595510849779ffb46f26e016
refs/heads/main
2023-06-03T10:22:56.119433
2021-06-13T17:51:42
2021-06-13T17:51:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,380
cpp
CogQueue.cpp
#include "CogQueue.h" #include <UI/UISprite.h> CogQueue::CogQueue(Soul::FontManager& fonts, Soul::TextureManager& textures, u32 smallCogs, u32 medCogs, u32 largeCogs) : m_UI(), m_Listener() { m_CogsLeft[0] = smallCogs; m_CogsLeft[1] = medCogs; m_CogsLeft[2] = largeCogs; m_CogText[0] = PARTITION(Soul::UILabel, S...
e872483699e7669d080028d59efe24ad698c4478
de25a7fa9e0de4280fc3a40b75c064d43511ac20
/Phoenix3D/Projects/Client/Sample/SampleManager.hpp
5ea6c729ae9423261b072d487f9f3ce90ae861f6
[]
no_license
CharlesHo110/Phoenix3D_2.1
988d8e0cb5b5e785b275762b1249742f24859e50
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
refs/heads/master
2020-05-25T18:54:26.077118
2016-02-12T03:05:53
2016-02-12T03:05:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
431
hpp
SampleManager.hpp
// SampleManager.hpp #ifndef SOCCERMANAGER_HPP #define SOCCERMANAGER_HPP #include "SamplePre.hpp" #include "PX2EventHandler.hpp" #include "PX2Singleton.hpp" namespace PX2 { class SOCCER_DLL_ITEM SampleManager : public EventHandler { public: PX2_SINGLETION(SampleManager); public: void Initlize(); void Ter...
10e61ec8a89e39e98a2360611a2d6dc1d7b2aede
ddb42e07f603a488ffd91c74fdf0370a7c29bdf8
/Source/GetStarted/Gameplay/WeaponItem.h
1d829cfabd0fadfa0ffbd433589cde7168236f35
[]
no_license
FacelessXcy/GetStarted
e2310aba12f8615c96725e1832f1109c572724d7
ac8d447d89b2073dea572dfbc1d7edeb616e3436
refs/heads/master
2022-07-17T01:42:47.776302
2020-05-18T11:34:11
2020-05-18T11:34:11
264,912,327
1
0
null
null
null
null
GB18030
C++
false
false
2,429
h
WeaponItem.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Gameplay/InteractableItem.h" #include "Sound/SoundCue.h" #include "WeaponItem.generated.h" //表示武器自身的状态 UENUM(BlueprintType) enum class EWeaponState :uint8 { EWS_CanPickup UMETA(DisplayName...
c1df28747a1b5f0997423db99a21502e4326ccaf
253f544a61d8ecb1acb04d761dd4479df224c32d
/c++/1.mode_256_without_the_mod_operator.cpp
cc9e504ddd12589515c2b8be8491d725ce08bd37
[]
no_license
wangrui22/algo-perday
a53d6d50dd65a72e341881cec07f1fa316a9afbb
9adbc238d197d957f76bb84b6cd0d7db391d01e4
refs/heads/master
2021-08-19T13:47:55.421306
2017-11-26T12:03:47
2017-11-26T12:03:47
103,291,076
0
0
null
null
null
null
UTF-8
C++
false
false
1,690
cpp
1.mode_256_without_the_mod_operator.cpp
/*#MOD 256 without the MOD operator The MOD-operator % (aka mod/modulus/remainder): Returns the remainder of a division operation. The sign of the result is the same as the sign of the first operand. (Different behavior in Python!) The short unbelievable mad story for this kata: I wrote a program and needed the remai...
a2a377602448c55dbe72e2db040aa86d979cf906
ba6b74da096af6cd0be549ecf95a8d80224d5d66
/算法书中代码/程序4-9 计算左闭右开区间内的元素和.cpp
e1ca73a27d28f7402619a69a81fc6989643b2341
[]
no_license
zpfbuaa/Algorithm-Data-Structures
fe481d5f8d76ef3ff3e90219b9e32bce8f25b69d
b53be17d2fe26eff6b85dfe74ac7b8fbcf588dbb
refs/heads/master
2020-12-31T05:09:51.738873
2017-12-16T09:38:13
2017-12-16T09:38:13
57,886,065
2
0
null
null
null
null
UTF-8
C++
false
false
410
cpp
程序4-9 计算左闭右开区间内的元素和.cpp
#include <iostream> #include <cstdio> #include <cstdlib> #include <cstring> #include <iomanip> using namespace std; int sum1(int *begin,int *end) { int n=end-begin; int ans=0; for(int i=0;i<n;i++) { ans+=begin[i]; } return ans; } int sum2(int *begin,int *end) { int *p=begin; i...
6b94cace452e357a262d1db787073c32698bf01a
498de28257c636ace91e895d734ee3b46740e9d1
/src/geometry.cpp
ef5f28764fd8a936d484efc6d7e519a685da5174
[ "MIT" ]
permissive
voyagingmk/renderer
eceece741c1e8d9e5ad5e4277a187d5925f0048b
c2dfddb611b99691e67701a726c404baa1759abb
refs/heads/master
2021-01-19T01:53:57.428834
2017-07-18T11:58:20
2017-07-18T11:58:20
44,680,426
2
0
null
null
null
null
UTF-8
C++
false
false
90
cpp
geometry.cpp
#include "stdafx.h" #include "geometry.hpp" #include <algorithm> namespace renderer { }
301f8f696f984fb8f34d18c8bb8363aa79069f3c
cce7d2a4824023d94aa4b5df277a8d22e714b6ee
/src/token.cpp
bce11c949f6442cfed3d8d814293ed124e42441f
[]
no_license
Mithun-windows-linux/HearthCpp
4957d2c7c56aad20b4999225b248ff332c742504
31579a527a909ba72c7f90891e657d5e7d27dbf6
refs/heads/master
2023-03-26T03:38:09.572793
2021-03-19T04:47:06
2021-03-19T04:47:06
347,695,789
0
0
null
2021-03-14T16:51:39
2021-03-14T16:51:38
null
UTF-8
C++
false
false
771
cpp
token.cpp
#include <token.hpp> Token::Token() { // Welcome to Token()! // This is just a lounge! // Be my guest. // std::cout << "Token object has been instantiated!\n"; // My life's purpose is complete! // Please hold on to your seatbelts and pray to all the non-existent gods. } Token::Token(std::stri...
c403086ca66f8fc0f2e095116a1992b2a7da4de1
aa0dbd3623412d63d611e16d57ee353a3c71f43e
/CS202/Lab3/Program3/table.h
6d7deadcd186faf07cd8b55554e8219595ad85a4
[]
no_license
hgsingh/SamplePrograms
6b41704821fc92ce76fc8b5ff02c0eaf150f0bba
6b5118bde6f3f2f7e5adaed6c20d14371d041860
refs/heads/master
2021-01-10T10:40:47.072540
2015-12-30T19:26:11
2015-12-30T19:26:11
48,816,342
0
0
null
null
null
null
UTF-8
C++
false
false
6,929
h
table.h
//@author harsukh singh CS202 assignment 3 //5/11/2015 #include <iostream> #include <fstream> #include <cstring> #include <cctype> #include <cstdlib> /*********** *@author harsukh singh *@class song class has data of a song, artist genre ***********/ class song { protected: char* title; //title of song...
e33a08ead544df6bfc2a084a6857599ed306b85a
8c7ffc376fe2471bb773fea8a66f969ca2154faf
/q35_Search_Insert_Position.cpp
7d8f4e1d3b46023ce60394e2666dccb34fe0f018
[]
no_license
fitzho/Programming_HW
6c34019424c76367455f9cda5e4c684096139474
ada09eda181808cc89be9a7a048e5497341f48b3
refs/heads/master
2021-01-09T20:52:28.968801
2017-08-04T08:31:56
2017-08-04T08:31:56
59,169,834
0
0
null
null
null
null
UTF-8
C++
false
false
828
cpp
q35_Search_Insert_Position.cpp
class Solution { public: int searchInsert(vector<int>& nums, int target) { int a=0; int length_num; for (int i=0;i<=nums.size()-1;i++) { if (nums.size()==1)// if num. of array = 1 { if (nums[i]==target) { a=i...
68a0a77dfd6e1c42d750d2bf13b966518ab087ea
3baffc040c8c8b330fb355a76a02d9629caf875f
/libs/core_logic/DirectedEdgeGraph.h
cf3db7b989a0649e14f73f47b82069767bc3d0db
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
max-delta/retrofit-public
76ded1e506ed37796d40cc5ddbf0b71db7a0fb46
e294fc356ad3fbee28d3637c2a524d051d57bd0f
refs/heads/master
2023-09-03T11:53:23.988590
2023-09-02T01:49:59
2023-09-02T01:49:59
203,477,950
3
0
NOASSERTION
2019-08-21T06:39:47
2019-08-21T00:55:32
C++
UTF-8
C++
false
false
7,494
h
DirectedEdgeGraph.h
#pragma once #include "core/macros.h" #include "core/meta/Empty.h" #include "rftl/unordered_map" #include "rftl/unordered_set" namespace RF::logic { /////////////////////////////////////////////////////////////////////////////// template< typename TNodeID, typename TEdgeMetaData = EmptyStruct, typename THash = r...
4efd96c62fbb750f477f4ae8d33363d1aaa05581
2b1b459706bbac83dad951426927b5798e1786fc
/src/storage/minfs/vnode.cc
22eaffa4a78c6344b34769fa3d0fae51cb532fdc
[ "BSD-2-Clause" ]
permissive
gnoliyil/fuchsia
bc205e4b77417acd4513fd35d7f83abd3f43eb8d
bc81409a0527580432923c30fbbb44aba677b57d
refs/heads/main
2022-12-12T11:53:01.714113
2022-01-08T17:01:14
2022-12-08T01:29:53
445,866,010
4
3
BSD-2-Clause
2022-10-11T05:44:30
2022-01-08T16:09:33
C++
UTF-8
C++
false
false
26,547
cc
vnode.cc
// Copyright 2016 The Fuchsia 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 <fcntl.h> #include <lib/syslog/cpp/macros.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <time.h> #include <unistd.h> #...
1b5b23d911551c3aebfbc78dea6d21073395c752
842997c28ef03f8deb3422d0bb123c707732a252
/src/uslsext/USImage.h
bedd104d5a39b06d6c87b2a6af1a010d1796aaac
[]
no_license
bjorn/moai-beta
e31f600a3456c20fba683b8e39b11804ac88d202
2f06a454d4d94939dc3937367208222735dd164f
refs/heads/master
2021-01-17T11:46:46.018377
2011-06-10T07:33:55
2011-06-10T07:33:55
1,837,561
2
1
null
null
null
null
UTF-8
C++
false
false
3,201
h
USImage.h
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved. // http://getmoai.com #ifndef USIMAGE_H #define USIMAGE_H #include <uslsext/USColor.h> class USData; //================================================================// // USImageTransform //==============================================...
8153ce3840113179e84fb7dd067042b36841da76
95cf609f397eccb095cc453cecdefc7516362cde
/Grocery.cpp
be86505724b2167ccedec33c8ca2468ba7bcc74b
[]
no_license
powersjt4/GroceryStore
2b16ca510b3f1de82c589a876f15f5f132f3b8cc
a275b8559befde6a68944527b825ef1a2bf24ee1
refs/heads/master
2021-03-30T21:04:46.910976
2018-05-07T21:05:46
2018-05-07T21:05:46
124,706,674
0
0
null
null
null
null
UTF-8
C++
false
false
817
cpp
Grocery.cpp
#include "Grocery.hpp" Grocery::Grocery() { makeSpace(); } //Connects all the pointers in the objects void Grocery::makeSpace() { //Entry way sets entry.setTop(produce_dept); entry.setRight(meat_dept); //Produce department sets produce_dept.setBottom(entry); produce_dept.setRight(dairy_dept); //Meat sets mea...
04cd922b52f3af84070395f7075a187bb36456cf
5261c0e4179c4d74eacba7bab369bfd50d8e4a2a
/test.cpp
411ecc8279a617734716183797d503b5b7d888ef
[]
no_license
bbbales2/adjoint
7890277f15984b8b809fff83940ab025e1eb08db
b61c071afdda17bac62ecfc7126e642694ce2435
refs/heads/master
2020-03-29T02:45:23.752122
2017-06-17T20:23:44
2017-06-17T20:25:31
94,646,970
0
0
null
null
null
null
UTF-8
C++
false
false
1,123
cpp
test.cpp
//#include <stan/math.hpp> #include <iostream> #include <vector> //using namespace stan::math; int main(int argc, char **argv) { double a = -1.0; double b = 1.0; double dt = 0.001; int N = int(5.0 / dt); std::vector<int> print = {10, 20, 40, 100, N}; std::vector<double> y = {1.0, 0.0}; std::vector<std...
4ee1c3a9fa4f603f2abf85a819b7c9c50a2202fe
8431e5f305e00e940c1e5cfcc4b2323e31f04510
/Structural Design Patterns/Decorator/StreamLibrary/OutputDecorator.h
89ca401f4b1b5da6ad83a2d2edaf8eb7867eb5c8
[]
no_license
Tcrumy/Cpp-Design-Patterns
4cf6a9497582cc3655ca1d79db59a20b6b2c3215
3957420a86478134e61817e376b4ad015ba89470
refs/heads/main
2023-07-16T21:01:14.985517
2021-08-26T18:42:22
2021-08-26T18:42:22
373,353,440
0
0
null
null
null
null
UTF-8
C++
false
false
522
h
OutputDecorator.h
#pragma once #include "OutputStream.h" // OutputDecorator will be the base class for all OutputStream decorators. // The OutputStream interface is inherited, and an OutputStream pointer is // composed allowing OutputDecorator to call OutputStream methods though the // pointer class OutputDecorator : public Out...
9dedbc2e7e2987ce5b18a2326a817c35aea59a49
4065558998be3970b32c15f9ccc8ac0954a1b428
/code/code.ino
568ec77916fa76ea11dfc83ff1bbeeafd7efe3dd
[]
no_license
YINZihua/CEA-Sensor-Project
3b0c14b63ec2e975a8a2cc7d7347854edeace63b
c7df22460a377e538be56f33078ce2c3c9a6facc
refs/heads/master
2020-04-02T11:26:57.452404
2018-10-23T19:59:23
2018-10-23T19:59:23
154,388,698
0
0
null
null
null
null
UTF-8
C++
false
false
1,423
ino
code.ino
#include "constant.h" #include "variable.h" void setup() { // la transmission en série doit toujours ouverte pour que le logiciel puisse transférer les messages d'erreur Serial.begin(9600); //0 : initialisation de boutons bp.bouton_init(); i2c.i2c_init(); // //1 : i6nitialisation de l'afficheur...
3676ac02ea338a353669c4fede9cc0a10e89c1cc
6d0a2ebc0553db56e108b3e174fa8c58a7b8139f
/src/graph/Shard.h
19c9623d01878c7af4c6ae34e1b681282f2511a7
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
odhiamboobuya/ragedb
8729651d56178278ed3c630b89b8ab5d2c827923
5378f8390acadda62600363f5fd8f009fc3c7f7a
refs/heads/main
2023-07-28T14:30:30.917334
2021-09-08T00:18:37
2021-09-08T00:18:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
59,986
h
Shard.h
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * 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 ...
b4f07549a9eba2d4b98aaa5ab8d89b189e97e511
524bfaed284c4db9be2b0d1333e1793c944a9091
/test/octree/morton_tests/property/dilation.h
0abd5503e9f3ab97c23aa5ca4a9c0e7b01a63cb8
[]
no_license
Ingwar/gydra
b1cf3e4fa597408491b1429d83295fb801fd4515
9e4772a47228e46f7397cd6bbda86dcd1bf1ae86
refs/heads/master
2021-01-02T08:52:09.351900
2015-02-18T17:49:14
2015-02-18T17:49:14
21,161,438
0
0
null
2015-02-18T17:49:14
2014-06-24T10:55:55
null
UTF-8
C++
false
false
1,193
h
dilation.h
#ifndef GYDRA_TEST_OCTREE_MORTON_PROPERTY_H_ #define GYDRA_TEST_OCTREE_MORTON_PROPERTY_H_ #include <cstdlib> #include <ctime> #include <bitset> #include <test/property/property.h> namespace gydra { namespace octree { namespace morton { namespace helpers { namespace test { namespace property { using gydra::test...
f0131b3c7e1620d0f4ded8530d112fa07c3b24b7
189f52bf5454e724d5acc97a2fa000ea54d0e102
/ras/fluidisedBed/1.37/U.particlesMean
073e5d1f26c7b45d03d3b1cb3ecebf68b8a13689
[]
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
154,422
particlesmean
U.particlesMean
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1606+ | ...
846482179bdccf19b4b68d7239f40c04cf4b0e51
3ecb8a30291636c56e60231eb8719e3c7ec70010
/Calculator.cpp
d6abfd4cc57a4b5dbf348541560b52cbeba03b9c
[]
no_license
Artem42rus/Calculator---projectTRPO
ef6d1fc0dfb6c251d71fbf9656fe4feb670a0d0c
0145acb7d320456dd8d4611ae66c1fea4375ba30
refs/heads/master
2021-01-21T20:01:35.368764
2017-06-02T17:15:39
2017-06-02T17:15:39
92,183,409
0
2
null
2017-05-30T20:36:54
2017-05-23T14:36:51
C++
UTF-8
C++
false
false
219
cpp
Calculator.cpp
#include <iostream> #include <math.h> #include <iomanip> #include "Function_declaration.h" using namespace std; bool done = 0; int main() { while (!done) { done = ShowMenu(); } return 0; }
e2561855040cd87ac9e1394914ec5eaf89f93e85
f0749ffea2a953a324a26906b7dc3bd95ac06e60
/Model/Primitives/WaldTriangle.h
3b3ff82191d01a384bd3f5da01cdc63a5446906b
[ "MIT" ]
permissive
jeffamstutz/rfManta
36970d20ef79907db250da83ec1e672943c199fe
77b3f8688f09719a9027a02777832bb734fc8431
refs/heads/master
2021-01-10T08:57:37.803549
2015-03-13T12:47:47
2015-03-13T12:47:47
48,449,383
1
0
null
null
null
null
UTF-8
C++
false
false
1,812
h
WaldTriangle.h
#ifndef Manta_Model_WaldTriangle_h #define Manta_Model_WaldTriangle_h #include <Model/Primitives/MeshTriangle.h> #include <Interface/RayPacket.h> #include <Core/Geometry/Vector.h> #include <Core/Geometry/Ray.h> #include <Core/Geometry/BBox.h> #include <Model/Groups/Mesh.h> namespace Manta { class WaldTriangle : pu...
77864b623ca5be0df333da669a32b364a550f322
a435a8fd913b709b16ac547174e0bd32132b1fc6
/src/main.cpp
b1d5d6377ea430788d961b4d4f39438472f08b27
[]
no_license
gnuwilliam/cpp-log
424488fe215ef0ca38ce69ef9bad16a05f39b882
6f26c974040005397d9c063b9dff7bba85ea7598
refs/heads/master
2020-05-19T15:13:41.813160
2019-05-05T21:56:42
2019-05-05T21:56:42
185,080,693
0
0
null
null
null
null
UTF-8
C++
false
false
229
cpp
main.cpp
#include <iostream> #include "Log.cpp" int main() { Log log; log.SetLevel(Log::LevelWarning); log.Info("this is some info"); log.Warn("this is a warning"); log.Error("this is an error"); return 0; }
7696ab27deaa1819bd4d033982cd61df13a3f528
cf520a9beaf3b5abee463c285efe8130eef1f182
/pellets/z_win_utils/md5.hpp
0a3ae5f64e682347d6973b1463ab51883bb1b96a
[ "Unlicense" ]
permissive
AlexXChina/zpublic
c78eb51b6c9879943d8e4b46cac3e15f837038a3
78caa5d9972c94b8c5cb69d46275d4ecac12fcc8
refs/heads/master
2021-01-22T12:48:49.712690
2015-09-01T15:33:33
2015-09-01T15:33:33
43,356,201
1
0
null
2015-09-29T08:56:35
2015-09-29T08:56:35
null
GB18030
C++
false
false
11,661
hpp
md5.hpp
/************************************************************************* * * * I|*j^3Cl|a "+!*% qt Nd gW * * l]{y+l?MM* !#Wla\NNP NW MM I| * * PW ?E| ...
5cb14f0e3e23cc058131df44d18b3ac2e9394ce8
1143c5692229f098fe5b0641015df40ed41021f1
/irtree-canonization/include/visitors/Visitor.h
25c3f83bf831532450a5a747b1f55fd54bb68b12
[]
no_license
artyomnurgaliev/CompilersCourse
97347adf13a96369d62fd797a2e0c173bdf62ecc
0116ca3db5156b725079b5a59587ea51cb661e84
refs/heads/master
2021-02-08T06:54:49.673805
2020-05-24T08:10:20
2020-05-24T08:10:20
244,121,326
0
0
null
2020-03-01T09:30:53
2020-03-01T09:30:52
null
UTF-8
C++
false
false
3,012
h
Visitor.h
#pragma once #include "forward_decl.h" class Visitor { public: virtual void Visit(SimpleType* simple_type) = 0; virtual void Visit(ArrayType* array_type) = 0; virtual void Visit(AssertStatement* assert_statement) = 0; virtual void Visit(AssignmentStatement* assignment_statement) = 0; virtual void...
fcaaca50b8d28de02acb920514e862636f73f83e
45035a80578fff81dca13ffd9ea3b6434784ec4b
/3_1920.cpp
73c610a3937f60e61e75aa3b68f9620d72bc9ebd
[]
no_license
Heo-Hyunjung/CodeCure-Algorithm
c2c5f1ab6218b1ef45b8e2a87d8c23b815b717fb
e4160540f0bb24efb1e914b377e81720ded965b1
refs/heads/main
2023-09-04T22:01:20.227814
2021-11-03T08:25:21
2021-11-03T08:25:21
424,143,475
0
0
null
null
null
null
UTF-8
C++
false
false
715
cpp
3_1920.cpp
#include <iostream> using namespace std; bool findNum(int arr[], int n, int data) { int start = 0; int end = n - 1; int mid; while (end-start>=0) { mid = (start + end) / 2; if (arr[mid] == data) return true; else if (arr[mid] > data) end = mid - 1; else start = mid + 1; } ret...
3d09b7ba11414a636e9b9e0046935abd685e97c5
86b235e857b1ba3f345fa16096875882b6af78c6
/monocular_servo/camera_control/include/target_path_track.hpp
ee4b3bb914da069b54c51ea0c7d0c27b1c84dbfa
[]
no_license
kevinchow1993/air_manipulator
00ed2328c601768c60c61cf93a34b79ca6fdd901
cc4aa6f6d3e0e8146546b3858098325161498f9e
refs/heads/master
2020-03-25T11:11:54.790059
2018-08-17T03:46:04
2018-08-17T03:46:04
143,722,604
0
0
null
null
null
null
UTF-8
C++
false
false
1,521
hpp
target_path_track.hpp
#ifndef TARGETPATHTRACK_H #define TARGETPATHTRACK_H #include "ros/ros.h" #include <stdio.h> #include "serial.h" #include <camera_control/ServoPos.h> #include <camera_control/CameraPos.h> #include <camera_control/TagLost.h> #include <tf/transform_broadcaster.h> #include <tf/transform_listener.h> #include <Eigen/Eigen...
a8a9f8a4ec65200edecea2c764fae483720466d8
d20b0700c00103be9ee334739ed4e394b16433e0
/Testing/particle_test.cpp
15677006e63861f43c73a80c87df4c233577aeb0
[]
no_license
bdruci/TRMM_infmed_2G
4c6f5251df72c037a94988e043a89c9dd87e0ca8
b21369145cdc7efade75c3095fd3a1da84cd6c54
refs/heads/master
2020-03-22T06:23:25.317720
2018-08-16T16:48:22
2018-08-16T16:48:22
139,630,076
0
0
null
null
null
null
UTF-8
C++
false
false
756
cpp
particle_test.cpp
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include <limits> #include "Catch.h" #include "Particle.h" TEST_CASE( "Particle", "[Particle]" ) { int group = 0; double x = 1.0; double mu = 0.5; Particle theParticle(group, x, mu); // test prope...
17755a4452361792b96375b7f2bc8eca23b2b3e7
cf0510d88d177fc8e223e545fd9213d6f7305d43
/applicationmodel.hpp
4c240ae23498cb92f82899d36b5612f3c82918ca
[]
no_license
knvmbox/phonebook
c3bf838e5aee865a1c777ed56b537b587986bda6
072421ac71d70f3e539675a6cd44a925703720b1
refs/heads/master
2021-05-13T22:03:19.517641
2018-01-06T20:52:36
2018-01-06T20:52:36
116,267,045
0
0
null
null
null
null
UTF-8
C++
false
false
647
hpp
applicationmodel.hpp
#ifndef APPLICATIONMODEL_HPP #define APPLICATIONMODEL_HPP #include <QList> #include <QObject> #include <QSqlDatabase> #include "person.hpp" /////////////////////////////////////////////////////////////////////////////// class ApplicationModel : public QObject { Q_OBJECT public: ApplicationModel(); cons...
d35520c9f87914213b70b8bee23be3fe19fe4972
f84de8a5878cb409d487e8e0879b8336a824c800
/Troca.cpp
937ef46bceff6d5a79729e76a0408b7db13fe109
[]
no_license
milene123/codigos-de-programacao
b13c92a4b7f155c13f47df76fa88f4a9affac4af
cbfb32b9f02891011e1dbd6d8c2befccbc848cbd
refs/heads/master
2021-01-17T10:12:47.424852
2017-03-05T22:49:37
2017-03-05T22:49:37
84,007,949
0
0
null
null
null
null
UTF-8
C++
false
false
1,630
cpp
Troca.cpp
#include<stdio.h> #include<conio.h> #include<stdlib.h> main(){ int A[]={3,2,4,6,8}; int B[]={7,1,9,0,3}; int C[5]; int D[]={1,5,9,8,6}; int E[]={69,82,56,14,63}; int F[5]; int i; printf("valores originais:"); for(int i=0;i<5;i=i+1) { ...
69daa9be32da459dd1b0ce024768b26ae097066e
9c1971ad1e4ba01d7177a8e63fbb67203a0a03df
/problems/1552/solution.cpp
33082dd3a74091197cb750c7edd6814317817ee8
[]
no_license
virtyaluk/leetcode
cb5a7d0957be353125861b1b9d41606f4729248a
2a1496e5deaf45b28647e713a82b1f5b456888fa
refs/heads/master
2023-07-07T16:52:23.152194
2023-06-24T00:50:09
2023-06-24T00:50:09
166,505,868
1
0
null
null
null
null
UTF-8
C++
false
false
775
cpp
solution.cpp
class Solution { public: int maxDistance(vector<int>& position, int m) { sort(begin(position), end(position)); int lo = 0, hi = position.back() - position.front(); while (lo <= hi) { int mid = lo + (hi - lo) / 2; if (count(position, mid) >= m) { ...
3b848ad05e558bc07cc4b794d9ae9a265baedce3
5633a6aa3a067059989e58e9163c3246c4ac54f7
/client.cpp
80539500e4fee7d60b0f733d75feed6edd03ba5f
[]
no_license
comradez/MyDouDizhu
215fb035578142c1a548c6a9668189e3e52396b3
9b5c0b0d0bb8a895cd970272bd71047886254e9a
refs/heads/master
2022-12-09T08:45:35.618912
2020-09-06T09:13:54
2020-09-06T09:13:54
291,502,462
0
0
null
null
null
null
UTF-8
C++
false
false
1,154
cpp
client.cpp
#include "client.h" Client::Client(QObject *parent) : QObject(parent) { socket = new QTcpSocket(nullptr); connect(socket, &QTcpSocket::readyRead, this, [=](){ emit readyRead(); }); } Client::Client(QTcpSocket* _socket, QObject *parent) : QObject(parent) { socket = _socket; connect(socket, &QTcpSocket:...
d728c8a45c437b83db2f59f248a45bced4f87b53
d71b2e783efd8434c14bd0ffa6b8a89654178c47
/cpp_project/learning_cpp/include/intro.h
f079354ae21e605657f4e9173cd1939909791a15
[]
no_license
Abdelilah-Majid/5-games
273bbf9004e61d27994177354100b9f0f846aa57
e8223c87518dc12031dbec3de0a64361b839bc99
refs/heads/master
2023-07-06T13:50:26.395576
2021-08-13T11:00:53
2021-08-13T11:00:53
358,729,524
1
0
null
null
null
null
UTF-8
C++
false
false
516
h
intro.h
#ifndef INTRO_H #define INTRO_H #include <iostream> #include <Godot.hpp> #include <Control.hpp> #include <SceneTree.hpp> #include <ResourceLoader.hpp> #include <Ref.hpp> #include <PackedScene.hpp> #include <Viewport.hpp> namespace godot { class Intro: public Control { private: GODOT_CLASS(Intro, Control) ...
6b9ff3fe2fca754d7c6b0c309653d676f24ff7b5
694b5eca0310813c9d9ceb481558efc6f7fb3d50
/test/test_fs.cpp
2a8bb5b33b4d296f868623a805ae7312f0445a41
[]
no_license
toyobayashi/jscpp
16010c5381a5c019e9bf88800029c22644273e5e
138f64235558c8b29b5ba4d0f1cd27fcd61cd165
refs/heads/main
2023-03-27T06:55:48.128321
2021-03-23T10:27:01
2021-03-23T10:27:01
347,023,697
0
0
null
null
null
null
UTF-8
C++
false
false
4,167
cpp
test_fs.cpp
#include "gtest/gtest.h" #include "jscpp/index.hpp" using namespace js; #if JSCPP_USE_ERROR #define JSCPP_EXPECT_THROW(exp, msg) EXPECT_THROW(exp, Error) #else #define JSCPP_EXPECT_THROW(exp, msg) EXPECT_DEATH_IF_SUPPORTED(exp, msg) #endif TEST(jscppFilesystem, statAndLstat) { JSCPP_EXPECT_THROW(fs::stat("noexists...
aaeb7f5991359cd0bd263bf974ff060a2b341f14
8833011bef1ff15590f655cc4fedbfbd8f7a63d6
/DoubleLIst.h
39a6a2aaac11feca2db4f8ee4e94c8298cda8d41
[]
no_license
Yosoyfr/EDD_1S2020_PY1_201807190
88a4b57fab6b9bce54ef32e7f6b3560564759b11
953321d09a74662e2bb6f2afe35d30d4e30221d1
refs/heads/master
2022-04-12T13:26:46.292933
2020-04-05T20:25:55
2020-04-05T20:25:55
248,417,851
0
0
null
null
null
null
UTF-8
C++
false
false
6,891
h
DoubleLIst.h
#ifndef DOUBLELIST_H #define DOUBLELIST_H #include<Objects.h> class DoubleList { class Node{ private: //Atributos del Node para una lista doble para las palabras del diccionario Node *next; Node *previos; Game_Piece data; public: //Constructores del Node para el Ga...
0cf62a9ec3e23eacc357850de2f7f41926f66cda
8e6c0dea3f7a64f37c3d79844dd3328e38434c7d
/RougeLikeGame/Player.cpp
74283a1ee1ed357a464be6565ee3159f780d87dc
[ "MIT" ]
permissive
ShannonSimpson/RougeLikeGame
d44f21493238501c0b2ec1d5705ab22ad4b228a8
a99c4da6e6cac404af3b52882ac149b85069bcb4
refs/heads/master
2016-09-11T13:41:46.361445
2014-12-10T22:04:20
2014-12-10T22:04:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
702
cpp
Player.cpp
//Player.cpp //Shannon Simpson //Shannon.Simpson@uky.edu //PA3 #include "Player.h" using namespace std; Player::Player() { string name; cout << "What shall we call you here? "; cin >> name; cout << endl; if (name == "God") { Entity::setName(name); character = 'G'; startHP = 10000000000000000; ...
8adc76b4d225848a861388fff6f5f2290d165867
ee25f3a06598f9743ff551ce0529b90dab54383f
/source/d3d9/runtime_d3d9.hpp
3d44bbe6341ae4a947edc6260b3f65eee6987f33
[ "BSD-3-Clause" ]
permissive
lybxlpsv/reshade
e87e4a059990179bea5575e4359bb144a5030b16
9606c088dc41a7940dc10af21642035cef326094
refs/heads/master
2020-07-31T11:22:27.574766
2019-09-24T11:35:56
2019-09-24T11:35:56
210,586,913
3
0
BSD-3-Clause
2019-09-24T11:35:01
2019-09-24T11:33:53
null
UTF-8
C++
false
false
4,444
hpp
runtime_d3d9.hpp
/** * Copyright (C) 2014 Patrick Mours. All rights reserved. * License: https://github.com/crosire/reshade#license */ #pragma once #include "runtime.hpp" #include "effect_expression.hpp" #include "state_block.hpp" namespace reshade { enum class texture_reference; } namespace reshadefx { struct sampler_info; } na...
f13544765c229dd68c0162c6c1ef11a1beef9e0e
d86b6cedb574e2e24ca324cc33f085b235d9b098
/mod04/ex00/Victim.hpp
44e244ff09d5f274c3071decb5bffeca48e50cf8
[ "Unlicense" ]
permissive
paozer/piscine_cpp
1382ab25eb3f6c0d126f2d29072ef79d10feb645
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
refs/heads/main
2023-06-15T12:45:16.141066
2021-07-12T22:40:57
2021-07-12T22:40:57
272,977,076
0
2
null
null
null
null
UTF-8
C++
false
false
484
hpp
Victim.hpp
#pragma once #ifndef VICTIM_HPP #define VICTIM_HPP #include <iostream> class Victim { public: Victim(const std::string& name); Victim(const Victim&); virtual ~Victim(); Victim &operator=(const Victim&); std::string getName() const; virtual void getPolymorphed() con...
22c204c51f8ea998f3c246843270d0412392dcc1
65deb9a4778f2498cc39e33a5aaa39f744625526
/nnet.h
59cf16d24dbef6ce0e4e1ad12fea4cfcdab6e632
[]
no_license
runyanjake/plane-nnet
918c150b0e6bdcaaa9f6f17dee4fd44ffe604d08
2f8bbea90d18a6339e048f6ba24896f04df94b37
refs/heads/master
2018-10-22T01:25:36.033135
2018-07-20T23:41:12
2018-07-20T23:41:12
114,495,875
0
0
null
null
null
null
UTF-8
C++
false
false
2,493
h
nnet.h
// $Id: nnet.h,v 1.2 2018-01-14 20:34:56-07 - - $ #include <iostream> #include <vector> #define MAX_CONNECTION_NUMBER 100 //may not be neeeded #define MIN_CONNECTION_VALUE 5 //PERCENTAGE #define MAX_CONNECTION_VALUE 95 //PERCENTAGE #define MAX_NODE_VALUE 5.0 //MAXIMUM INTEGER VAL #define MIN_NODE_VALUE 0.0 //MINIMUM ...
22c655c99760af157a5287998b9b46de5d193e8f
6d731b65d683efee80f7f6258394ccce03114ad4
/kernel/devices/terminals/serial_terminal.h
b8eb163de3bc3c43d7e3500595fd9f28514ada09
[ "MIT" ]
permissive
martin-hughes/project_azalea
ea42bfab9476a8a1468258a2c9b3556f424bf54d
28aa0183cde350073cf0167df3f51435ea409c8b
refs/heads/master
2021-01-12T13:52:43.348262
2020-05-16T09:56:37
2020-05-16T09:56:37
68,834,754
13
6
null
2016-10-08T09:41:03
2016-09-21T16:09:36
C++
UTF-8
C++
false
false
840
h
serial_terminal.h
/// @file /// @brief Declare a VGA text-mode terminal. #include "devices/generic/gen_terminal.h" namespace terms { /// @brief A terminal using a serial port for I/O. /// class serial : public generic { public: serial(std::shared_ptr<IWritable> keyboard_pipe, std::shared_ptr<IWritable> output_port_s, ...
cda1d92a01bf99129f00cc27027f0e02e4640463
d8afde65219ff3b137846568bbcd88ee1332c111
/worksheet_A/TerminalHacking.cpp
fc297a5be409a15981f33b801114234e59abfb53
[]
no_license
jack-maber/comp130-worksheets
a0583e8fe85c2445f181a3b36dfe2ae77741e8aa
288f8b66829d0ba596b5ef493c53e53524193d13
refs/heads/master
2021-01-11T18:32:55.652400
2017-03-24T15:17:09
2017-03-24T15:17:09
79,566,019
0
0
null
2017-01-20T14:31:49
2017-01-20T14:31:49
null
UTF-8
C++
false
false
2,537
cpp
TerminalHacking.cpp
// PartA_TerminalHacking.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "WordList.h" // Compares the guessed word to the secret word, then returns the likeness int getlikeness(std::string guessedWord, std::string secretWord) { int i; int result = 0; for (i = 0; i < secre...
6f302cf3281bee2221b36423443daaace038511d
df6a7072020c0cce62a2362761f01c08f1375be7
/doc/tutorial/oglplus/001_glut_glew.cpp
84469f6947f20677aff99effc94bbbf3e4201aee
[ "BSL-1.0" ]
permissive
matus-chochlik/oglplus
aa03676bfd74c9877d16256dc2dcabcc034bffb0
76dd964e590967ff13ddff8945e9dcf355e0c952
refs/heads/develop
2023-03-07T07:08:31.615190
2021-10-26T06:11:43
2021-10-26T06:11:43
8,885,160
368
58
BSL-1.0
2018-09-21T16:57:52
2013-03-19T17:52:30
C++
UTF-8
C++
false
false
15,571
cpp
001_glut_glew.cpp
/* * .file doc/tutorial/oglplus/001_glut_glew.cpp * * .author Matus Chochlik * * Copyright 2010-2019 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #if OGLPLUS_DOCUMENTATION_ONLY /**...
2c40ff9946f62e536d7ea00eefd770cde9347d31
9617ab6544f8aba7828df1e8b19ea71434510891
/FARMSIMULATOR/GameState.h
0a9d992960bb120e2c0153615e0a7fa8632c2030
[]
no_license
li11315-osu/ENGR1281-SDP
6d9400c315dbab40aa87370de44fb53e9e7ee1ad
b532e26d5928c147987efec80947d65de0baeba5
refs/heads/master
2023-01-22T16:34:01.985809
2020-12-07T06:35:13
2020-12-07T06:35:13
314,304,485
0
1
null
null
null
null
UTF-8
C++
false
false
5,058
h
GameState.h
#ifndef GAMESTATE_H #define GAMESTATE_H #define NUMBER_OF_PLOTS 12 #include <vector> #include <cstring> // Written by Annie and Drew // Stores the properties of the events that can occur // These include the name of the event, a brief description of // the event, whether or not the event has a negative effect // o...
fcad380bf4f931404bfcc0210adc3421f89dce1e
390f357fec98ab6c886ee504f27e7127869c419b
/Wolf and Rabbit.cpp
ee0f6d3ca6193da36786589bb37048f3e9df9f4a
[]
no_license
baibaixue/acm
696f9aa948465166c75fadba28851f7028ab00e1
07cac352d8dc23c2e3cf0b84f65fda6afbf3707e
refs/heads/master
2021-07-04T07:51:37.380678
2020-11-06T15:00:14
2020-11-06T15:00:14
195,429,206
0
0
null
null
null
null
UTF-8
C++
false
false
303
cpp
Wolf and Rabbit.cpp
#include<cstdio> #include<iostream> #include<algorithm> #include<string.h> using namespace std; int main(){ int p; scanf("%d",&p); while(p--){ long long int n,m; scanf("%lld%lld",&n,&m); if((m%n==0&&n!=1)||(n%2==0&&m%2==0)){ printf("YES\n"); }else{ printf("NO\n"); } } return 0; }
3ec2ebc38f25dcb78bad7a4c93a8ffbc8b96ee8c
ad77154f4f9e7214c10cb1cd040efad9eb1c5160
/arrays/Rotation/Search_in_rotated_arr.cpp
efbbb261a853db6bcbe65eba0484a2ac5971857d
[]
no_license
Phoenix-RK/GeeksForGeeks
17e745ad81ed1dda8df1a1021f32a13b0ad6c9ec
fd0b3323f836ba9abc148fb585953d16a399c0dd
refs/heads/master
2021-05-16T20:53:51.253913
2021-02-04T16:44:24
2021-02-04T16:44:24
250,465,074
2
1
null
2021-01-20T12:36:10
2020-03-27T07:09:33
C++
UTF-8
C++
false
false
1,455
cpp
Search_in_rotated_arr.cpp
//Phoenix_RK /* Given a sorted and rotated array A of N distinct elements which is rotated at some point, and given an element K. The task is to find the index of the given element K in the array A. Example: Input: 3 9 5 6 7 8 9 10 1 2 3 10 3 3 1 2 1 4 3 5 1 2 6 Output: 5 1 -1 */ #include<bits/stdc++.h> using names...
bb83c5b6ad61f2a8c26464ce4a40e473ef8cb154
b84ceb240844d18e14fdb0f2d123d584a42993c5
/txtRpg-907/textRPG-906/Enemy.cpp
e594ea8eb9172f25c7576ad25bf89fc07c6193ce
[]
no_license
shiftay/WorldofDevarion
89aaf99c0d206d672afaacbd4022a4c5805097dd
94931ffc80f70a9d94db31395d537a86d6957620
refs/heads/master
2021-01-02T23:03:10.525859
2017-08-05T23:39:59
2017-08-05T23:39:59
99,453,614
0
0
null
null
null
null
UTF-8
C++
false
false
2,354
cpp
Enemy.cpp
#include "Enemy.h" #include "Console.h" #include "stringUtil.h" Enemy::Enemy() { armor = 15; } Enemy::Enemy(string type, int playersLevel) { this->type = type; xpGiven = 200 * playersLevel; baseDamage = 7 * playersLevel; armor = 5 * playersLevel; current_health = 100 * playersLevel; max_health = current_hea...
2e0acaa3a782539358a1da236af142e5a14d0916
0ed2dba4a9b8a3c39c0f94620052ba4ebd82ffa5
/DSA Essentials Solutions/Hashing/ArrayIntersection.cpp
97d602c02cb7b2b27fcb6b61b6faf5d3a26ae418
[]
no_license
nihalbaig0/dsa-essentials-solutions-cpp
95cbc4a831429ab6794a0be2bfd2c8a3f3af812c
f9397333d52d416743b2d7101b97ec86569bb0db
refs/heads/master
2023-08-11T16:55:20.973254
2021-09-15T06:53:47
2021-09-15T06:53:47
406,646,130
0
0
null
2021-09-15T06:52:47
2021-09-15T06:52:47
null
UTF-8
C++
false
false
573
cpp
ArrayIntersection.cpp
#include<bits/stdc++.h> using namespace std; vector<int> intersection(vector<int>& nums1, vector<int>& nums2) { unordered_map<int,int> map; vector<int> result; for(int i=0;i<nums1.size();i++) { map[nums1[i]]++; } for(int i=0;i<nums2.s...
f8406fc319acd5f533f2a0edc5ba4d7cbaac6113
0aec9765680ae7576e3523e455a296e26c1fae17
/ServerCore/configSetup.cpp
77ea8ea2a1c4739216c6b726a812fdaab33bab63
[]
no_license
ewan15/Home
35abe54b08d602287a24a0661a38f4ede2f5f079
bcc380e7afd65138915340c126ba375b21d859a1
refs/heads/master
2021-01-15T08:27:14.783251
2016-06-28T16:01:40
2016-06-28T16:01:40
53,887,099
0
0
null
null
null
null
UTF-8
C++
false
false
201
cpp
configSetup.cpp
#include "configSetup.h" void configSetup(){ IP_File_Format(); } void IP_File_Format(){ std::ofstream ofs; ofs.open("Config/IP.txt", std::ofstream::out | std::ofstream::trunc); ofs.close(); }