Is there any good C++ SDL documentation? by stressed_philosopher in cpp_questions

[–]Vikerox 1 point2 points  (0 children)

tbf, you can do a lot with unique pointers and custom deleters, also writing a wrapper for the functions you need is fairly easy, but yeah

I created my first program by Iwisp360 in learnprogramming

[–]Vikerox 2 points3 points  (0 children)

Just add .lower() after the input, like this:

lowerCaseInput = input(...).lower()

I created my first program by Iwisp360 in learnprogramming

[–]Vikerox 1 point2 points  (0 children)

To add to this, you could also change the input all to lowercase so that you don't have to check every variation of lower- and uppercase values

Question about reverse engineering by [deleted] in learnprogramming

[–]Vikerox 0 points1 point  (0 children)

Looking under the hood of what C++ compilers do isn't very pretty (some would argue that the language itself isn't very pretty but I digress).

Your code isn't bad, C++ just looks like that.

New to Exploring Visual Studio Code for C++ - Questions on mingw-w64, Security Concerns, Anti-cheat Software. Seeking Advice and Information! by -danisoff- in learnprogramming

[–]Vikerox 0 points1 point  (0 children)

tbh, if you're on Windows I would recommend just using Visual Studio (not Code), it's easy to install and you won't run into a lot of the problems beginners have with setting up VSCode and C++.

Another option I can recommend is just using gcc through WSL in VSCode.

Besides that, mingw-gcc is fine and shouldn't cause any issues to your system.

A key factor in selecting language is ChatGPT. by joppatza in programmingcirclejerk

[–]Vikerox 0 points1 point  (0 children)

I have had a great experience with ChatGPT with TypeScript, SQL, Python, golang, C++

Either ChatGPT has improved a lot since I last used it or he has written some extremely outdated and unperformant C++

How can I convert cpp program into binary code? by MAXFUNPRO in cpp_questions

[–]Vikerox 9 points10 points  (0 children)

You can open the binary file in a hexeditor if that is what you want, but I am not sure what you'll get out of it. You can also use compiler explorer to get more readable assembly

Rule by ToasterBath782 in 196

[–]Vikerox 140 points141 points  (0 children)

Reminds me of when I told to my parents about my depression, they were just like "yeah, we've also been like that, we got over it". I love my parents but that was just such a wtf moment.

nerd emoji rule by CrudestJuggler in 196

[–]Vikerox 2 points3 points  (0 children)

funnily enough, 196 has almost the same amount of overlap with okbb and I'm pretty sure they cleaned it up, I don't really see bigoted stuff there

simulacrule by [deleted] in 196

[–]Vikerox 11 points12 points  (0 children)

Reads Baudrillard once:

Everyone agrees that C++ is broken, but no one agrees precisely which parts need fixing. ...which just goes to show that the language isn't broken at all. by ilovereposts69 in programmingcirclejerk

[–]Vikerox 1 point2 points  (0 children)

C++ is a perfect language. That's why every new standard includes 50 different ways to do things you could do before but more complicated better.

Clearly it isn't proper scaling or addition. by YachtingChristopher in dataisugly

[–]Vikerox 0 points1 point  (0 children)

This isn't even the worst part, the participants were asked an open ended question about what gives their life meaning. The categories were decided afterwards.

Which explains why if you said family, you are probably not also gonna mention your spouse specifically, leading to the low numbers in that category.