Skip to content

Instantly share code, notes, and snippets.

View GermanHoyos's full-sized avatar
😋
Coding!

German Adrian Hoyos GermanHoyos

😋
Coding!
View GitHub Profile
//THE SOURCE / WHO WAS, WHO IS, WHO IS COMING: YHWH
//German Adrian Hoyos // "Imagination + Willpower" -> the only two skills that matter.
//https://x.com/EvangelizerH
/********************
** **
** Experiment to **
** learn OpenGL **
** and 6dof Maths **
** **
@GermanHoyos
GermanHoyos / UnitCircle.js
Created February 22, 2022 00:27
Starter code for displaying a unit circle in html canvas
console.log("Base_Unit_Circle");
var canvas = document.querySelector("canvas");
var c = canvas.getContext('2d');
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
let up = false;
let down = false;
let left = false;
@GermanHoyos
GermanHoyos / DynamicArrays.cpp
Created January 13, 2022 01:27
Use a dynamic array to sort information in C++
#include <iostream>
#include <string>
#include <fstream>
#include <iomanip>
using namespace std;
@GermanHoyos
GermanHoyos / ReArrangeScores.cpp
Created January 13, 2022 01:25
Use arrays to re arrange scores highest to lowest in C++
#include <iostream>
#include <string>
#include <fstream>
#include <iomanip>
#include <sstream>
@GermanHoyos
GermanHoyos / ScoreGrades.cpp
Created January 13, 2022 01:22
Program to grade scores from a file C++
#include <iostream>
#include <string>
#include <fstream>
#include <iomanip>
using namespace std;
@GermanHoyos
GermanHoyos / RemoveVowels(STAR).cpp
Created January 13, 2022 01:20
Remove vowels from strings in C++
#include <iostream>
#include <string>
using namespace std;
string usrInp;
string scan;
string newStr;
string transfer;
@GermanHoyos
GermanHoyos / ArcMath.cpp
Created January 13, 2022 01:17
Program to find diameter / area / circumfrance - of a circle in C++
#include <iostream>
#include <string>
#include <iomanip>
#include <fstream>
#include <cmath>
@GermanHoyos
GermanHoyos / FindVowels.cpp
Created January 13, 2022 01:13
Program to find all vowels in a string C++
#include <iostream>
#include <string>
using namespace std;
bool isVowel(char range);
int main() {
string usrInpt;
@GermanHoyos
GermanHoyos / TypeCasting.cpp
Created January 13, 2022 01:08
Type Casting Example in C++
#include <iostream>
#include <string>
#include <iomanip>
using namespace std;
int main() {
int num;
@GermanHoyos
GermanHoyos / ifstream.cpp
Created January 13, 2022 01:06
Working with File IO in C++
//File I/O in 5 steps
#include <iostream>
#include <string>
#include <fstream> //Step 1)Include the header file fstream in the program.
#include <iomanip>
using namespace std;