|
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-12. : 6:03 pm] Devourer -- Oh yeah Laying in bed, playing some music for 2-3 hours while falling asleep <.< this is gonna be it[2014-10-12. : 6:02 pm] Devourer -- What am I doing? Haha. Staying up till 4AM last night and enforcing an early wake-up wasn't the best decision.[2014-10-12. : 6:00 pm] Devourer -- Haha ok; I forced to at most update 1 entry but creating new ones is still possible; whooops. Sorry.[2014-10-12. : 5:18 pm] jjf28 -- can also help with debugging (seeing that X is 0 or 255 rather than what you had it as can make it click that you already freed it)[2014-10-12. : 5:17 pm] jjf28 -- it would be inefficient for all but security nuts, i don't know whether OSs do it but it's a decision compilers/OSs have to make[2014-10-12. : 5:15 pm] Roy -- It'd be inefficient; do you know any operating systems that behave that way? Is it for security reasons or something?[2014-10-12. : 5:12 pm] Roy -- The memory could have any form of data in it when you allocate it, which is why most languages require you initialize a variable before actually using it.[2014-10-12. : 5:09 pm] Roy -- If that memory is in use by something else, your program isn't going to allocate it.[2014-10-12. : 5:08 pm] Roy -- You're asking if memory you write to will write to memory. The answer is yes.[2014-10-12. : 4:49 pm] Dem0n -- JackJack shouted: http://pastebin.com/uLYZzjKQ dem0n, try this Oh, what I meant to ask was that if you free the memory, then dynamically allocate that same memory, does whatever was previously there just get overwritten by the new stuff?[2014-10-12. : 1:22 pm] Azrael -- RoyRoy shouted: Put it just below "Green Zerg" in the list of priorities. Devourer![]() Devourer shouted: Can't Fuck everybody xD![]() [2014-10-12. : 6:57 am] O)FaRTy1billion[MM] -- I don't think I can do it at work ... :\ that's too bad[2014-10-12. : 6:56 am] O)FaRTy1billion[MM] -- Maybe now that the wiki is fixed I can make sure the wiki one is up-to-date[2014-10-12. : 5:36 am] jjf28 -- also the trig documentation needs... more detail https://docs.google.com/spreadsheet/pub?key=0AhsBSmgfjeb6dEpwX0g3RngxZkJUX3F5VkpJTS1uaFE&gid=0[2014-10-12. : 5:33 am] jjf28 -- poiuy_qwertpoiuy_qwert shouted: hey FaRTy, do you know if there is a better .chk spec than http://www.staredit.net/wiki/35/ ? http://www.staredit.net/starcraft/Scenario.chk[2014-10-12. : 5:20 am] Jack -- first time it crashed for me, second and third times it didn't crash.[2014-10-12. : 5:18 am] poiuy_qwert -- hey FaRTy, do you know if there is a better .chk spec than http://www.staredit.net/wiki/35/ ?[2014-10-12. : 5:16 am] O)FaRTy1billion[MM] -- except in that case it wouldn't work for 100 tests, but on the 101st it would ![]() [2014-10-12. : 5:12 am] Jack -- That's why messing up pointers can sometimes not be apparent after, say, 100 tests, but on the 101'th test it fails.[2014-10-12. : 5:12 am] Jack -- It won't always terminate the program or terminate it, as far as I know.[2014-10-12. : 4:59 am] jjf28 -- orite C doesn't really do exceptions; guess you could still write exceptions from OS APIs/with inline assembly mimicking exceptions if you really cared too tho ![]() [2014-10-12. : 4:51 am] jjf28 -- your operating system may or may not: prevent it/raise an exception/terminate your program[2014-10-12. : 4:49 am] Dem0n -- When you try to put something at that address after you've freed it, does it just overwrite what was previously there?[2014-10-12. : 4:47 am] jjf28 -- so how dangerous would it be to fall asleep with a mouth full of water...[2014-10-12. : 4:40 am] jjf28 -- yes, but it may not be what it was, and it may raise an exception depending on your system and its current state[2014-10-12. : 4:27 am] Dem0n -- Can you still acess something that's been placed at a specific memory address even after the memory has been freed in C? |