tired_weirdo_girl
tired_weirdo_girl
CC#
Created by tired_weirdo_girl on 2/16/2025 in #help
difference between `struct` and `ref struct`
I got a little confused trying to understand the difference between a default struct and a ref struct, mainly about their behavior on stack and heap. Can someone break it down for me?
4 replies
CC#
Created by tired_weirdo_girl on 2/1/2025 in #help
CopyToOutputDirectory is not including directories
I'm doing a project here i'm working on 2 diferent computers, one is Windows with Visual Studio and the other is Linux with VS code. In windows, the project runs well, without any errors and everything in the right subdirectory, but when i try to compile in linux, the program returns a runtime error saying it cannot find the files cause they are not in the right directories.
8 replies
CC#
Created by tired_weirdo_girl on 1/28/2025 in #help
Arrays of floats in stack
I'm creating a structure to represent a 4x4 matrix and want it to be, at least, allocated entirelly on the stack. I also need to be able to get the array pointer in a unsafe context. There is some way to store a array-like value like this on the stack instead of the heap?
108 replies