Jun 1
:|
#be me#coding a thing#start implementing the draw function#segfault#try 50 different things#still segfault#add print statements between every line#the error doesn't happen between two lines#it happens after a function is called and before it actually does anything#spend 3 hours#realise the error is caused by part of the setup of the program#where another function is returning a struct containing a pointer to a temporary variable#segfault again but for a different reason#check all of my setup and whether I can use everything that gets returned#make sure all of my constructors do what I want#spend 2 more hours#I was accessing a list out of bounds#:|#why do i do this to myself














