Questions tagged [relative-addressing]

49 questions
0
votes
1 answer

Cant read the file and place in 2d relative matrix address in CUDA

I am allocating a 2d matrix using malloc and trying to insert values in relative address. I do not understand why it is core dumped error. Please look at my code below. #include #include int main() { int width = 4; FILE…
Deepak
  • 962
  • 4
  • 17
  • 38
0
votes
1 answer

Relative Addressing in native part of an Android application

I have an object creation in my native part of an Android application like this: CascadeClassifier face_cascade; face_cascade.load( "haarcascades/haarcascade_frontalface_alt2.xml" ); In pure c++ you place haarcascade_frontalface_alt2.xml in…
s4eed
  • 7,173
  • 9
  • 67
  • 104
0
votes
2 answers

relative addressing in perl ,using open dir

I have the following code for listing all files in a directory , I have trouble with path addressing ,my directory is is */tmp/* ,basically I want the files which are in a directory in tmp directory.but I am not allowed to use * ,do you have any…
shaq
  • 799
  • 1
  • 7
  • 12
0
votes
3 answers

Memory addressing in assembly / multitasking

I understand how programs in machine code can load values from memory in to registers, perform jumps, or store values in registers to memory, but I don't understand how this works for multiple processes. A process is allocated memory on the fly, so…
1 2 3
4