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
17c1f3d5e62212b448030c6e0b2ba3d416714f8d
67f3a939a9ed4a922e51141bc394f76aa03c410d
/SLL.cpp
c16ea23a9c0c64b071f6aed0eef089a3c042d159
[]
no_license
ucsb-cs24-w18/SLL
1527d45d434e495199b33894c57f8b13ac3fee87
83b740ea121acd05175f7b09a015622b342bd47a
refs/heads/master
2021-01-24T04:01:43.181160
2018-02-26T20:45:00
2018-02-26T20:45:00
122,917,642
0
0
null
null
null
null
UTF-8
C++
false
false
3,664
cpp
SLL.cpp
/* SLL.cpp * Author: Zack Higgins * Implementation of class SLL defined within SLL.h */ #include <iostream> #include "SLL.h" using namespace std; // Constructor: SLL::SLL() { head = NULL; transient = NULL; } // SLL Destructor: SLL::~SLL() { delete head; } // Node Destructor: node::~node() { delete...
b8fb41127f1c70ddb74f68bd608005ef50b0a69b
8b289e0b26f7d04af6e02450ae46029a04d7342c
/ex03_03.cpp
0ad02ab8b52273e7a60378d16dd1a7a37829fd55
[]
no_license
kayblecar/CS172
079b1c499263fb0e6f0937d539a49ea91f0f75c9
84e62686d2c4130fef6ed6a1da802855119cfe04
refs/heads/master
2021-01-10T08:47:57.305554
2015-06-26T05:52:55
2015-06-26T05:52:55
36,346,850
0
0
null
null
null
null
UTF-8
C++
false
false
528
cpp
ex03_03.cpp
//Kay Ratcliff //CS 172 #include <iostream> using namespace std; class EvenNumber{ public: int value; EvenNumber(){ value = 0; } EvenNumber(int number){ if (number % 2 == 0) value = number; else value = 0; } int getValue(){ return value; } int getNext(){ return value + 2; } int getPrevious...
5367643cb58a0b0eba0bade666fca0a6092b788a
4b1fe891a91128e9b66a2d51b7cb38145c2de23a
/kran.h
e382811a0996e8f46440d68d29530e6f9417ae23
[]
no_license
yss120612/Blink
b535e2d313fac207e36fec117ac9f9efb7ddc4d8
8495fe86b76ca067c1986614d441125c04b97f6b
refs/heads/master
2020-03-15T08:45:54.870962
2018-06-04T00:34:15
2018-06-04T00:34:15
132,059,208
0
0
null
null
null
null
UTF-8
C++
false
false
670
h
kran.h
// kran.h #ifndef _KRAN_h #define _KRAN_h #if defined(ARDUINO) && ARDUINO >= 100 #include "arduino.h" #else #include "WProgram.h" #endif #endif const uint16_t switch_time = 7000; const uint8_t quantumT=70; class Kran { private: boolean inQuantum; boolean inProgress; long progress_time; uint8_t close_pin; ui...
d0a0c4753b017584ad5fd5cee38c8074622f615d
71bbaca3a7603cd1baf92f72f104f06f4298f521
/two.cpp
f1107fc6137d735ce73c021d13a2687307bc7755
[]
no_license
zhujiangjiang/redistest
e3dcbdbd1f6fdc45a343514dd41f01b3295ca23f
c0cf4e074850611b63fef2e8de703dbc63062165
refs/heads/master
2021-01-16T19:20:03.025773
2016-02-18T03:56:00
2016-02-18T03:56:00
40,967,558
0
0
null
null
null
null
UTF-8
C++
false
false
95
cpp
two.cpp
#include<iostream> using namespace std; void master() { cout << "master call" << endl; }
be7309d8cde698cf8dba21d9709482959206577c
1369bc79715f22132daf416666703f229b84e39f
/util/time.h
7a7f6c8a6f86ba67e9055209472fbe55c8f0293a
[ "Apache-2.0" ]
permissive
aarossig/aprs-utils
bbfaac0649f947cd47122c97dbdba77d033c0ae4
3f7bdd604fde076c514d91ceaf23604f3f59b53d
refs/heads/master
2022-11-16T00:53:46.583147
2020-07-12T19:58:25
2020-07-12T19:58:25
278,229,937
0
0
null
null
null
null
UTF-8
C++
false
false
1,139
h
time.h
/* * Copyright 2020 Andrew Rossignol andrew.rossignol@gmail.com * * 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 requi...
a2511e5fa1a414ac4bb331be86ac70e3a045e061
21f2d33fcb6f9199a41ba6d75ae9339126abd1e1
/src/df_polygon.cpp
e3f07327f190ac42ff5de022eac584f0562aebd3
[ "MIT", "BSD-3-Clause" ]
permissive
abainbridge/deadfrog-lib
d22fe66b5886495132ef79ba2f0da3f080557614
58bd087a600165d929d5811392db31fbc5c32369
refs/heads/master
2023-07-08T09:41:20.282615
2023-06-29T20:36:53
2023-06-29T20:36:53
32,854,035
12
2
MIT
2023-03-05T10:35:29
2015-03-25T09:14:40
C++
UTF-8
C++
false
false
15,058
cpp
df_polygon.cpp
// This code originally came from Michael Abrash's Zen of Graphics, // 2nd edition, chapter 23. // Color-fills a convex polygon. All vertices are offset by (XOffset, // YOffset). "Convex" means that every horizontal line drawn through // the polygon at any point would cross exactly two active edges // (neither h...
2e04cd9acf9710e3e288fc02c65c9a216fd777d0
c008c9d730e57b13d3dbc8b80d1810c9a52995bb
/Logica1_LinguagemC/Aula_6/lista/exercício 4.1.cpp
de415e921136d2e79ea6e1766f901d1cb0d95acb
[]
no_license
andcoelho/Logica1_IFSP
d93d727c4ed32b5660a2a1aead9cd9c7cea7beb8
c0cad6402b792adad893870a9d9065cc0314a36c
refs/heads/main
2023-06-30T04:46:04.631934
2021-08-15T14:29:34
2021-08-15T14:29:34
391,426,302
0
0
null
null
null
null
UTF-8
C++
false
false
925
cpp
exercício 4.1.cpp
#include<stdio.h> int main () { int i, num=0, counter0=0, counter1=0, counter2=0, counter3=0; printf("para sair, digite um numero negativo\n"); while (num>-1){ printf("insira um numero positivo: "); scanf("%d", &num); for(i=0;i<=25;i++){ if(i==num){ ...
348193f41aa1172f6fa76fe80d998152a81c31da
d293694daaea6dd869698e8432ef144eb339fd60
/opencensus/tags/internal/tag_map_test.cc
6c41cf44c98707bcadf84fc7efaf70e4325d3dd9
[ "Apache-2.0" ]
permissive
census-instrumentation/opencensus-cpp
b76c979e54cf2e9c53fdeba4a33aaf12d75776ff
50eb5de762e5f87e206c011a4f930adb1a1775b1
refs/heads/master
2023-09-04T23:07:47.635622
2023-05-02T19:13:52
2023-05-02T19:13:52
91,836,765
148
80
Apache-2.0
2023-05-02T19:13:53
2017-05-19T18:59:46
C++
UTF-8
C++
false
false
3,745
cc
tag_map_test.cc
// Copyright 2018, OpenCensus Authors // // 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 agree...
93a7b0bcc7acc39c5da0cd5e009501b1c175739b
d3c8fb2cdf9868d95e7c08f904159dd6b04fd150
/processor/mem_hier_handle.h
6e78eccdb0742ac28055020a2d402d59505cd8dd
[]
no_license
dbancajas/dmr3d
006a5cf66a5faa9a4cbe8ca7d26bc5a5b71261b0
29763fc1379376e255d8a2a4e6f88b6b4ec753a2
refs/heads/master
2021-01-22T04:40:31.787563
2014-11-18T20:20:14
2014-11-18T20:20:14
26,828,298
1
1
null
null
null
null
UTF-8
C++
false
false
2,309
h
mem_hier_handle.h
#ifndef _MEM_HIER_HANDLE_H_ #define _MEM_HIER_HANDLE_H_ class mem_hier_handle_iface_t { public: virtual ~mem_hier_handle_iface_t() { } virtual void complete_request (conf_object_t *obj, conf_object_t *cpu, mem_trans_t *trans) = 0; virtual void invalidate_address (conf_object_t *obj, conf_object_t *cpu, ...
32a76b67fc79e8a375e78960714379e6c32949ea
0c226f4a47ac0abde45f9daecd8e03ca6e7a2c26
/cpp/11726.cpp
fe165a7817626432fe5b03bcad1d462605bb7dbc
[]
no_license
fjvbn2003/BOJ_backup
1c86542131ffe0621be5dc6f37f3da812ceba00e
9ee0dfcd86bb3010040121b3a09b30b03e66d062
refs/heads/master
2023-01-08T00:43:26.061434
2020-11-11T07:23:05
2020-11-11T07:23:05
100,412,849
1
0
null
null
null
null
UTF-8
C++
false
false
287
cpp
11726.cpp
#include<iostream> using namespace std; long long DP[1001] = {0}; long long t(int d) { if (DP[d] == 0) { DP[d] = t(d - 1) + t(d - 2)*2; return DP[d]%10007; } else { return DP[d]%10007; } } int main() { DP[1] = 1; DP[2] = 3; int a; cin >> a; cout << t(a) << endl; }
089ab40831a643aaeaa4784686df61f5c8ca0a55
1ce24886887966339156e0ba747502e4686c8ff5
/src/lib/amgalan.cpp
dd2fce64535c78dfaf61b9d9ddb652f60009803a
[]
no_license
inductiveload/amgalan
08a361db0569dcdb5c4b151002787e0b822dc819
801c3c8dc7d4868c04c5b74fcb82f11b3a1a5c5c
refs/heads/master
2016-08-04T17:30:44.434214
2013-01-04T18:44:43
2013-01-04T18:44:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
218
cpp
amgalan.cpp
/* * SourceGrabber is a program that will suck down a set of images pages from * some source on the Internet */ #include <iostream> using namespace std; void getSource(void){ cout << "Grabbing source" << endl; }
d9bb4bfd8f2c69bb8fd76ae6b39e90b35008c4ed
43f1c307bccb43ace41c20b38b97e984d5604691
/DoisTriangulos/HelloTriangle/Source.cpp
244b9cb0d34d88e15459b9f1bbad7748aaee8320
[]
no_license
FabianeKuhn/Unisinos-PG
b159ea9f0044c4bcc0322f78733ef0bd34d11886
1269a7894599cec0ae7936333811fdac22ccb8e8
refs/heads/master
2020-04-29T19:46:36.914529
2019-06-08T15:28:23
2019-06-08T15:28:23
176,365,645
0
0
null
null
null
null
ISO-8859-1
C++
false
false
6,409
cpp
Source.cpp
/* Desenho de dois triângulos * * Adaptado por Fabiane Kuhn * para a disciplina de Processamento Gráfico - Unisinos * Versão inicial em 11/03/2019 * Última atualização em 17/03/2019 * */ #include <iostream> #include <string> #include <assert.h> using namespace std; // GLEW //#define GLEW_STATI...
fda0fbdbfe1f97128152acc03843863568b46c01
98c7cc6e4436c2deb43bd965935f42ed6ab5396f
/ClientQT/NoodleClient/changepassword.cpp
4e1465a8efb781c43ec5a1f5d295743d1339ea47
[]
no_license
AndreiVladescu/Noodle
276c172fe3288bf5da8d49b936b0d327462fc68e
a737a9f196ff44ed2bedc707fb82fa28e4bbbf6e
refs/heads/main
2023-08-28T03:20:11.616796
2021-11-04T16:20:01
2021-11-04T16:20:01
357,468,256
0
0
null
null
null
null
UTF-8
C++
false
false
1,381
cpp
changepassword.cpp
#include "changepassword.h" #include "ui_changepassword.h" #include <QMessageBox> #include "IUser.h" ChangePassword::ChangePassword(QWidget *parent,IUser* u) : QDialog(parent), ui(new Ui::ChangePassword) , user(u) { ui->setupUi(this); this->setWindowTitle("Change password"); } ChangePassword::~Change...
cf6d4ad02cfee7395b8e4e3d535765645ea46d0f
8ce838336cd99ffcedd1c8ef98fa5c0127bfba1d
/CMSC-237-Introduction-to-Computer-Graphics/.svn/pristine/cf/cf6d4ad02cfee7395b8e4e3d535765645ea46d0f.svn-base
cff5dcb1d18f4813cfa08883e0637e8792149bee
[]
no_license
mmm2206069/UChicagoCSWork
0122bd4edb41383759b381f3d7c7b834dc0983f5
8a7051133ce48b46cf9d3c5594bb6cde5e8ead69
refs/heads/master
2020-08-31T12:48:24.440348
2016-09-17T23:56:09
2016-09-17T23:56:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,685
cf6d4ad02cfee7395b8e4e3d535765645ea46d0f.svn-base
/*! \file mesh.hxx * * \author John Reppy */ /* CMSC23700 Project 4 sample code (Autumn 2015) * * COPYRIGHT (c) 2015 John Reppy (http://www.cs.uchicago.edu/~jhr) * All rights reserved. */ #ifndef _MESH_HXX_ #define _MESH_HXX_ #include "cs237.hxx" #include "obj.hxx" /*! The locations of the standard mesh attr...
0ccc4709c132d18882eb09218738ab1524bbbf89
45ca2a12a9f6be20f1442cbe7922b27b9311899a
/etc/classdecl.h
f73c7d57b10dfbf13f13fbe7afbe32e76285f60f
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
LoganDing/cslib
669ce63d97daf681df9f45389df5a2c762c6339c
3401fc6516e6952f01a13bb7de999c79a0937154
refs/heads/master
2020-12-24T13:29:31.181275
2015-06-03T19:32:52
2015-06-03T19:32:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,726
h
classdecl.h
#ifndef xxx_H_LOADED #define xxx_H_LOADED // [ // $ xxx.h // // // This software consists of voluntary contributions made by Chris Sanchez. // Portions of other open source software were used in the creation of this // software. Header files for work based on other source bears the // orininator cop...
b5806ccf8bfbf5b8e0ba129b8b600f5a48035265
edba9d0a6742a6451552a4375f2340dbfc757474
/OLA6/Main.cpp
00470dec55f30fd523b233270cfeaeebd1bc2992
[]
no_license
Silverfoxslash/CSCI-3110
8e9fb4210770f240632c82629fb963411b3c4500
c7ae4e2bb1da5aa48c2c410d68e10d917969ceb3
refs/heads/master
2021-01-13T09:36:28.493394
2016-12-20T06:52:27
2016-12-20T06:52:27
72,043,724
0
0
null
null
null
null
UTF-8
C++
false
false
692
cpp
Main.cpp
/* * File: main.cpp * Author: Jeremy Bickford * Course: CSCI 3110 * Instructor: Zhijiang Dong * Date: NOV 16 2016 * This is the client file that uses the class word check to search dictionary for near misses * */ #include "wordChecker.h" #include <string> #include <iostream> using namespace std; const st...
46cf9fd7e4edbdc010d1b48b2420b198e91c794f
eb0352be6f369ddcd7ae402220fc795fa02d09ca
/example/mergesort.cpp
18b3ab3babaf2c2389f4dae3ee9df1d2e9854c16
[]
no_license
deepsea-inria/pbbs-pctl
05b6a64bc532f91c0af0cb469f84b816cece1db1
d5c0f1337435d50231d55cae537c826c185b6a78
refs/heads/master
2021-01-24T08:41:05.659607
2018-01-29T16:11:17
2018-01-29T16:11:17
48,747,578
2
0
null
null
null
null
UTF-8
C++
false
false
1,364
cpp
mergesort.cpp
/*! * \file mergesort.cpp * \brief Example of parallel mergesort usage * \date 2015 * \copyright COPYRIGHT (c) 2015 Umut Acar, Arthur Chargueraud, and * Michael Rainey. All rights reserved. * \license This project is released under the GNU Public License. * */ #include "example.hpp" #include "psort.hpp" #inclu...
337cd80e9424b9db391aa05748325f53b029edf2
4155e1f592e56bbdbbcc2147b651e21aedb3fc8b
/src/main.cpp
4e068f4157f3b8f2e7bfee385cb68e05d7317b9c
[ "MIT" ]
permissive
DriftingTimmy/pcl-pole-detector
e03dd503dab7694bf44ac23b6ea58348c2d72fdf
e62702a2626ec7d908650d7ece364eb1828936cb
refs/heads/master
2021-01-25T08:01:41.990205
2017-01-27T14:05:29
2017-01-27T14:05:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,104
cpp
main.cpp
#include <pole_detector.h> int main(int argc, char const *argv[]) { if ( argc != 6 ) // argc should be 4 for correct execution cout<<"usage: "<< argv[0] <<" <path to pcd file> <ground clearance> <height threshold> <min cluster size> <cluster threshold>\n"; else { PCLPoleDetector* poleDetector = new PCLPoleDetecto...
144a8c3dded7cde4a3a60bcbffc144983161a789
fe225bb412f3b0c43abe1d257658e7f433346bbf
/apps/rtmp/RtmpAudio.cpp
a24ea707a99f4dfee48336c8e3a3b69a5592d414
[]
no_license
yeti-switch/sems
611f0bc8dfa381d5f8f15c47a7ce287a2e8366f1
f15ab5b638d7447883503d4939170067aba0f807
refs/heads/master
2023-08-18T23:09:58.940541
2023-08-16T19:37:19
2023-08-16T19:37:19
70,628,618
14
9
null
2018-04-02T10:10:05
2016-10-11T19:36:01
C++
WINDOWS-1252
C++
false
false
7,293
cpp
RtmpAudio.cpp
/* * Copyright (C) 2011 Raphael Coeffic * * This file is part of SEMS, a free SIP media server. * * SEMS 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 2 of the License, or * (at your o...
5963cb1b91483920f677fe7aa8eae751f3511b7d
041c653b9f3f5271aebeaa8ba76fe31b1f6a5219
/cpp/Digihome_bridge/src/Led.cpp
21c412a69467000bfa0fcf930842dba585482300
[]
no_license
pac94/Digihome
dc4dd7e557bbc9aab9ff81f7b4e1743e78bc8d31
ed4f27058ee1f207610a8a536041e60edc64564b
refs/heads/master
2020-03-30T06:05:08.657522
2014-07-04T06:43:19
2014-07-04T06:43:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,329
cpp
Led.cpp
#include "../include/Led.h" #include "../include/Pin.h" #include <jsoncpp/json.h> Led::Led(string _room, int _Red_pin, int _Green_pin, int _Blue_pin):Equipement(_room, "led") { room = _room; red.Setnumber( _Red_pin); green.Setnumber( _Green_pin); blue.Setnumber( _Blue_pin); type = 1; } Led::...
a87b4a1656fcf7caa54edb4811132b896ac4728b
c3903103e3d78b835fe5ddf64eb9618a06b458f3
/10.Graphs/KruskalsMinimumSpanningTree.cpp
5e9a42b82721096298284b52de9ade4cb886cb74
[]
no_license
Cquential/Data-Structures-and-Algorithms
3e1f6202eb30b1d4966ea20de7f1cbdd36093e0d
a43254d1704de140bf77cad62d7768197e458639
refs/heads/master
2020-05-22T14:08:55.333805
2019-10-15T10:56:44
2019-10-15T10:56:44
186,378,378
0
2
null
2019-10-23T07:45:31
2019-05-13T08:32:35
C
UTF-8
C++
false
false
2,398
cpp
KruskalsMinimumSpanningTree.cpp
/* Amit Bansal - @amitbansal7 */ #include <bits/stdc++.h> #include <string> #define lli long long int #define llu unsigned long long int #define S(x) scanf("%d",&x) #define Sl(x) scanf("%lld",&x) #define Mset(p,i) memset(p,i,sizeof(p)) #define mlc(t,n) (t *)malloc(sizeof(t)*n) #define NIL -1 #define INF 0x3f3f3f3f #def...
be2339fb004e9484402a27f63eee075266f21baa
dc499607be7067801d0d8a4b3d8b90694d8a7e70
/hello_world_cpp/include/hello_world_cpp/parameter_component.hpp
831dc928fe9048f536a7a5a159059640bee33766
[ "BSD-2-Clause" ]
permissive
fjnkt98/hello_world
9ca82e0fd364ab3bec6f0f601e9ddd0dac87da28
095301082410a73ebee4a38970d04a2b9fcccae4
refs/heads/master
2021-07-10T02:32:56.779879
2020-11-24T04:13:10
2020-11-24T04:13:10
220,123,144
0
0
null
null
null
null
UTF-8
C++
false
false
771
hpp
parameter_component.hpp
#ifndef HELLO_WORLD_CPP_PARAMETER_COMPONENT_HPP_ #define HELLO_WORLD_CPP_PARAMETER_COMPONENT_HPP_ #include <string> #include <rclcpp/rclcpp.hpp> #include <std_msgs/msg/string.hpp> #include "hello_world_cpp/visibility.h" namespace hello_world_cpp { class Parameter : public rclcpp::Node{ public: HELLO_WOR...
20f779357843aade0e647eaabcffe5fbb2d5aebe
71b6c8e28bdabf1876b110a8e08aad9a17780008
/DLL430_v3/src/TI/DLL430/logging/Logging.cpp
9b2cafa035297990f4ca816fb16aae2a609310e7
[]
no_license
BuLogics/libMSP430
bbae668a1df96e045b0d1e55e5e9aceda1354952
d949a8159e86dfaf0e1457682555b9278e0e48d2
refs/heads/master
2016-09-06T01:57:14.643076
2013-03-14T20:07:19
2013-03-14T20:07:19
8,761,493
16
21
null
null
null
null
UTF-8
C++
false
false
3,253
cpp
Logging.cpp
/* * Logging.cpp * * Copyright (C) 2007 - 2011 Texas Instruments Incorporated - http://www.ti.com/ * * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code mu...
cd5ae46b2006a2a61c61070e2fa3ad31aa994cfe
0d1645e912fc1477eef73245a75af85635a31bd8
/sdk/vl/include/parser/vlbnf.hpp
d4e27655029ce8d63bda87659eda61e2c6593a4e
[ "MIT" ]
permissive
qianxj/XExplorer
a2115106560f771bc3edc084b7e986332d0e41f4
00e326da03ffcaa21115a2345275452607c6bab5
refs/heads/master
2021-09-03T13:37:39.395524
2018-01-09T12:06:29
2018-01-09T12:06:29
114,638,878
0
0
null
null
null
null
UTF-8
C++
false
false
1,664
hpp
vlbnf.hpp
#pragma once #include "../vl.h" #include "vldef.hpp" #include "vlsym.hpp" namespace vl { class vArrayMgr; class vlang3; //bnf manager class vlbnf { public: vlbnf(vlang3 * lv); ~vlbnf(); public: enum Field {arNameID , arTokenID, arKeywordID,arStmtID, arObjectID, arCount}; //lang array ,every element have...
a4bcb28aefc54ddcfe26b503d02dc279341cf7d1
bc9426aad7ac41817b9b3637ff68e11de99759e7
/src/utils/split_tets_on_edges.cpp
3fa3cb7685b448d4f593c1c2ee7f78c2232f6a9c
[]
no_license
ab1153/polycube
779af55dcbe4ac92311805c02a4c7b7a81c3b86b
b8a8b752360bc91f6eb9121e7d70df9c0b7b4bf1
refs/heads/master
2021-01-03T08:17:29.034876
2014-12-09T16:10:57
2014-12-09T16:10:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,739
cpp
split_tets_on_edges.cpp
#include "../tetmesh/tetmesh.h" #include "../tet_mesh_sxx/tet_mesh_sxx.h" int load_edge_file(const char * file, vector<pair<size_t,size_t> > & split_edges) { ifstream ifs(file); if(ifs.fail()){ cerr << "# [error] can not open edge file." << endl; return __LINE__; } size_t edge_...
b4199517cb6cfceb449323d0be7ad93ee6f0d27c
f9b5ebcaa34fb78ea2da81a7a21b3f76605eab33
/ACM模板/最小生成树/Kruskal 算法模板(并查集) (Poj 1287 Networking ).cpp
0f6d81bde158779813ced8d505e2ad3aca441ac3
[]
no_license
jwhuseu/ACM
ab33de875e032b80354f82d9f80f98923ad942a5
b10f407996c04bb012daf566a7ab9d7cc1048623
refs/heads/master
2021-10-14T08:21:10.187719
2019-02-03T04:45:45
2019-02-03T04:45:45
null
0
0
null
null
null
null
GB18030
C++
false
false
1,538
cpp
Kruskal 算法模板(并查集) (Poj 1287 Networking ).cpp
//题目链接 : http://poj.org/problem?id=1287 //kruskal模板 #include <iostream> #include <stdio.h> #include <string.h> #include <vector> #include <algorithm> #include <queue> using namespace std; const int maxn = 1e5 + 10; int Fa[maxn],Rank[maxn]; void init(){ for(int i = 0; i <= maxn; i++)Fa[i] = i; for(int i = 0;...
a28a17ff7359a5246ad297ad7c43e247b87ef280
5af1594a6ac0b0c92072f7a710198721b5eb4a32
/001_qt_prj/OMS/sSystem/ControlDemo.cpp
9acd6d0af967e26d55b094bf3b767c5593e2556f
[]
no_license
ZhaoRui321/00_work
aabeea06ab0ff4a3cf93ec5117efa026c9bcf884
06ad82c244aa0518a4c9488f212bb02d425331ac
refs/heads/master
2020-08-17T17:43:32.606913
2020-03-13T03:16:54
2020-03-13T03:16:54
215,692,552
0
0
null
null
null
null
UTF-8
C++
false
false
2,212
cpp
ControlDemo.cpp
#include "ControlDemo.h" #include "ui_ControlDemo.h" #include <QPainter> ControlDemo::ControlDemo(QWidget *parent) : QWidget(parent), ui(new Ui::ControlDemo) { ui->setupUi(this); this->setAttribute(Qt::WA_TranslucentBackground); //this->setWindowFlags(Qt::FramelessWindowHint); ui->li...
255c48b4d6217882c25d9242faef3ed9224210d5
dd6147bf9433298a64bbceb7fdccaa4cc477fba6
/[8304] SaniZayyad/sanizayyad_lab1/sources/LogicService/mediator.cpp
695d83b2af56a9165de0dbdf7a802fce778f8454
[]
no_license
moevm/oop
64a89677879341a3e8e91ba6d719ab598dcabb49
faffa7e14003b13c658ccf8853d6189b51ee30e6
refs/heads/master
2023-03-16T15:48:35.226647
2020-06-08T16:16:31
2020-06-08T16:16:31
85,785,460
42
304
null
2023-03-06T23:46:08
2017-03-22T04:37:01
C++
UTF-8
C++
false
false
1,908
cpp
mediator.cpp
#include "mediator.hpp" #include "BattleField.hpp" #include "unit.hpp" Mediator::Mediator(std::shared_ptr<BattleField> battleField) { this->battleField = battleField; } bool Mediator::notify(std::shared_ptr<Unit> unit,const std::string& action) { Position2D currentPosition = unit->getPosition(); FieldCel...
1b04e37afb62ceeb2d8bc4502fff39c5dea2f625
3ae80dbc18ed3e89bedf846d098b2a98d8e4b776
/header/Map/WebMapTileServiceSource.h
5d7f26059eb6abd5020e0889358274c5cf8d9edc
[]
no_license
sswroom/SClass
deee467349ca249a7401f5d3c177cdf763a253ca
9a403ec67c6c4dfd2402f19d44c6573e25d4b347
refs/heads/main
2023-09-01T07:24:58.907606
2023-08-31T11:24:34
2023-08-31T11:24:34
329,970,172
10
7
null
null
null
null
UTF-8
C++
false
false
4,630
h
WebMapTileServiceSource.h
#ifndef _SM_MAP_WEBMAPTILESERVICESOURCE #define _SM_MAP_WEBMAPTILESERVICESOURCE #include "Data/ArrayList.h" #include "Data/ArrayListNN.h" #include "Data/FastStringMap.h" #include "Map/TileMap.h" #include "Net/SocketFactory.h" #include "Text/String.h" #include "Text/XMLReader.h" namespace Map { class WebMapTileService...
de24652289e9359851b4216727e6f6dfdd3482d7
1583bc33ca5bb0d53f630ff250ea546d534c9063
/URI/Iniciante/1131.cpp
f08296f1839c43f0de49de476988febbf98e0cb8
[]
no_license
wiltonsr/TEP
dd5e49cb5dce3f4956a7cd783c33ac30718c92d1
50c8aa38f83307773cf579c1c94f17f0e7f28043
refs/heads/master
2020-12-13T10:13:44.818770
2016-04-16T12:59:49
2016-04-16T13:00:32
54,789,303
1
0
null
null
null
null
UTF-8
C++
false
false
654
cpp
1131.cpp
#include<bits/stdc++.h> using namespace std; int main(){ int i, g, o = 1, t = 0, vi = 0, vg = 0, e = 0; while(o == 1){ cin >> i >> g; if ( i > g) vi += 1; else if (g > i) vg += 1; else e += 1; t += 1; cout << "Novo grenal (1-sim 2-nao)" << endl; while ((cin >> o) && o != 1 && o != 2){ cout << "Novo...
5bd16a9b4e7efc1f3ccaf8413313ea77fe731c61
0370b81e9ec3f1b1d4bf0da224a613ff576e8dd4
/AOJ/AOJ_562.cpp
35cbd0a143e75808db5a5e946dc6d806cca56aba
[]
no_license
Rolight/ACM_ICPC
c511bc58ac5038ca521bb500a40fcbdf5468832d
6208a20ea66a42b4a06249d97494c77f55121847
refs/heads/master
2021-01-10T22:08:48.336023
2015-07-17T21:46:48
2015-07-17T21:46:48
27,808,805
2
0
null
null
null
null
UTF-8
C++
false
false
198
cpp
AOJ_562.cpp
#include <iostream> #include <cstdio> using namespace std; int main() { int n,m; cin >> n; for(int i = 0;i < n;i++) { cin >> m; printf("%.6f\n",2.0 / (double)m / (m - 1)); } return 0; }
ccde849824558316f284b0fb3315c0c8d1d4468f
5ac688d8b5c7ad6540f52c9f4c304e506d7564c5
/Fundamentals/&operator.cpp
df6793fafcd962819c0d028734f91b9123621b89
[]
no_license
Sana-Gupta/Cplusplus
9a02924f566cbb745a2b68176fbd2cf40684c7f2
d4ca9cf09bedfbb7516b665a890cc20f4380930a
refs/heads/master
2022-02-14T14:44:14.235284
2019-07-23T18:07:45
2019-07-23T18:07:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
675
cpp
&operator.cpp
/* Program to demonstrate the working of the Adress of(&) operator */ #include<iostream> using namespace std; int main(){ int x = 10; cout << &x << endl; //output is a hexadecimal float y = 10; cout << &y << endl; //output is a hexadecimal number char ch = 'A'; cout << &ch << endl; //output ...
2e01ea2b9094bfecf60437847083711e623ff112
4e38faaa2dc1d03375010fd90ad1d24322ed60a7
/include/RED4ext/Scripting/Natives/Generated/ink/GradientWidget.hpp
f60f605f61b9a71e016798fac3284991a7c5278e
[ "MIT" ]
permissive
WopsS/RED4ext.SDK
0a1caef8a4f957417ce8fb2fdbd821d24b3b9255
3a41c61f6d6f050545ab62681fb72f1efd276536
refs/heads/master
2023-08-31T08:21:07.310498
2023-08-18T20:51:18
2023-08-18T20:51:18
324,193,986
68
25
MIT
2023-08-18T20:51:20
2020-12-24T16:17:20
C++
UTF-8
C++
false
false
996
hpp
GradientWidget.hpp
#pragma once // clang-format off // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Scripting/Natives/Generated/HDRColor.hpp> #include <RED4ext/Scripting/Natives/Generated/ink/BaseShapeWidget.hpp> #include <RED4ext/Scripting/Natives/Generated/...
df182dbb4d2cb1cb2f069c24e476ed2aa24ff7f8
476a358a2e1d0a70c061582090ff40d9f84b53e1
/src/shared/ai/Point.cpp
fd932ea027de7b2d3ce6e51e76dcd560abf972af
[]
no_license
luigcapo/capochichiboinali
c9a8a6dd585da5666606eb1812fe0a9075d438a2
10c9404833e3319e889cbe022aa730341e9577d0
refs/heads/master
2021-09-04T20:15:47.175844
2018-01-22T03:43:04
2018-01-22T03:43:04
104,048,104
0
0
null
null
null
null
UTF-8
C++
false
false
1,579
cpp
Point.cpp
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ #include "Point.h" namespace ai{ Point::Point(int x, int y, int w): x(x), y(y), weight(w) { } int Point::getWe...
d84f90e29f8f1859623227a8117e757a44a84398
e54b9ff5eaf41ab13d156430554077f133b1be06
/leetcode48/leetcode48_1.cpp
2c9f741be308ecf56cc72a89bc395d20ef337d5b
[]
no_license
allpasscool/leetcodes
bb0bd1391d5201baad214e5b4f8089dfe9c782b0
4fd81b4cf9382890cadc6bf8def721cc25eb9949
refs/heads/master
2022-05-21T11:34:06.958063
2022-03-24T08:57:41
2022-03-24T08:57:41
163,725,766
0
0
null
null
null
null
UTF-8
C++
false
false
811
cpp
leetcode48_1.cpp
class Solution { public: void rotate(vector<vector<int>>& matrix) { int n = matrix.size(); if (n <= 1) { return; } // transpose matrix for (int i = 0; i < n; i++) { for (int j = i; j < n; j++) { swap(matrix[i][j], matr...
c96bea2c5ce5cea62c7a5448da0c00dbec2c5fd0
08b8cf38e1936e8cec27f84af0d3727321cec9c4
/data/crawl/wget/new_hunk_631.cpp
7b03453e23a1b316de26c751fdeecd20264f0429
[]
no_license
ccdxc/logSurvey
eaf28e9c2d6307140b17986d5c05106d1fd8e943
6b80226e1667c1e0760ab39160893ee19b0e9fb1
refs/heads/master
2022-01-07T21:31:55.446839
2018-04-21T14:12:43
2018-04-21T14:12:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
898
cpp
new_hunk_631.cpp
i++; } printf ("\n"); } printf ("\n"); /* Handle the case when $WGETRC is unset and $HOME/.wgetrc is absent. */ printf ("%s\n", wgetrc_title); env_wgetrc = wgetrc_env_file_name (); if (env_wgetrc && *env_wgetrc) { printf (" %s (env)\n", env_wgetrc); xfree ...
22f3011b544a007f9e8dc03fdf5558f052974f8d
2cae2bb328eb6f92ffc5a54ac8c4fb535677176d
/example/ios/mars.framework/Headers/xlog/preprocessor.h
c414a78f15043b09635dc0b9ab8e1ce2a90617b5
[ "MIT" ]
permissive
EngsShi/react-native-xlog
8683fb94f6d62cd467aa21e4b24912322893b250
3a5949f405a063cf7c9ed1b8f2685d2c6c9313b7
refs/heads/master
2023-03-27T03:53:25.702322
2018-06-04T11:46:19
2018-06-04T11:46:19
78,167,744
56
8
MIT
2018-06-04T11:46:20
2017-01-06T02:48:40
Java
UTF-8
C++
false
false
26,968
h
preprocessor.h
// Tencent is pleased to support the open source community by making Mars available. // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. // Licensed under the MIT License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the Licens...
a5e30ab8b847e5b9727d4f97881df7a550f40a1b
34f275a9c25960874ba5d982e5c6f211ab41233f
/lab(ds) 9/lab(ds) 9/lab(ds) 9.cpp
a7f2da9384db6580e9ea1fd4709e0a911baf22fe
[]
no_license
ValentineGladyshkoip51/KPI-DS-labs
524603810a24a81e9451f1fbd43970d54e700676
426b7fe25b1ad9e1792fefd196c50beadc65575c
refs/heads/master
2017-12-03T19:19:16.711937
2016-06-04T13:15:35
2016-06-04T13:15:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,829
cpp
lab(ds) 9.cpp
#include "stdafx.h" #include <stdio.h> #include <vector> #include <iostream> #include <iomanip> #include <algorithm> using namespace std; const int n0 = 100; const int m0 = 1000; const int INF = 1000000000; int a, b, c, n, m, e, len; int h[n0]; int l[n0]; int Way[n0]; bool u[n0] = { 0 }; int A[m0][m0] = { 0 }; int...
5c32271d29332a5e17c474b67414979ddb49468e
5a66ab025f1d0f1959eba8b8d077195f1295325d
/hardware/tf_broadcaster/src/tf_broadcaster.cpp
d077feb641c5c039cca7518c902c549617e66d82
[]
no_license
PyroTeam/robocup-pkg
e07eac96cacb17f2dd3b5232bd39e8f01e7a6535
a38e15f4d1d1c6a2c6660af2ea675c0fa6069c79
refs/heads/devel
2020-12-25T16:54:06.609071
2017-01-07T15:30:13
2017-01-07T15:30:13
26,918,239
9
3
null
2017-01-07T15:30:13
2014-11-20T15:21:22
C++
UTF-8
C++
false
false
3,667
cpp
tf_broadcaster.cpp
#include "tf_broadcaster/tf_broadcaster.h" void poseCallback(const nav_msgs::Odometry &odom) { static tf::TransformBroadcaster odomToBaseLink; static ros::NodeHandle nh; static ros::NodeHandle nhPriv("~"); bool onlyOdomToBase; std::string tf_prefix; nh.param<std::string>("simuRobotNamespace", tf_prefix, ""); ...
1d4b22f32fa8e6722dca6328a74427abc9d64670
e90d9f70c71421648e3545833c89522c1370a56b
/ImGuiSizeCallbackData.h
e6a460dfd044721f28098c02bdda9cd08a75ad59
[]
no_license
Paril/ImGuiCppCli
95ab25d6ae5bcc9347947ac5614dcf13752914b6
586937aa8d79a5695477d8fd4e0d11193fe8e73c
refs/heads/master
2020-12-01T15:04:19.905651
2020-01-05T13:22:11
2020-01-05T13:22:11
230,674,107
1
1
null
null
null
null
UTF-8
C++
false
false
344
h
ImGuiSizeCallbackData.h
#pragma once using namespace System; #include "ImVec2.h" namespace ImGuiCppCli { public value struct ImGuiSizeCallbackData { private: IntPtr UserData; public: ImVec2 Pos; ImVec2 CurrentSize; ImVec2 DesiredSize; }; public delegate void ImGuiSizeDelegate(ImGuiSi...
454f67738c3506c0c908ae2d9a92d6cd2b27316c
62126238af2e3e85b9337f66293c2a29946aa2a1
/framework/Thread/ThreadWindows/Sources/ThreadRunMethodWin32.cpp
30c9d5be1bd371c809137e8dfa20b6960f7daf19
[ "MIT" ]
permissive
metalkin/kigs
b43aa0385bdd9a495c5e30625c33a170df410593
87d1757da56a5579faf1d511375eccd4503224c7
refs/heads/master
2021-02-28T10:29:30.443801
2020-03-06T13:39:38
2020-03-06T13:51:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,415
cpp
ThreadRunMethodWin32.cpp
#include "PrecompiledHeaders.h" #include "ThreadRunMethodWin32.h" #include "Core.h" #include "Thread.h" #include "CoreBaseApplication.h" IMPLEMENT_CLASS_INFO(ThreadRunMethodWin32) ThreadRunMethodWin32::ThreadRunMethodWin32(const kstl::string& name,CLASS_NAME_TREE_ARG) : ThreadRunMethod(name,PASS_CLASS_NAME_TREE_ARG) ...
1ad23e32c82601e6a57b867c7accf32499a5148c
3de5a328c9372fc996d265cf005a33f70a76f9de
/playstate/playstate/kernel.cpp
8e8866163e8948c8e8d6612a501d16db75f57136
[]
no_license
perandersson/playstate
6c22942f295ee85482332776e6b94041e765247d
7e6a426e834e43663846c3c1a5ae4f3a9fa94619
refs/heads/master
2020-04-28T00:49:30.853108
2013-10-14T17:24:35
2013-10-14T17:24:35
10,280,928
2
0
null
null
null
null
UTF-8
C++
false
false
167
cpp
kernel.cpp
#include "memory/memory.h" #include "kernel.h" using namespace playstate; template<> playstate::IKernel* playstate::Singleton<playstate::IKernel>::gSingleton = NULL;
fc35fc8a5f37d44ee55a65af3bd048906c3126d4
84a04da079e1cbd120813de748e4aa3d97143601
/Tank.h
208b7d6c93601910d75e1a52e9623b18ee66385a
[]
no_license
Sylean92/Compsci_376_ZombieWar
db4f9602bafea12ef7eadc9674e792b879b9e77f
dd8cddc24a87a41cebdb3a14c2f4e57fb5c09d4b
refs/heads/master
2021-01-13T09:22:44.328668
2016-10-17T02:36:47
2016-10-17T02:36:47
69,929,909
0
2
null
2016-10-15T17:28:52
2016-10-04T02:57:19
C++
UTF-8
C++
false
false
1,081
h
Tank.h
#ifndef TANK_H #define TANK_H class ISurvivor; class Tank{ private: int health; //variable to hold health int at; //variable to store attack strength public: Tank(){health = 150; at = 20;} //Constructor to initialize a common infected int getHealth(){return health;} //...
0f0a1f94d788398a461df7398674248ab97183b1
5658c36304688edf55c5d5229dfc7e8fdf2e5ea7
/FaceAugmentationLib/FaceAugmentation/FaceAugmentation.h
af0d57681c132fa7a398ad2d20a88d53771b1d4f
[]
no_license
cllanjim/3DFaceAugmentation
82824b81c89c3fc2043eae6c42097911de67726b
c3c519debc6afc3aefe2d91e3c23d49945c85b45
refs/heads/master
2020-03-18T06:24:51.877780
2018-05-21T19:32:40
2018-05-21T19:32:40
null
0
0
null
null
null
null
ISO-8859-1
C++
false
false
1,511
h
FaceAugmentation.h
/* * Description: 3D facial augmentation for Augmented Reality purpose. * * @author João Otávio Brandão (jobal@cin.ufpe.br) * @since 2018-04-06 */ #pragma once #ifdef FACEAUGMENTATION_EXPORTS #define FACEAUGMENTATION_API __declspec(dllexport) #else #define FACEAUGMENTATION_API __declspec(dllimport) #endif ...
cdea39f2dcdc0897296b7ea34d8b8bf4f54bd3bc
4bcb30a6752081e77db45bfb7b4a9492b8282500
/mwengine/src/main/cpp/tests/utilities/eventutility_test.cpp
26491525da93168a20094b850a38330b638d69c4
[ "MIT" ]
permissive
igorski/MWEngine
b30507f9419761b6fdf345e9410bd0b0ab6d4ac5
ff7dc12658766d9961941741161999cb7210dc71
refs/heads/master
2022-11-02T07:37:46.513309
2022-10-29T14:26:14
2022-10-29T14:26:14
17,284,944
270
54
MIT
2022-10-09T10:27:26
2014-02-28T12:01:31
C++
UTF-8
C++
false
false
2,053
cpp
eventutility_test.cpp
#include "../../utilities/eventutility.h" #include "../../events/baseaudioevent.h" TEST( EventUtility, EventStartAndEndMeasures ) { AudioEngine::samples_per_bar = 512; BaseAudioEvent* audioEvent = new BaseAudioEvent(); // expected to occupy measure 0 (0 - 511) audioEvent->setEventStart(0); audio...
1bd7173a5095fb678e5189c217ef0827ed178cb9
4c04ef1077f8e240792da2abbd91f9b7950b1599
/MapaEstelar/src/input/ManipulationInput.h
c313cfbc5ea1fd2536d66b1c2f9152967dca2f59
[]
no_license
HansLehnert/mapa_estelar
72be9addaace746ef2315cdb963b03c67c4a8135
41d0e59bbb39e1aa464d6bf8f34395d2a658175f
refs/heads/master
2021-06-09T22:13:34.105628
2016-12-06T03:14:06
2016-12-06T03:14:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
338
h
ManipulationInput.h
#pragma once #include "InputComponent.h" #include <glm\glm.hpp> class ManipulationInput : public InputComponent { public: ManipulationInput(InputSystem* sys, Object* obj, InputSystem::Priority priority) : InputComponent(sys, obj, priority), offset(0) { } int update(); int sendMessage(Message); private: gl...
d4c9e716ef09f5a8948aff1b86ecef5f9f318f3a
551a4a96d3881d536eaa74fa35f86f4594453951
/graphs/shortestPathTree/main.cpp
0f359d03dd4344923a96cbea73bb32244d5cfa76
[]
no_license
chrzhang/abc
ab0cefc051a9fa077bfc08b9f3e5827d267a025d
a24254740bdcaa0892f7306df161f6c0df3a10cd
refs/heads/master
2022-12-08T14:34:25.499603
2022-12-01T16:13:41
2022-12-01T16:13:41
47,222,439
1
0
null
null
null
null
UTF-8
C++
false
false
5,599
cpp
main.cpp
#include <iostream> #include <iomanip> #include <algorithm> #include <set> #include <unordered_map> #include <climits> #include <vector> #include <cassert> #define WIDTH 5 // Find the shortest-path tree, a spanning tree such that the path distance from // the chosen root vertex to any other vertex is the shortest pos...
b85b7dc6de73a25f5aeaf94ca210b49fc0142064
ae50e9c0197fd56751a2e53dd849646852be8091
/hackerRank/Gem_Stones.cpp
3fadc56d78ff71f70e99d0fc7fd923c98dd85079
[]
no_license
mgiridhar/code
3edbd481f5f17e38c78e7ab7087c58702c525b34
fd1a792ddb861160ff86543c3f66091fbcd7148b
refs/heads/master
2020-04-05T22:48:50.307652
2018-04-30T08:07:34
2018-04-30T08:07:34
22,779,070
0
1
null
null
null
null
UTF-8
C++
false
false
629
cpp
Gem_Stones.cpp
#include<iostream> #include<cstdio> #include<cstring> using namespace std; int main() { int n; cin>>n; int rock_comp[n][26]; for(int i=0;i<n;i++) for(int j=0;j<26;j++) rock_comp[i][j]=0; for(int i=0;i<n;i++) { char comp[100]; cin>>comp; for(int j=0;j<strlen(comp);j++) rock_comp[i][comp[j]-97]=1; } ...
9fd4ba6242db5b884a5c23f9a998ea9814928f83
d7906e84bda2bd386e074eab9f05479205e7d2a9
/Development/Source/Core/Geometry/E3GeometryMesh.cpp
b636465b7de016c0956159360295699b95d5ac38
[ "BSD-3-Clause" ]
permissive
jwwalker/Quesa
6fedd297a5a4dd1c21686e71bba3c68228f61724
1816b0772409c2faacdb70b40d5c02a55d643793
refs/heads/master
2023-07-27T16:36:55.757833
2023-07-06T23:55:10
2023-07-06T23:55:10
204,233,833
33
7
BSD-3-Clause
2023-09-09T23:17:36
2019-08-25T01:59:21
C++
UTF-8
C++
false
false
178,536
cpp
E3GeometryMesh.cpp
/* NAME: E3GeometryMesh.cpp DESCRIPTION: Implementation of Quesa Mesh geometry class. COPYRIGHT: Copyright (c) 1999-2021, Quesa Developers. All rights reserved. For the current release of Quesa, please see: <https://github.com/jwwalker/Quesa> Redistribution and...
834b05fbf4d3e181fbfaec41dbd0638c4cd55b29
dfbf881a7419f35c344e5d271d112a2d3e9fd525
/ExperPortHLabTrainingBoxes/RTLinuxServer/LynxTWO-RT/LynxTWO/HalSampleClock.h
f52e5cddb8a38504e8b765c6b70255c38513c5b3
[]
no_license
jonathansy/BControl_Primary
13ea066fd16c55a30774a68b73f50d63b2a25b94
057039f984741107e37d768889aaf3321188e6d7
refs/heads/master
2016-09-02T01:19:48.312376
2015-02-28T00:02:13
2015-02-28T00:02:13
31,345,565
0
1
null
null
null
null
WINDOWS-1252
C++
false
false
2,569
h
HalSampleClock.h
/**************************************************************************** HalSampleClock.h Description: Interface for the HalSampleClock class. Created: David A. Hoatson, September 2000 Copyright © 2000 Lynx Studio Technology, Inc. This software contains the valuable TRADE SECRETS and CO...
b18ec48ac2b46a9ee0b8fb20c49085fa9d20d670
2c70f9fce1d94f1a434b48b8f725bc577d631072
/CPRGame/cpr_model.h
cedb173e3760a5acc7c391f65fa1618480acfa13
[]
no_license
truongtrain/CPR-Trainer
bee2528bb788806d4db09c695c0f51ebaf9e6fdc
92e9d87ef7fa7dbeca2185214671e86d69e7d18c
refs/heads/master
2020-04-18T06:29:47.467032
2018-12-08T22:13:32
2018-12-08T22:13:32
167,323,292
0
0
null
null
null
null
UTF-8
C++
false
false
3,524
h
cpr_model.h
#ifndef CPR_MODEL_H #define CPR_MODEL_H #include <QObject> #include <iostream> #include <QTimer> #include "metronome.h" #include <QMediaPlayer> #include <QMediaPlaylist> using namespace std; /** * This is the CPR model class. The model interprets the actions sent from the * GUI and sends a result back to the GUI. ...
c04351f5fd619042d0ad13f194f249d657703620
6b5cd466b6ebb7d52e3016bd998660d46ca185bd
/SPOj/Catapult that ball.cpp
9cbcf12bad6d4320232211282e0172bad2fe25aa
[]
no_license
SaqlainAveiro/Competitive-Programming-Solves
5e3154be7b6beaf36b165e10698e4b018bf46d63
f8e5b0a9ed7ee7be3216ff2438d3053a9c9892af
refs/heads/main
2023-05-10T06:12:22.524375
2021-06-06T09:36:01
2021-06-06T09:36:01
373,970,266
0
0
null
null
null
null
UTF-8
C++
false
false
1,482
cpp
Catapult that ball.cpp
#include<bits/stdc++.h> using namespace std; typedef long long int lli ; lli i,j,k,l,m,n,t,a,b,c,d,x,y,sum=0,total=0; const lli MAXN = 105000; const lli MAXLOG = 20; lli ar[MAXN]; lli table[MAXLOG][MAXN]; lli logs[MAXN]; // logs[i] means such maximum p that 2^p <= i void computeLogs() { l...
c5f7c705c4c51c17e5da3c3d6bb220b9e2b2b001
2702a05a71e8d061b3101f468188c7a7082a2ff6
/Project3/RayTracer.cpp
40a8f5df57fbc31a9c894cb0957511e310b52a29
[]
no_license
lameya17/RayTracer
7487dd733004af45e7afc8e2f1643e2802dc5b90
ecfa933abaac259ccff4460f11f687d104bc3498
refs/heads/master
2019-08-04T06:29:47.908854
2017-11-07T20:16:34
2017-11-07T20:16:34
73,140,481
0
0
null
null
null
null
UTF-8
C++
false
false
19,296
cpp
RayTracer.cpp
#include "Camera.h" #include "Sphere.h" #include "Triangle.h" #include <iostream> #include <conio.h> #include <stdio.h> #include "Light.h" #include<cstdlib> #include<ctime> #include "Mesh.h" double screenHeight; double screenWidth; double La = 0.9; double air = 1.0; Color background = Color(0.27f, 0.54f, 0.83f); Obj...
4a4ff3acc9dbe325635927f8adc0c0e998bb6e68
907991827e27a82d886dc9eba71db9726c42bde6
/Sspider1.0/Conn.cc
2dcb0e1947bbc8a8d74f12cf473325ab16b3b28c
[]
no_license
tkasozi/webSpider1.0
a8141950ee0fa7603e18d0d6ea31449fb2680c76
ef00436d7d2af7ad8cc5318b78c43e4e61374271
refs/heads/master
2020-12-31T05:55:32.230809
2016-05-01T04:05:41
2016-05-01T04:05:41
57,477,355
0
0
null
null
null
null
UTF-8
C++
false
false
1,470
cc
Conn.cc
/* * File: Conn.cc * Author: Talik Kasozi * * Created on March 14, 2015, 11:36 PM */ #include "Conn.h" #include "Globals.h" #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <iostream> using namespace...
aeb3ce49f65c686fb5ade22d9d1d9ceea1b6b618
9eb162946527920b784245135887dad8854c6ac3
/WAM-C++-Codes/Sliding-Mode-Controller/dummy_system.hpp
316ac00d8b98e6a309e61ca839f1a59285098d1e
[]
no_license
wlwsjl/Model-based-control-of-4-DOF-Barrett-Wam
1b0317f980ca4d8c5ab36d082aa5126bbc2d8db9
ee9c9c401b5ca8bf62229e4f7b35ac93feb64db6
refs/heads/master
2020-05-27T09:06:27.447741
2015-07-02T04:54:14
2015-07-02T04:54:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,216
hpp
dummy_system.hpp
/* * dummy_system.hpp * * Created on: 06-Feb-2015 * Author: nilxwam */ #ifndef DUMMY_SYSTEM_HPP_ #define DUMMY_SYSTEM_HPP_ #include <iostream> #include <string> #include <barrett/units.h> #include <barrett/systems.h> #include <barrett/products/product_manager.h> #include <barrett/detail/stl_utils.h> #incl...
fe767f58ec011d50b95bde66efb82d52083cd443
e27657ce045037d7f3556ad1e804b7b2e795b657
/FactorItpp.Specs/GivenKeyedContainer.cpp
dda75b4de5c6c7d3ae4a3ff1c5336984008bcc12
[ "MIT" ]
permissive
FurryBuilder/FactorItpp
8b369d15acf227b12bfd1ae5c3cff25c32960fd1
87ac4d00b47016b8bad7d4ee90c8fbd813a78614
refs/heads/master
2021-01-15T23:02:09.583182
2015-03-16T02:23:51
2015-03-16T02:23:51
19,823,811
2
0
null
null
null
null
UTF-8
C++
false
false
3,973
cpp
GivenKeyedContainer.cpp
#include <bandit/bandit.h> #include "Container.h" #include "Stubs.h" using namespace bandit; using namespace FurryBuilder::FactorIt; go_bandit([]() { describe("a FactorIt++ container with one registered service using an exteneded key", []() { std::shared_ptr<Contracts::IContainer> _container = Container::CreateR...
b19739f68b091c656cfcf1ed201eb8642adb66d7
81b117c0df564b3d36fdfd6004e68a1e540e948f
/moses/parameters/ContextParameters.h
aff7783e4941bb9391c427499cdfa6dbf0377fc5
[]
no_license
kevinduh/mosesdecoder
6aa2f449173f6a6e7e1e48c42d90323174c24a55
490755459ff73d7c8e6e9bf07dcc069878ae218e
refs/heads/master
2021-01-18T12:31:14.212515
2015-08-11T18:34:29
2015-08-11T18:34:29
39,024,965
1
0
null
2015-07-13T16:50:37
2015-07-13T16:50:37
null
UTF-8
C++
false
false
482
h
ContextParameters.h
// -*- c++ -*- #pragma once #include <string> #include "moses/Parameter.h" #include "moses/TypeDef.h" #include "moses/Util.h" namespace Moses { class ContextParameters { public: ContextParameters(); void init(Parameter& params); size_t look_ahead; // # of words to look ahead for context-sensitive decoding si...
4ee80bb7635963109d44ef81da23770e36ea6c7f
ea401c3e792a50364fe11f7cea0f35f99e8f4bde
/hackathon/PengXie/NeuronStructNavigator/cmake-3.6.2/Tests/VSWinStorePhone/Direct3DApp1/CubeRenderer.cpp
1c969cd2fc1bd743db51501c6fed914bc34438c9
[ "MIT", "BSD-3-Clause" ]
permissive
Vaa3D/vaa3d_tools
edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9
e6974d5223ae70474efaa85e1253f5df1814fae8
refs/heads/master
2023-08-03T06:12:01.013752
2023-08-02T07:26:01
2023-08-02T07:26:01
50,527,925
107
86
MIT
2023-05-22T23:43:48
2016-01-27T18:19:17
C++
UTF-8
C++
false
false
6,219
cpp
CubeRenderer.cpp
#include "pch.h" #include "CubeRenderer.h" using namespace DirectX; using namespace Microsoft::WRL; using namespace Windows::Foundation; using namespace Windows::UI::Core; CubeRenderer::CubeRenderer() : m_loadingComplete(false) , m_indexCount(0) { } void CubeRenderer::CreateDeviceResources() { Direct3DBase::C...
00c1469d60a63cf0adb41008ec2d920fa51da771
3722de54dbee0fbfbc59a8f0e77b49cb66b3f4f1
/LowerMastOperation.h
665f947ae1b9b3adb848b9f4834fac2d3b4ad27a
[]
no_license
jiangtaojiang/ForkliftSimulation
e9d1a93ecd54c4d7619f0f06f2e98db363ec1072
c97814692e200e68f6d8888b09dfa34ac3c09834
refs/heads/master
2022-10-19T22:26:16.784408
2020-06-15T06:48:25
2020-06-15T06:48:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
387
h
LowerMastOperation.h
#pragma once #include "Operation.h" class LowerMastOperation : public Operation { private: const float LOWERING_STEP = 0.02f; const float MIN_MAST_HEIGHT = -4.5f; const float MIN_FORKS_HEIGHT = -4.5f; public: LowerMastOperation() = default; bool is_finished(Forklift* forklift) override; void do_single_action_st...
824af410ec41fb3f88dbb120d26dc55f33f8e690
029110f650d0376aed050dd3fc760b89b96cb779
/cpp/837/dialog_setvalue.cpp
a9d3c5278c8e71a6239c2d6aae9362e12f3a79f5
[]
no_license
huayunfly/goiot
a03f24618f4fe9455c02847c3734233b9a955b6e
e2094dfd2b74231fd4d244553e8f1dbdda39505d
refs/heads/master
2023-08-31T07:58:07.179832
2023-08-29T08:41:21
2023-08-29T08:41:21
79,292,620
0
0
null
2021-12-26T16:11:49
2017-01-18T01:54:52
C++
UTF-8
C++
false
false
2,765
cpp
dialog_setvalue.cpp
#include <QRegExpValidator> #include <qevent.h> #include "dialog_setvalue.h" #include "ui_dialog_setvalue.h" DialogSetValue::DialogSetValue(QWidget *parent, const QString& current, MeasurementUnit unit, int high_limit, int low_limit) : QDialog(parent), ui(new Ui::DialogSetValue),...
100bf8c3495dbf5b08d8aab5eb1929ef24e566d4
04462e43a083ef37c1e126c40fdf1d38ca81f586
/FlexEngine/include/Cameras/DebugCamera.hpp
3b142c63bfee7e64ee99f1a8761bf08292b86ed3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ajweeks/FlexEngine
adb5aa135b3541e6f8189b88cf432896505d1118
fe7d4b165de8260dd9d6be4d20be7c2f9ba1ffe5
refs/heads/master
2023-08-31T14:04:17.224754
2023-08-28T23:41:27
2023-08-29T17:37:55
82,951,590
969
56
MIT
2021-05-18T18:35:27
2017-02-23T17:14:25
C++
UTF-8
C++
false
false
1,178
hpp
DebugCamera.hpp
#pragma once #include "BaseCamera.hpp" #include "Callbacks/InputCallbacks.hpp" #include "Histogram.hpp" namespace flex { class DebugCamera final : public BaseCamera { public: explicit DebugCamera(real FOV = glm::radians(45.0f)); virtual ~DebugCamera(); virtual void Initialize() override; virtual void Upd...
f737b6db07598475f3cbd897e4cb7938e0af3fc8
d87661218848d981de80d48d7142b95a29b63b4c
/newton-interpolation/main.cpp
53447987749894b1dd5c050d44a19adf739e3b31
[ "MIT" ]
permissive
IonicaBizau/C-plus-plus-Exercises
c691bbc99bcd0323b25e1744a042c7902e86c425
89f21315b604cb121e9b5d4a58f87b2b46152c86
refs/heads/master
2020-12-24T16:07:14.731218
2020-08-09T10:24:08
2020-08-09T10:24:08
9,621,132
3
1
MIT
2020-08-09T10:24:22
2013-04-23T10:59:51
C++
UTF-8
C++
false
false
787
cpp
main.cpp
#include<iostream> using namespace std; int main() { int n = 0; float x[10] , y[10] , a , sum = 0 , mult ; cout << "n = "; cin >> n; for(int i = 0; i <= n; ++i) { cout << "x[" << i << "] = "; cin >> x[i]; cout << "y[" << i << "] = "...
a40ed4b0591baceb4264e5bb491acb16ca28a901
c7d454d97347cb99d82ad05dbacc3c60ea3dbc63
/cs375/assignments/ward_austin1/lenLCS.cpp
125322180704477c7f67498e049b7acfa268c16e
[]
no_license
award28/Binghamton_Course_Work
4854b774311956e8d29535838df4b8ee637afde0
a3a7448fcd7425394762a9fd866b1a18e545fecf
refs/heads/master
2020-03-21T11:47:23.227763
2018-06-25T02:31:48
2018-06-25T02:31:48
138,521,691
0
0
null
null
null
null
UTF-8
C++
false
false
1,792
cpp
lenLCS.cpp
#include <string> #include <ctime> #include "lcs.hpp" using namespace std; void LenLCS::execute(const string &x, const string &y, const string &outfile) { int lenx = x.length(); int leny = y.length(); int c[lenx + 1][leny + 1]; char b[lenx + 1][leny + 1]; string subseq = ""; ofstream fout(ou...
42cb8459df70e10fa51427cbdae85464e32bf0b0
6cb6851ee4826ff183b641e5bf000265f4c926f4
/njust_homework/Visualcpp_1/实验7/S7_4.cpp
1dabeb99fe6b5dfbc73ea72c996e1650a8aeefe2
[ "ICU" ]
permissive
lerogo/shareCode
900098c88dce00a1cc6e17131265d3123343e986
3538bf25c4fcf469e66141ff897d66c6ee9b30e9
refs/heads/main
2023-08-28T23:35:08.725508
2022-01-05T00:12:02
2022-01-05T00:12:02
209,968,283
22
14
null
2023-08-14T22:32:51
2019-09-21T10:46:30
C
GB18030
C++
false
false
388
cpp
S7_4.cpp
#include<iostream> using namespace std; int main(){ int fun(int n); int n,mul; cout<<"输入整数(输入0结束)"<<endl; cin>>n; while(n){ mul=fun(n); cout<<n<<"的各个位数积为:"<<mul<<endl; cout<<"输入整数(输入0结束)"<<endl; cin>>n; } return 0; } int fun(int n){ int sum=1; while(n){ sum*=n%10; n/=10; } ...
26021592e958c6826ad9e905b0d49816b07cc48a
083f92a70099b96de7e22a0995c3cd1ada599119
/ui/ChipModuleControl.h
88196260bb7fcacdda3b083002b615ceae63cf3b
[]
no_license
dnhushak/chipophone
8c75f2d49366d09458c75ad2bfc6bf6ebdd9bdb9
0c74ece50d44bc547dea153dfea0216daa399228
refs/heads/master
2021-01-20T02:16:59.226743
2014-05-03T21:10:39
2014-05-03T21:10:39
9,348,580
0
0
null
null
null
null
UTF-8
C++
false
false
2,603
h
ChipModuleControl.h
#ifndef CHIPMODULECONTROL_H_ #define CHIPMODULECONTROL_H_ #include "Button.h" #include "Encoder.h" #include "MIDIUtils.h" #include "LED.h" #include "RGBLED.h" #include "ArduinoMIDIHandler.h" #include "ChipScreenControl.h" namespace chip { typedef struct ModuleControlPins { // Module Selector Buttons int redButt...
b7e4b32f39002ccee90d299d538cc726de80fa81
1d6788f3ff60142b273ce690291efa97cca81e38
/QtPluginManagerTest/pluginmanager/plugins/logplugin/logplugin.h
e261dd7fb95020e1bc722d168999e6097a8a276d
[]
no_license
keiler2018/QtPluginManagerTest
f013b62a94a7433de2c84ab234dd2314ee4a1d88
e0a8abf2aeed50bec521615a9d84244c67faa473
refs/heads/master
2020-05-21T06:26:50.004259
2019-05-10T08:03:46
2019-05-10T08:03:46
185,945,027
7
6
null
null
null
null
UTF-8
C++
false
false
406
h
logplugin.h
#ifndef LOGPLUGIN_H #define LOGPLUGIN_H #include <loginterface.h> class LogPlugin : public QObject,public LogInterface { Q_OBJECT #if QT_VERSION >= 0x050000 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.LogPlugin" FILE "logplugin.json") #endif // QT_VERSION >= 0x050000 Q_INTERFACES(PluginInterface) public: ...
03adef21a35736c901ec0838a63076d21068fce5
79d343002bb63a44f8ab0dbac0c9f4ec54078c3a
/lib/libcxx/src/support/runtime/new_handler_fallback.ipp
2ec408327d64d4668f260aca013b3de641293288
[ "MIT", "NCSA", "LLVM-exception", "Apache-2.0" ]
permissive
ziglang/zig
4aa75d8d3bcc9e39bf61d265fd84b7f005623fc5
f4c9e19bc3213c2bc7e03d7b06d7129882f39f6c
refs/heads/master
2023-08-31T13:16:45.980913
2023-08-31T05:50:29
2023-08-31T05:50:29
40,276,274
25,560
2,399
MIT
2023-09-14T21:09:50
2015-08-06T00:51:28
Zig
UTF-8
C++
false
false
699
ipp
new_handler_fallback.ipp
// -*- C++ -*- //===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===------------...
21888947685f73dcdcefaed0cec41ad13cbfe539
10fc504ae17abb5532bdc501092cefe07ee37c4e
/GaussSeidel/main.cpp
b390274c23d0877e949def930ec9cdd31c9aa286
[]
no_license
Gravity-I-Pull-You-Down/Numerical_Methords
4dfd629e4e66475f2ac33e11e7543f3d29a0a0ce
9a40f4871167deee4a774563bdb7532407f952e3
refs/heads/master
2022-07-31T10:33:26.177061
2020-05-25T11:57:21
2020-05-25T11:57:21
266,569,260
0
0
null
null
null
null
UTF-8
C++
false
false
815
cpp
main.cpp
#include <iostream> #include <vector> using namespace std; int main() { vector<vector<double>> Base = {{20, 1, -2}, {3, 20, -1}, {2, -3, 20}}; vector<double> Resultant = {17, -18, 25}, m = {0, 0, 0}, n = {0,0,0}; int iterations = 100...
ef00b1047253cb09f0df244eafc7cf0892ee99d8
196f7a76d086145ee5343834e4d1b4a4264b4be1
/code/SegmentAndRender/dynamicsegment.h
4470b017dbedbb0eefb5fe089430699e6478015f
[]
no_license
lizhaodong/DynamicStereo
37466fd169aa77dce3aa95906c985419312e6afe
0abc24889d52ff825a1d7688cf07eb41cec94a7f
refs/heads/master
2020-07-27T23:55:07.391294
2016-11-20T23:08:36
2016-11-20T23:08:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,038
h
dynamicsegment.h
// // Created by yanhang on 4/10/16. // #ifndef DYNAMICSTEREO_DYNAMICSEGMENT_H #define DYNAMICSTEREO_DYNAMICSEGMENT_H #include <iostream> #include <string> #include <memory> #include <opencv2/opencv.hpp> #include <Eigen/Eigen> #include <glog/logging.h> #include "../base/file_io.h" #include "../base/depth.h" namespa...
e634f81c8d541bde47c3ec8860ded34e75999c3b
d0fb746f1be49b7c0de6b9b6c15d034329cd23dc
/Game Engine Esqueleto/EventList.h
5a2ad78eb49c7bc736adbadcb7b450aa0aaa7380
[]
no_license
EdgarSAE/Game-Engine-Esqueleto
23b471eacef9fd217af743c8acf1038c7dcb3e1f
501a8c1de748159b6630c5d13f57ac8b4c6a8be0
refs/heads/master
2021-01-11T03:35:28.088813
2016-09-23T06:24:28
2016-09-23T06:24:28
68,940,999
0
0
null
2016-09-23T06:24:29
2016-09-22T16:33:35
C++
UTF-8
C++
false
false
152
h
EventList.h
#pragma once #include <iostream> class EventList { public: int type; bool exit_ = false; EventList(int Itype); bool Callback(); bool Exit(); };
4a3abc25c71ee2a8cfe592c82272f78fe007dc27
d0e89f5016a0650918684cbb511d60cf0a36b0fd
/Example/Src/User.h
cc94cd8c624e361c72c7b52fa5e428ce7bb40cf5
[ "MIT" ]
permissive
apulverizer/Kinect-Recording
a5e9b3d157138a8b66273143838bf1fa4edd1d53
70a543daa469ef8c62909500062bf694bdab1495
refs/heads/master
2020-04-27T07:51:15.784319
2017-12-16T15:33:35
2017-12-16T15:33:35
19,957,839
2
1
null
null
null
null
UTF-8
C++
false
false
1,480
h
User.h
///////////////////////////////////////////////////////////////// // User.h // // This is a class which stores the joint positions of a user // and performs basic functions such as finding the angle, // direction, and any gestures being performed. // // Author: Aaron Pulver // Date: 5/18/14 ////////////////////////////...
158e450e6f3d0af39048deabd8b3f7b2b1a982f2
ba2d87e13eda7e4d28bcb02af47fab76aeb6b26a
/Fonction.h
0ba3990c580a0e2522b05693557c4fd2dfe1dc49
[]
no_license
Cocoltxed/Jeu-du-Pendu
2a0a5c827b84b67cd0df2d668c3f053b9ccc628b
c4641328ff77c1d3120f6de76a37abf368041dca
refs/heads/main
2023-03-31T03:56:04.850936
2021-04-14T00:03:35
2021-04-14T00:03:35
357,715,979
0
0
null
null
null
null
UTF-8
C++
false
false
403
h
Fonction.h
#pragma once #include <iostream> #include <string> #include <ctime> using namespace std; #ifndef FONCTION_H #define FONCTION_h char GetCaractere(); int GetNombreAleatoire(); string ChoisirMot(string dico[]); void InitEtoile(string& mot); bool TestCaractere(char lettre, string mot, string& motCache); bool TestGagne(s...
bb1980c8bc6ba79ad715679e10dbd70159b6ee09
f6672a809c5bbdf50f11fd498ada28286c9d7a74
/CPipeServer.h
d204d74b63c5aa2ae95d5b9c16fd92ccd8c9c5a7
[ "Unlicense" ]
permissive
clayne/CPipes
d72af1754322514c0f7d9dedf21c9215e99242a2
6eed75cc4c1c870faca79789b5defa4fc5d40840
refs/heads/main
2023-03-20T23:55:23.417115
2021-03-14T02:25:03
2021-03-14T02:25:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
509
h
CPipeServer.h
#pragma once #include <Windows.h> #include <iostream> #include <string> #include "CPipeCommon.h" // Single instance one-way inbound server class CPipeServer { HANDLE m_hPipe; BOOL read(); // Please override this function virtual void processPacket(); public: DWORD m_BytesRead; DWORD m_TotalBytes...
0e9dd4d18a26515d33c9e5864441ca90a3d12b98
fe1edb72f6d3828309dfcd8b452c53d0e9ee5ad9
/floor.cc
d281f2f76bd25ec480f9124c648fa74b25802fdd
[]
no_license
gc-archer/cc3k
3993326a1a708380a34b2a138245a059345aaff6
ed5687f91c1ee233bb5711e1269b19e1f4d3cf8c
refs/heads/master
2020-05-05T06:50:48.149804
2018-09-03T01:40:46
2018-09-03T01:40:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
17,133
cc
floor.cc
#include "floor.h" #include "display.h" #include "factory.h" #include "npc.h" #include "pc.h" #include "potion.h" #include "gold.h" #include "chamber.h" #include "tile.h" #include "basictile.h" #include "basicpotion.h" #include "tiledecorator.h" #include "passage.h" #include "stairs.h" #include "door.h" #include "wall....
20f7700d944495d20674095ac2b9a3d22cb40255
942bc7a374ced8f96a139feac1a01148cc4e60d7
/indy/C4/IdMappedFTP.hpp
75b3cfa9bf6e44741a889d9b0c3ef53f8362d25f
[]
no_license
p-ameline/Episodus
915b0dfa324a0b9374b887f0fc9fd74a599b9ae3
8bba0a26e267cff40a7669c6ae47647c68a30834
refs/heads/master
2022-04-07T12:39:09.224028
2020-03-06T09:20:03
2020-03-06T09:20:03
119,287,108
1
3
null
null
null
null
UTF-8
C++
false
false
4,461
hpp
IdMappedFTP.hpp
// Borland C++ Builder // Copyright (c) 1995, 1999 by Borland International // All rights reserved // (DO NOT EDIT: machine generated header) 'IdMappedFTP.pas' rev: 4.00 #ifndef IdMappedFTPHPP #define IdMappedFTPHPP #pragma delphiheader begin #pragma option push -w- #include <IdComponent.hpp> // Pascal unit #include...
39a8f98dfcc81072093efc4acd4f69ad80cebf27
03196a00af2e56b2dc0a34148fcdbca9c0cfca15
/light.cpp
693b558e508b53671a62e492eafb194107220500
[ "MIT" ]
permissive
epsxy/RayTracingPlusPlus
e4a6187ae91df1778e7c4a64e04532b065a85443
efbd3b569bb35a7783a9b9b7d60fd1eb6949b27d
refs/heads/master
2021-05-29T12:50:29.317901
2015-06-12T18:00:42
2015-06-12T18:00:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
464
cpp
light.cpp
#include <iostream> #include "light.h" #include "point.h" using namespace std; void Light::setSource(Point source) { m_source = source; } void Light::setIntensity(double intensity) { m_intensity = intensity; } void Light::printLight() { cout << "Light, de centre"; m_source.printPoint(); cout << "...
57ac33698ddbabb9869692e3261450fd8d67a4dc
f09774159c0a5791af0bab7550e7d877d6376ac8
/src/pokemons/PokemonCreator.hpp
5d77c154efebc7808189b485066a48c95ae1b978
[]
no_license
WathisLove/PokemonAE
df2dfca499ba14de3c782f5f007af9c5bb3101c2
344d0ae38522f5b4aa7a56a2dc8fac83f00faf4d
refs/heads/master
2023-04-21T00:33:44.450187
2021-05-07T13:57:43
2021-05-07T13:57:43
364,509,897
0
0
null
null
null
null
UTF-8
C++
false
false
1,185
hpp
PokemonCreator.hpp
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: PokemonCreator.hpp * Author: Redbuzard * * Created on 21 décembre 2019, 15:23 */ #ifndef POKEMONCREATOR_HPP #defin...
a73846d57d75141c3177088b66d6a848d210b54c
0f2ce868d634d48362639a556734c66ba5838ae8
/Final/Encrypted Computing/ACA-Final-Team1-Encrypted-Computing-main/src/kernel/scale.cpp
4916e622853c1b1acd78c2e3d05228e13f6d5f20
[ "MIT" ]
permissive
NTU-CSIE-HLS/ACA-HLS
32ae2978cc2a4d62f1c4ccd2d6dcf05a9c786044
4e81b4332e6a3f7867070b11bc9af70a0857e486
refs/heads/main
2023-06-09T10:26:20.929988
2021-07-03T08:44:38
2021-07-03T08:44:38
382,534,133
4
0
null
null
null
null
UTF-8
C++
false
false
6,497
cpp
scale.cpp
#include "rns.h" #include "mod.h" #include <iostream> using namespace std; extern "C" { const int PRAGMA_UNROLL_NUM = UNROLL_NUM; const int PRAGMA_RNS_NUM_2_MINUS_1 = 2*RNS_NUM-1; const int PRAGMA_RNS_NUM_2 = 2*RNS_NUM; const int PRAGMA_RNS_NUM = RNS_NUM; const int PRAGMA_SCALE_LATENCY = SCALE_LATENCY; ap_int<PRIME_...
3391381547f4e85eff8637a67afdaff1b09a5280
69b81075af42da499b7ffb3ef18932607dcdcd5c
/2/prog/misc/sam_06_05/main.cpp
808e3d8e319ff98d0440d43f75cbeb1ad5f83f6b
[]
no_license
jakwuh/bsu
30e11f91409d78067de8c05e645c54a829622f5b
53285d64a02d8f7604999f482dedf52db128e598
refs/heads/master
2020-12-25T18:13:51.979492
2017-12-19T16:13:50
2017-12-19T16:13:50
36,699,846
5
1
null
null
null
null
WINDOWS-1251
C++
false
false
788
cpp
main.cpp
// 5 вариант // Джеймс Аквух // Самостоятельная работа 06.05 #include <iostream> #include <fstream> #include "vector.h" #include "fraction.h" using namespace std; int main() { try { ifstream in("input.txt"); ofstream out("output.txt"); int n, m, k; in >> n >> m; Vector < Vector < Fraction > > v(n, Vector...
f65afb203166d203465e324f503611e56b32c5a6
fcc777b709d795c4116bad5415439e9faa532d39
/dali/pyramid.cpp
bb482d0f8abd44154e39eadc6efe4920b315f41c
[]
no_license
demonsheart/C-
1dcaa2128ec8b20e047ae55dd33f66a359097910
f567b8ca4a4d3ccdf6d59e9fae5b5cea27ec85c1
refs/heads/master
2022-11-29T00:27:30.604843
2020-08-10T11:48:36
2020-08-10T11:48:36
283,923,861
1
0
null
null
null
null
UTF-8
C++
false
false
505
cpp
pyramid.cpp
#include<stdio.h> #include<stdlib.h> int main() { int t,n,j,a,m; char ch; scanf("%d ",&t); for(int i=1;i<=t;i++) { scanf("%d %c",&n,&ch); for(j=1;j<=n;j++) { m=2*j-1; a=2*n-1-m; for(int k=1;k<=a;k++) printf(" "); for(int l=1;l<=m;l++) printf("%c",ch); printf("\n"); } ...
601ef4cfcf46637afb5df61192919b49dcf0bcda
66257fa9bf3025d4398d11d01f19e559a350ee5b
/SDA/Module/Manager/ProcessModuleManager.h
62a31035d8b200f5cdd8c6cfd47ea66731f5b032
[]
no_license
Fleynaro/MultiPlayer
79a7e3e646ef23f5851d5ecc257ad0d77adc6ca1
eb4310e0c61ab7126b3e3e31b322add999cef44b
refs/heads/master
2023-06-12T16:00:53.713952
2021-05-14T14:14:15
2021-05-14T14:14:15
233,058,852
6
0
null
null
null
null
UTF-8
C++
false
false
898
h
ProcessModuleManager.h
#pragma once #include "AbstractManager.h" #include <Address/ProcessModule.h> namespace DB { class ProcessModuleMapper; }; namespace CE { class ProcessModuleManager : public AbstractItemManager { public: using Iterator = AbstractIterator<ProcessModule>; ProcessModuleManager(ProgramModule* module); ~Process...
60adddc40929241f12d93e3c6d2c2ad1b1c038e5
619941b532c6d2987c0f4e92b73549c6c945c7e5
/Include/Nuclex/Storage/Storage.h
15827a7bdcab237e9009205d15c0791354fc43ae
[]
no_license
dzw/stellarengine
2b70ddefc2827be4f44ec6082201c955788a8a16
2a0a7db2e43c7c3519e79afa56db247f9708bc26
refs/heads/master
2016-09-01T21:12:36.888921
2008-12-12T12:40:37
2008-12-12T12:40:37
36,939,169
0
0
null
null
null
null
UTF-8
C++
false
false
2,471
h
Storage.h
//  // // # # ### # # -= Nuclex Library =-  // // ## # # # ## ## Storage.h - Storage system  // // ### # # ...
5d23f901a2c269c44f3e2e979ef88eb2faecd3e7
d22ce67851c44e45b3acc80524db95c8f98de6eb
/editbinarywindow.h
1161daed55a7a4671b155121b3d6ec0a126066a4
[]
no_license
Vorobeyyyyyy/ExtendedRegedit
dd57c4b0d5e99aba3b0698163aa81476179b7856
71cd83de294952f912a7610d57c71717ec68a047
refs/heads/master
2022-08-01T10:31:04.361411
2020-05-10T21:55:31
2020-05-10T21:55:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
337
h
editbinarywindow.h
#ifndef EDITBINARYWINDOW_H #define EDITBINARYWINDOW_H #include <QDialog> namespace Ui { class EditBinaryWindow; } class EditBinaryWindow : public QDialog { Q_OBJECT public: explicit EditBinaryWindow(QWidget *parent = nullptr); ~EditBinaryWindow(); private: Ui::EditBinaryWindow *ui; }; #endif // ED...
3f523a45d4604a65ef862daaa481f98bb37e1430
39eac74fa6a244d15a01873623d05f480f45e079
/PicContainerDlg.h
b8f2593d71bb398f84ba1d0c4fa070ff42996ebe
[]
no_license
15831944/Practice
a8ac8416b32df82395bb1a4b000b35a0326c0897
ae2cde9c8f2fb6ab63bd7d8cd58701bd3513ec94
refs/heads/master
2021-06-15T12:10:18.730367
2016-11-30T15:13:53
2016-11-30T15:13:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
19,964
h
PicContainerDlg.h
#if !defined(AFX_PICCONTAINERDLG_H__AFBF66FA_C391_4DA4_98E6_E53683F88452__INCLUDED_) #define AFX_PICCONTAINERDLG_H__AFBF66FA_C391_4DA4_98E6_E53683F88452__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // PicContainerDlg.h : header file // #include "EmrFrameWnd.h" #include "EmrPatientFrameWnd.h" ...
d256c9e3e7f0aa9d57fce2d9e00f5dfb5453693b
dbecc8d098ea32cc2b7c9076aa6ef2f710683180
/spell/MagicArrow.h
30ea41dab2c947bed6cf8b16f529e783c727fd8f
[]
no_license
pushkin-82/Army
b4ac572c1ad2bc11f5900d155ab754784c6776c8
9a1b2ffac2c21c5769a47005c41837adc32c98f8
refs/heads/master
2021-09-18T01:20:56.817567
2018-07-08T09:45:56
2018-07-08T09:45:56
114,532,569
0
0
null
2018-07-08T09:39:02
2017-12-17T11:59:18
C++
UTF-8
C++
false
false
306
h
MagicArrow.h
#ifndef MAGIC_ARROW_H #define MAGIC_ARROW_H #include "Spell.h" class MagicArrow : public Spell { public: MagicArrow(std::string title="Magic Arrow", int cost=5, int points=10); virtual ~MagicArrow(); virtual void action(Unit* target); }; #endif // MAGIC_ARROW_H
75b681d3b44e0b97d76de602bf8bca8532de8613
daffbc366b1938b07fb3badf64a2a6bfaf27b226
/Server.cpp
b4a08f4b07c3cb69d23ea7aaf51e4e7a7e515944
[]
no_license
OskarMariaGraf/Kuppel
50f887cea04fd12bd28f1a6a5601a7198b5bdd60
9adc9b3445aec072a1913f518844b59980dc4cef
refs/heads/master
2021-01-10T16:00:09.928715
2017-02-13T08:23:09
2017-02-13T08:23:09
52,727,128
1
1
null
2016-10-20T15:41:14
2016-02-28T15:11:32
C++
UTF-8
C++
false
false
7,763
cpp
Server.cpp
//g++ -Wall -o Server -std=c++11 Server.cpp utility.cpp //Copyright @ David Fucking Berger //Anmerkungen zu Kommentaren: entweder man weiß wie Sockets und Read()/Write() in c/c++ funktionieren oder halt nicht, dann einfach mal kurzes Tutorial googlen, dauert wenn man c/c++ kann vielleicht 30min //Die spezifischen, nich...
e0f0da6ebee3e336f0d089e7d9c0ee95192e3424
5d9725f9748016798bb93a40be612b99d03d8b00
/图书管理系统/build-LibraryManageSystem-Desktop_Qt_5_9_0_MSVC2017_64bit-Debug/debug/moc_admininterface.cpp
21e9a617e16f14db4f4c0dd0ef0604a3ee6b3d0e
[ "MIT" ]
permissive
cjj1024/Blog
f5b9fa85b9917719e73c3959736503aa0991b2a3
a108cf47150cd1b980725deadca564fe6f9cc2f5
refs/heads/master
2020-04-28T03:33:51.638424
2019-03-11T06:59:07
2019-03-11T06:59:07
174,942,454
0
0
null
null
null
null
UTF-8
C++
false
false
4,807
cpp
moc_admininterface.cpp
/**************************************************************************** ** Meta object code from reading C++ file 'admininterface.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.0) ** ** WARNING! All changes made in this file will be lost! ******************************************************...
45866de9d2061e88d2248244e246d5f0b727bdad
877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a
/app/src/main/cpp/dir521/dir3871/dir4221/dir4222/file4323.cpp
00975c6a4f0a6a131a409c77488ab6eee9f70f73
[]
no_license
tgeng/HugeProject
829c3bdfb7cbaf57727c41263212d4a67e3eb93d
4488d3b765e8827636ce5e878baacdf388710ef2
refs/heads/master
2022-08-21T16:58:54.161627
2020-05-28T01:54:03
2020-05-28T01:54:03
267,468,475
0
0
null
null
null
null
UTF-8
C++
false
false
111
cpp
file4323.cpp
#ifndef file4323 #error "macro file4323 must be defined" #endif static const char* file4323String = "file4323";
d314a6ff0d771f4d58761b6c968b48a3dc2cd72c
3161b3bb926b9c60bf6b8bf579887575345cbed5
/SWExpertAcademy/2117_Home_security_service/source.cpp
d98d675db7cfaf20d6fd0f0dcb346fcb48babed6
[]
no_license
mks0/CodingTest
71bf660d73c11580035b9a245a0954752d2282c0
c89a534d9ff552d449075b4c964c7b1214d92276
refs/heads/master
2023-07-26T19:07:19.946830
2021-09-12T12:39:14
2021-09-12T12:39:14
367,276,687
0
0
null
null
null
null
UTF-8
C++
false
false
1,199
cpp
source.cpp
#include <iostream> #include <cmath> using namespace std; struct Pos { int i, j; }; int mapSize, money, homeCnt; Pos home[400]; inline int GetCost(const int k) { return k * k + (k - 1) * (k - 1); } inline int GetDist(const Pos& pos1, const Pos& pos2) { return abs(pos1.i - pos2.i) + abs(pos1.j - pos2.j); } void Input...
bcd7aebc4c8cd008cb743a87b4f27501263351bd
1cc305e092455e108267ca3d6f3189321a258114
/src/main_gui_objects/Model.h
e842936cb5e2d54eabd867339349450e59b44d5f
[]
no_license
katja/FunnyGears
0f247e1e56b6a8e4a97669f7a80ebe857cf74c03
91c80e63b96764e37fe97031b770865700a24435
refs/heads/master
2016-08-04T20:11:20.753149
2015-10-23T12:53:14
2015-10-23T12:53:14
18,118,762
0
0
null
null
null
null
UTF-8
C++
false
false
10,907
h
Model.h
#ifndef MODEL #define MODEL #include "stable.h" #include "graphics_objects/GraphicsScheduleItem.h" #include "helper_objects/ChangingObjectResponder.h" /** Model (tree) of the ModelTreeView and the whole scene * Responsible for adding, organising and removing items * * Holds a tree of all GraphicsScheduleItems – ...
52d1075bb1516f9648a6693ab6cfba117b7ba3cc
89e8fff78ca6ff0ac56cb7958d9d093159038367
/CreativeEngine/GameObject.cpp
92c69fc1c7231493bb667f99df99369e238cee72
[]
no_license
WhipCream4K/CreativeEngine
ae79c84cdc45b4edb9091b5b92133b09756811e1
e154d63545720f692bad96fd61200a41d63d98b6
refs/heads/master
2022-12-11T23:22:53.647022
2020-08-25T09:27:24
2020-08-25T09:27:24
258,779,855
0
0
null
null
null
null
UTF-8
C++
false
false
1,290
cpp
GameObject.cpp
#include "pch.h" #include "GameObject.h" #include "BaseComponent.h" #include "Transform.h" #include "PhysicsComponent.h" dae::GameObject::GameObject() : m_pTransform() , m_Tag{} , m_IsStatic{} , m_IsActive{ true } , m_IsInit{} { auto transform = std::make_shared<Transform>(); m_pComponents.emplace_back(transfor...
cd67cc3fde152b2fc765a6c9edfdd630cc43cc35
a3c7d2e1bb0b8b7a48f5a32565117cdbe6c714c5
/include/pyhrol_type_iterable.hpp
d06fc6732af6c18fac6cf5a03ccaaa56d77717ec
[ "BSD-2-Clause" ]
permissive
dyomas/pyhrol
353bd6e1e2b9aa53d8b6f4046cd25b71d4390883
6865b7de3377f9d6d3f1b282a39d5980497b703d
refs/heads/master
2021-01-23T15:14:28.867590
2015-08-08T08:25:57
2015-08-08T08:25:57
40,325,532
0
0
null
null
null
null
UTF-8
C++
false
false
4,861
hpp
pyhrol_type_iterable.hpp
/* * Copyright (c) 2013, 2014, Pyhrol, pyhrol@rambler.ru * GEO: N55.703431,E37.623324 .. N48.742359,E44.536997 * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code mu...
745de3bd0e09033bfe89d50d04f3f4a78552e703
e13e1524348b27dfda021b2d1d2d11fa60de7f4a
/gui/module/debug.hpp
71b324f8a34973b3785d244dbebdf1a94d4ff98f
[]
no_license
Librianets/OESD
11c99aeeee5c211476029a7d109e058a8127163a
aff12cce705801e89769bf644e65e3be5762b14e
refs/heads/master
2022-02-22T12:22:32.376721
2019-07-31T02:54:04
2019-07-31T02:54:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
529
hpp
debug.hpp
#ifndef __DEBUG_HPP__ #define __DEBUG_HPP__ #define MAXMSGLOGLEN 0x0200 //512 class CDebugInfo { public: CDebugInfo(); ~CDebugInfo(); void ClearClass(void); void Debug(const wchar_t *fmt, ...); void Info(const wchar_t *fmt, ...); void WriteLog(int iLogSwitch, int iNumCount); wchar_t *lpGet...
67914b4614ba485d1207ba4675cffeb5581c23f0
44a1382fbb4f566a933ff2ad3a864d6f6f4dcaf2
/Number_of_Minimum_Picks_to_get_K_Pairs_of_Socks_from_a_Drawer.cpp
6defa8c71ae56f32e5183ed8e77b9dd42ad19d0c
[]
no_license
yashparmar15/Cpp-Codes
e3f15c5f6bb626d5b8e8115a14a3a825ed138630
7016ef17f03f9d493ee7866785f27e73b09779e7
refs/heads/master
2023-04-19T02:39:19.138477
2021-05-09T18:12:55
2021-05-09T18:12:55
276,151,617
2
0
null
null
null
null
UTF-8
C++
false
false
1,998
cpp
Number_of_Minimum_Picks_to_get_K_Pairs_of_Socks_from_a_Drawer.cpp
/*A drawer contains socks of n different colours. The number of socks available of ith colour is given by a[i] where a is an array of n elements. Tony wants to take k pairs of socks out of the drawer. However, he cannot see the colour of the sock that he is picking. You have to tell what is the minimum number of socks ...
8080abec9ca86f198ad570aa339db2c0f71c3290
26148e715dceeb7592f244cd7dfaa84f2ddec542
/ABC/175/c.cpp
c65fa56aeae63dbb126f175f41f416f1f220d9dc
[]
no_license
R-Hys/compro
4677a1c0c239167976018c3a9fdf02a4a66bc21a
8ce50f09c7f483d72de70413385c52df08995485
refs/heads/master
2023-03-29T16:28:06.211174
2021-03-27T16:11:35
2021-03-27T16:11:35
274,610,838
0
0
null
null
null
null
UTF-8
C++
false
false
714
cpp
c.cpp
#include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <cmath> using namespace std; typedef long long ll; ll X,K,D; void input() { cin >> X >> K >> D; } void solve() { if (X == 0){ if (K % 2 == 0) cout << 0 << endl; else cout << D << endl; return ; ...
33c6913049126b2ffe3d443ff8fcd5b6dd1bbc77
fa7474550cac23f55205666e13a99e59c749db97
/ml/handwriting.h
f879ce6083ccc1d2e62b72a1e6278974b2be8ec6
[ "BSD-3-Clause" ]
permissive
kalyankondapally/chromiumos-platform2
4fe8bac63a95a07ac8afa45088152c2b623b963d
5e5337009a65b1c9aa9e0ea565f567438217e91f
refs/heads/master
2023-01-05T15:25:41.667733
2020-11-08T06:12:01
2020-11-08T07:16:44
295,388,294
0
1
null
null
null
null
UTF-8
C++
false
false
5,879
h
handwriting.h
// Copyright 2020 The Chromium OS 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 ML_HANDWRITING_H_ #define ML_HANDWRITING_H_ #include <string> #include <base/no_destructor.h> #include <base/optional.h> #include <base/scope...
921660ba3604a725c5bef1ab34267ea2ddf84d6e
fd900bb8f6ab02f7b4a1397ecd5137896c8ff2c6
/Segment Lazy Sum.cpp
bb3bce0933ef38cb153424c0ba0ebbf787d61cf1
[]
no_license
farhad-aman/Algorithms
ff308bcbbcbe82ed0f3cfb7d856d54a52af708b5
b759829948c0e66f755f99b96cdcc99778a17b29
refs/heads/master
2023-02-26T16:51:31.012851
2021-02-04T06:42:26
2021-02-04T06:42:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,010
cpp
Segment Lazy Sum.cpp
// In Name Of God #include <bits/stdc++.h> #define IB std::ios::sync_with_stdio(0); #define forn(i,b) for(int i=0 ; i<b ; i++) #define endl "\n" #define all(x) x.begin(),x.end() #define pb push_back #define po pop_back #define F first #define S second using namespace std; typedef long long ll; typedef pair <int,int> p...
5317953c163a6ffe9c3754d8a26b3cda5c06af21
38e0228a1daa76556c4b4166409fe35fc721b788
/OperatorOverloading/ComplexNumberTest.h
69b81e57e5f70650375988873897c3a2fc0fa871
[]
no_license
LukeChalkley/Complex_Number_Operator_Overloading
3e50240bd1f5dbdd08124841f8969a94018975fe
b6b49e073fbeb6e2929d4e21343f8d88af51f34a
refs/heads/master
2020-04-30T15:42:15.152286
2019-03-21T11:03:01
2019-03-21T11:03:01
176,926,889
0
0
null
null
null
null
UTF-8
C++
false
false
11,142
h
ComplexNumberTest.h
#pragma once #include "cxxtest/TestSuite.h" #include <iostream> #include "complex.h" class ComplexNumberTest : public CxxTest::TestSuite { public: void testAddition1(void) { /// (3+2i) + (1+7i) == 4+9i == 3 + 1 + (2+7)i std::cout << "Beginning addition tests." << std::endl; TS_TRACE("This test should PASS....
b2dced042ca031f2fe1b504fa61bc82bf5d10a44
7a5dce836d3467e702dca8e30eb2fe7256ed922d
/C Programs/charsi.cpp
a90c712ebb8750c77d071eb7b0db331f2c167289
[]
no_license
anubhav23sept/My-Spoj-Submissions
9605358b13899ef74ad0445012ac3c44205f1497
eb906538a9242d3cf19ce42956bee931a12639df
refs/heads/master
2021-01-22T05:33:39.978362
2017-02-11T19:07:11
2017-02-11T19:07:11
81,674,854
0
0
null
null
null
null
UTF-8
C++
false
false
1,332
cpp
charsi.cpp
/* Anubhav Singh MNNIT Allahabad CSE */ #include<bits/stdc++.h> using namespace std; int arr[1000004],arr2[1000004]; void seive() { int i,j,k=0;; arr[1]=1; for(i=2;i<=1000004;++i) { if(!arr[i]) { arr2[k++]=i; j=2; while(j*i<=1000004) { arr...
17f840cb0e37baa14448c28e0f3d69616a0918d7
6f04bfa59fd4e9bbc5281a85e7b250f2e2a2939a
/util.hh
be4a49958368fb0dbc6d398cb39a653c93482c80
[]
no_license
rgrr/vsoup
00e83068e1d49608d72889e171f2ea8fe2a9be04
5a8f084323465bfc3b6334d8993feb9cb1ae3d30
refs/heads/master
2021-02-09T17:45:16.697522
2020-03-02T07:43:03
2020-03-02T07:43:03
244,308,925
0
0
null
null
null
null
UTF-8
C++
false
false
894
hh
util.hh
// $Id: util.hh 1.14 1999/08/29 12:58:41 Hardy Exp Hardy $ // // This progam/module was written by Hardy Griech based on ideas and // pieces of code from Chin Huang (cthuang@io.org). Bug reports should // be submitted to rgriech@swol.de. // // This file is part of VSoup for OS/2. VSoup including this file // is...