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)
Search found 721 matches
- July 18th, 2018, 12:16 am
- Forum: Everything
- Topic: Randomizer
- Replies: 11
- Views: 4256
- July 18th, 2018, 12:09 am
- Forum: Everything
- Topic: Randomizer
- Replies: 11
- Views: 4256
Re: Randomizer
haha, no worries folks, it's the knowledge passing that counts
- July 15th, 2018, 6:16 am
- Forum: Everything
- Topic: Randomizer
- Replies: 11
- Views: 4256
Re: Randomizer
Nice!, I like that
- July 14th, 2018, 9:02 pm
- Forum: Everything
- Topic: Else if statement
- Replies: 7
- Views: 2389
Re: Else if statement
@albinopapa, explains it better than i can lol
- July 14th, 2018, 8:32 pm
- Forum: Everything
- Topic: Randomizer
- Replies: 11
- Views: 4256
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_...
- July 14th, 2018, 5:32 am
- Forum: Everything
- Topic: Else if statement
- Replies: 7
- Views: 2389
Re: Else if statement
This may help explain
https://www.geeksforgeeks.org/decision- ... sted-else/
https://www.geeksforgeeks.org/decision- ... sted-else/
- July 2nd, 2018, 11:39 pm
- Forum: Everything
- Topic: Purify Thyself
- Replies: 2
- Views: 1391
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 .. Good read
- June 15th, 2018, 12:28 am
- Forum: Everything
- Topic: FileIO homework
- Replies: 6
- Views: 2456
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 ?
- June 12th, 2018, 12:22 am
- Forum: Everything
- Topic: Tutorial 8 at 3d fundementals i get C2512 error
- Replies: 1
- Views: 1139
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...
- June 2nd, 2018, 1:03 am
- Forum: Everything
- Topic: help what are DLLs
- Replies: 6
- Views: 2272
Re: help what are DLLs
https://github.com/Microsoft/vcpkg/issues/3447
This may help you out
This may help you out