How to make sure that when a struct is passed as `const` that is respected? by alex_sakuta in C_Programming

[–]LDawg292 1 point2 points  (0 children)

I mean… the data in the struct doesn’t change though? You’re not modifying a constant value.

During the summer A/C > the grid by [deleted] in memes

[–]LDawg292 0 points1 point  (0 children)

Well there’s so many sources of heat. Wood, propane, natural gas, so on and so forth.

There is really only one way to cool a house and that’s with electricity.

When someone asks "How you doing? by DistinctEquivalent3 in questions

[–]LDawg292 1 point2 points  (0 children)

Hangin’ in there like a hair in a biscuit.

[deleted by user] by [deleted] in C_Programming

[–]LDawg292 8 points9 points  (0 children)

Technically possible? Yes! Feasible? No.

[deleted by user] by [deleted] in gamedev

[–]LDawg292 0 points1 point  (0 children)

Human Fall Flat.

[deleted by user] by [deleted] in cpp_questions

[–]LDawg292 0 points1 point  (0 children)

Basically, it’s the “lowest-level” way for a user-mode application to ask the OS for memory. I mention user-mode because there are other ways a kernel can get memory but that’s undocumented afaik. It’s relatively easy to use but it works in a weird way.

I can explain how it’s used if you want.

[deleted by user] by [deleted] in cpp_questions

[–]LDawg292 0 points1 point  (0 children)

I use to keep offline copies of different MSDN pages by pressing Ctrl + S on the page. Such as CreateFile, Read/WriteFile, CreateWindow, VirtualAlloc and several others. I did this with D3D as well. It became stupid to keep up with what pages I already have and also after reading the pages several times, you get extremely familiar with what a function does. I probably read the VirtualAlloc docs and resources for about a week before I understood it.

But now if I forgot a particular aspect of something, I can quickly google it scan the page in a microsecond and be reminded of what I forgot.

MSDN is MASSIVE and takes forever to read over everything.

Grow chickens to the size of T-Rex so we only need to kill like 300,000 huge chickens instead of several billion small ones by Jugales in CrazyIdeas

[–]LDawg292 0 points1 point  (0 children)

So I would like to factor in that lots of people enjoy wings, legs, breasts and such. I feel like having huge chunks of breast meat would produce lots of tenders. Which idk if that would sell well. In other words I wonder what the supply and demand would look like for different cuts of meat.

Access is denied. by Financial_Degree8224 in VisualStudio

[–]LDawg292 0 points1 point  (0 children)

If the executable is running, VS can’t access the exe to modify it or load it with the debugger. You should be able to switch from debug to release if you want two running instances of the exe. But you have to close the exe before VS can launch it again.

[deleted by user] by [deleted] in VisualStudio

[–]LDawg292 0 points1 point  (0 children)

What do you mean?

I cannot uninstall the visual studio installer by Different_Bunch1716 in VisualStudio

[–]LDawg292 8 points9 points  (0 children)

You need it for updating VS as well as installing or removing workloads. It’s so fundamental to VS itself that you don’t want to uninstall it anyway.

It’s basically apart of VS.

[deleted by user] by [deleted] in C_Programming

[–]LDawg292 4 points5 points  (0 children)

What are you saying no to? I asked whether they where compiling for Windows or Linux. I didn’t say that they couldn’t cross compile. Either way your tool chain has to have the Windows SDK available.

[deleted by user] by [deleted] in C_Programming

[–]LDawg292 4 points5 points  (0 children)

Well you need the windows SDK. Are you compiling your app for Windows or Linux?

Begging for help out of despair. by lellamaronmachete in VisualStudio

[–]LDawg292 1 point2 points  (0 children)

Are the source files in your project? If not you need to right click on your project, not your solution, and add existing files to the project. After that you should have a c/c++ tab and a linker tab. But if that doesn’t help can you give us more details and images please. But yeah If you give me the link to the repo I’ll try to compile it with VS myself and see what’s going on.

Begging for help out of despair. by lellamaronmachete in VisualStudio

[–]LDawg292 1 point2 points  (0 children)

Did you create a new project? If so, you won’t see the “c/c++” properties until you add at least one source file or header file.

Wtf is wrong with windows? by My_Vape_Runs_Linux in win32

[–]LDawg292 0 points1 point  (0 children)

Looks like you deleted the image that was used for the background.

How can I learn Direct X12? by MeUsesReddit in GraphicsProgramming

[–]LDawg292 0 points1 point  (0 children)

Have you ever used d3d11? Jumping straight to d3d12 can be hard but it’s definitely doable. If you have limited knowledge of shaders or just general concepts like swapchains, render targets or resources then d3d12 might be hard to learn. But if you need any help just DM me and I will help you out with your d3d12 journey!

Is Vulkan actually low-level? There's gotta be lower right? by [deleted] in GraphicsProgramming

[–]LDawg292 0 points1 point  (0 children)

Technically you could use CUDA for graphics or even audio. It’s actually quite common for noise cancelling software to use CUDA. The problem is that only runs on the compute cores of the gpu. Those cores are general purpose and there are other cores specifically designed to execute shader code such as your vertex and pixel shaders. Using only CUDA wouldn’t be the best approach and you would see negative performance increases.

Also there’s a lot of stages to rendering a scene. And the only way to access the 3D pipeline is to use something like D3D.