Search found 721 matches

by MrGodin
July 18th, 2018, 12:16 am
Forum: Everything
Topic: Randomizer
Replies: 11
Views: 4183

Re: Randomizer

The first time i seen this
#define internal static
was when watching Handmade Hero, a game coded in C (you can find it on youtube)
by MrGodin
July 18th, 2018, 12:09 am
Forum: Everything
Topic: Randomizer
Replies: 11
Views: 4183

Re: Randomizer

haha, no worries folks, it's the knowledge passing that counts :)
by MrGodin
July 15th, 2018, 6:16 am
Forum: Everything
Topic: Randomizer
Replies: 11
Views: 4183

Re: Randomizer

Nice!, I like that
by MrGodin
July 14th, 2018, 9:02 pm
Forum: Everything
Topic: Else if statement
Replies: 7
Views: 2350

Re: Else if statement

@albinopapa, explains it better than i can lol :)
by MrGodin
July 14th, 2018, 8:32 pm
Forum: Everything
Topic: Randomizer
Replies: 11
Views: 4183

Randomizer

Simple random generator #pragma once #include <random> #include <windows.h> template<class Gen> class RandomGenerator { std::random_device rd; Gen rng; public: RandomGenerator() { rng = Gen(rd()); } template<typename T> T Get(T min, T max) {} template<> int Get<int>(int min, int max) { std::uniform_...
by MrGodin
July 14th, 2018, 5:32 am
Forum: Everything
Topic: Else if statement
Replies: 7
Views: 2350

Re: Else if statement

by MrGodin
July 2nd, 2018, 11:39 pm
Forum: Everything
Topic: Purify Thyself
Replies: 2
Views: 1372

Re: Purify Thyself

Nice info, defiantly makes a lot of sense. I would pass info into a function and make it do a whole lot of things it didn't need to, so i am guilty :P .. Good read :)
by MrGodin
June 15th, 2018, 12:28 am
Forum: Everything
Topic: FileIO homework
Replies: 6
Views: 2429

Re: FileIO homework

not sure what the fio::print function is doing, possible not setting a end line call or '\n' at the end of each print ?
by MrGodin
June 12th, 2018, 12:22 am
Forum: Everything
Topic: Tutorial 8 at 3d fundementals i get C2512 error
Replies: 1
Views: 1107

Re: Tutorial 8 at 3d fundementals i get C2512 error

seems you might be calling an instance of CudeSkinScene as follows ? CudeSkinScene CSScene.. looks as though it can only be declared with its constructor data class CubeSkinScene : public Scene { public: typedef Pipeline::Vertex Vertex; public: CubeSkinScene() = default; // NEW and will not work bec...
by MrGodin
June 2nd, 2018, 1:03 am
Forum: Everything
Topic: help what are DLLs
Replies: 6
Views: 2233

Re: help what are DLLs