|
Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2014-10-13. : 5:26 am] O)FaRTy1billion[MM] -- the 3D game stuff I've done has been in C, the 2D stuff in C++ ![]() [2014-10-13. : 5:25 am] O)FaRTy1billion[MM] -- I played with XNA back when it was new... I prefer C/C++ over C# ![]() [2014-10-13. : 5:23 am] O)FaRTy1billion[MM] -- I think really the biggest hurdle would be drawing graphics[2014-10-13. : 5:23 am] O)FaRTy1billion[MM] -- well, you can replace 'photo' with 'unit', instead of just 'id' add like x,y coordinates, HP, etc.[2014-10-13. : 5:21 am] O)FaRTy1billion[MM] -- And now that you can program, are you going to make like a game, maybe some 3D graphics? ![]() [2014-10-13. : 5:17 am] O)FaRTy1billion[MM] -- I don't see anything, other than description isn't tested for NULL, but that shouldn't cause a problem[2014-10-13. : 5:02 am] Dem0n -- The leak occurs when I try to destroy the photo, and this tool that I'm using is saying there's a problem in that function[2014-10-13. : 4:59 am] Dem0n -- The other ones were written by my professor and they were written correctly[2014-10-13. : 4:59 am] Dem0n -- Well this is the only file I'm allowed to edit, so it's definitely in here[2014-10-13. : 4:58 am] O)FaRTy1billion[MM] -- I don't see the memory leak, so unless I'm missing something really subtle I don't think it's in this part of the file[2014-10-13. : 4:53 am] Jack -- oke I gtg do some stuff, can try again in like 2 hours if you gib zip of code[2014-10-13. : 4:52 am] l)ark_ssj9kevin -- album's just a struct with int size and Photo all_photos[] i'm guessing[2014-10-13. : 4:43 am] Jack -- puush the valgrind output that makes you think there's a memory leak?[2014-10-13. : 4:42 am] Dem0n -- but description's memory has to be dynamically allocated, so those lines do that and then check to see if malloc worked[2014-10-13. : 4:38 am] O)FaRTy1billion[MM] -- O.o that's weird. How do you get a memory leak from only reading the memory?[2014-10-13. : 4:37 am] Dem0n -- I create the photo and print it, and after it prints, I get a memory leak[2014-10-13. : 4:37 am] O)FaRTy1billion[MM] -- Still occuring after removing the size--; in destroy_album and adding the size++; in add_photo_to_album?[2014-10-13. : 4:36 am] Sacrieur -- for all rational and irrational numbers summed, the result will always be irrational[2014-10-13. : 4:36 am] O)FaRTy1billion[MM] -- you can set it to 0 at the end to try and remove the possibility of trying to do something with the album after it was destroyed |
NudeRaider,
lil-Inferno