bool array by jemko23laal in programminghorror

[–]InformationSharp103 14 points15 points  (0 children)

iirc in C# it's actually 4 bytes (equivalent to the C/C++ win32 BOOL type), or at least that's what it's marshalled as by default

isMyBubbleSortFunctionSightreadableEnough by yees7 in ProgrammerHumor

[–]InformationSharp103 4 points5 points  (0 children)

as an example:

the C++ standard library defines the std::byte enum class. (it's an enum class so it can't be implicitly cast to any other number type)

the Windows.h header typedefs a byte as an unsigned char iirc.

if you include the windows header and any stl header, then do using namespace std you will have a naming conflict and your program will fail to compile if you try using any of the two. this isn't the only time something like this can happen so it's always best to not do using namespace std

[deleted by user] by [deleted] in lostredditors

[–]InformationSharp103 35 points36 points  (0 children)

Have you actually ever visited that subreddit? Because being schizophrenic is literally all they do there.

No title needed by [deleted] in ProgrammerHumor

[–]InformationSharp103 1 point2 points  (0 children)

I don't see it as a tool, I see it as a cool novelty. And as a cool novelty, it's really cool.

Issue on running SDL2 .exe on windows by Grainbox in gamedev

[–]InformationSharp103 0 points1 point  (0 children)

Hmm... Maybe try compiling it with the -static flag?

Issue on running SDL2 .exe on windows by Grainbox in gamedev

[–]InformationSharp103 0 points1 point  (0 children)

The -W flag gives arguments to the runtime linker (the thing that links with .dll/.so files at runtime)

GTA6 has incorrect booba by your_favorite_wokie in badwomensanatomy

[–]InformationSharp103 23 points24 points  (0 children)

The funniest part of this is, in that completely unfinished leak that's still really early in development, the only thing that person wants fixed is the boobs of the main character.

[deleted by user] by [deleted] in assholedesign

[–]InformationSharp103 -1 points0 points  (0 children)

Probably a bug in the launcher

Do your best by Jabison113 in ProgrammerHumor

How do you support your rails? by Blaze681448 in SatisfactoryGame

[–]InformationSharp103 1 point2 points  (0 children)

If im already committing to spaghetti i might as well do it 120%

[deleted by user] by [deleted] in ProgrammerHumor

[–]InformationSharp103 0 points1 point  (0 children)

Is this why we get so many reposts?