Search found 190 matches

by cyboryxmen
September 8th, 2019, 8:04 am
Forum: Everything
Topic: Question about Data Members
Replies: 2
Views: 1648

Re: Question about Data Members

Every variable in C++, member or non-member, is an object. Functions however are not
by cyboryxmen
August 21st, 2019, 3:58 pm
Forum: Everything
Topic: The usefulness of bit packing
Replies: 10
Views: 5025

Re: The usefulness of bit packing

Code: Select all

enum class Option
{
	a,
	b,
	c,
	a_b,
	a_c,
	b_c,
	a_b_c
};
Get on my level 😏
by cyboryxmen
August 21st, 2019, 3:24 am
Forum: Everything
Topic: Fun Easy Dumb Algorithm Puzzle
Replies: 5
Views: 2974

Re: Fun Easy Dumb Algorithm Puzzle

Code: Select all

void algorithm(std::vector<int>& io)
{
    constexpr auto output = std::array{0,4,12,1,5,9,17,2,6,10,18,7,19};
    
    std::copy(output.begin, output.end, io.begin);
}
git gud scrubs!
by cyboryxmen
August 4th, 2019, 6:05 am
Forum: Everything
Topic: How a Multiple Producer Multiple Consumer queue works
Replies: 0
Views: 11971

How a Multiple Producer Multiple Consumer queue works

A queue is a simple data structure that operates the same way as a real life queue. Objects get "pushed" to the back of the queue and get "popped" when they reach the front of the queue. The front and back of the queue are tracked using indices like unsigned int(s) or std::size_t(s). When an object ...
by cyboryxmen
July 30th, 2019, 4:50 pm
Forum: Everything
Topic: What makes C++ a low-level programming language?
Replies: 3
Views: 2785

Re: What makes C++ a low-level programming language?

People think that low level programming is something that you learn to optimise runtime and minmax performance. I actually created this post specifically to help people be better at writing safer code. Most of the time, I see beginners write these clunky constructs that make programs unnecessarily c...
by cyboryxmen
July 17th, 2019, 12:27 pm
Forum: Everything
Topic: Got side tracked...again
Replies: 7
Views: 3315

Re: Got side tracked...again

Try walking a marathon. That's a good start.
by cyboryxmen
June 27th, 2019, 11:11 am
Forum: Everything
Topic: What makes C++ a low-level programming language?
Replies: 3
Views: 2785

What makes C++ a low-level programming language?

Most people consider C++ as a low-level programming language. Compared to higher level languages like Java and Python, C++ works on a much lower level than these languages would allow. The majority will agree with this statement but few of them could clarify what that actually means. This begs the q...
by cyboryxmen
June 24th, 2019, 2:05 pm
Forum: Everything
Topic: THE DISCORD SERVER IS DOWN!!11!!
Replies: 6
Views: 2645

Re: THE DISCORD SERVER IS DOWN!!11!!

Discord is back online again!

Image
by cyboryxmen
June 24th, 2019, 12:35 pm
Forum: Everything
Topic: THE DISCORD SERVER IS DOWN!!11!!
Replies: 6
Views: 2645

THE DISCORD SERVER IS DOWN!!11!!

😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱😱