10th Jul 2018, 8:57 PM
ruru altaai ❤ رورو الطائي
ruru altaai ❤ رورو الطائي - avatar
10 Answers
+ 3
ruru altaai ❤ رورو الطائي The virtual memory space for your program is probably different than the one for theirs. So there's no need to try and do this. I was just saying it's possible.
10th Jul 2018, 10:08 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 7
It's not in your power to decide the address of variables
10th Jul 2018, 9:06 PM
Dlite
Dlite - avatar
+ 5
ruru altaai ❤ رورو الطائي The lecture sheet contains what worked for them
10th Jul 2018, 9:35 PM
Dlite
Dlite - avatar
+ 4
D'lite is mostly right. But you could find the base address of the process, subtract the desired address from the base address, then figure out the memory size of the subtracted number. Now you can allocate some space of that size. Your next variable will be at the desired address.
10th Jul 2018, 9:31 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 4
Apparently
10th Jul 2018, 10:05 PM
Dlite
Dlite - avatar
+ 2
you mean that I cant have the same output exist in the lecture ? D'lite
10th Jul 2018, 9:46 PM
ruru altaai ❤ رورو الطائي
ruru altaai ❤ رورو الطائي - avatar
+ 2
D'lite ok , thanks .
10th Jul 2018, 10:08 PM
ruru altaai ❤ رورو الطائي
ruru altaai ❤ رورو الطائي - avatar
+ 2
Ben Allen (Njinx) okay, thank you.
10th Jul 2018, 10:11 PM
ruru altaai ❤ رورو الطائي
ruru altaai ❤ رورو الطائي - avatar
+ 1
this code was written in the lecture's sheet with its output D'lite
10th Jul 2018, 9:10 PM
ruru altaai ❤ رورو الطائي
ruru altaai ❤ رورو الطائي - avatar
+ 1
Ben Allen (Njinx) cant understand ?
10th Jul 2018, 9:44 PM
ruru altaai ❤ رورو الطائي
ruru altaai ❤ رورو الطائي - avatar