< September 25 | Computing desk archive | September 27 > |
---|
| ||||||||
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions at one of the pages linked to above. | ||||||||
|
I am looking for the public IP address for our businesses server. I was just wondering how I would find it, because all I can see is the Private server address.
I'm Wanting to know what can be done when a computer won't play .avi files. It used to, and I was abel to play those files on several players but now when I try to open one (regardles of what player I use) it says there is an err in a MSVFW.32.dll file.
Oz language supports many programming paradigms even then what is the reason of low popularity of Oz/Mozart ? Where can I get a good tutorial on it as most of the material on the homepage is not meant for beginner I guess.
I'm trying to remove viruses with the Linux version of BitDefender, but it hangs on every scan of a Linux installation (I have collected several over the years), mostly on different files, such as /etc/bunzip2, /bin/bzip2recover and /bin/readlink. On /bin/readlink it only seems to hang if a previous try hung elsewhere. Or rather I should say it hangs after those files, bedause it gives an 'ok' and then hangs. But the first and weirdest one was /dev/core. Because /bin/readlink took half a minute if it didn't hang, I assumed I might have to wait a bit. After 50 minutes I gave up. I didn't use the disinfect option, so it was just scanning, so I can't imagine what it was doing. The weird thing was that after this, the filesize, which is normally 1024 MB, was increased to 262144.0 GB (!!). Which is a little bit bigger than the partition. :) On another installation the same happened, with exactly that same filesize. This didn't change after unmounting and then remounting, only after a computer restart. This is also the reason I said it hangs on that file and not the next one, but it is all so weird I don't really know how to properly formulate this question. Help! DirkvdM 13:07, 26 September 2006 (UTC)
Hello, my name is Malton Schexneider.
I am seeking out link partners that I believe visitors to my website would find interesting and informative.
I recently visited your website and thought it would be a very nice fit for my visitors. I have already instructed my web master to add your link to my website at http://www.livinglongerlookingbetter.com/links.
I am contacting you to see if it is OK to have done so. In addition, I would like to ask if you would please link back to us. If so, please use the linking details below and send me the location of our link on your website.
Our Linking Details: • Key Word: Rotaotr cuff, low back pain, ACL, ankle sprain, tennis elbow, neck pain • Description: Strategies and tools in treating various musculoskeletal injuries • URL: http://www.ospt.net
I hope this can be a way for us to benefit our visitors with excellent content. I look forward to hearing from you soon. Should you have questions, please contact me. Thank you.
Malton A. Schexneider, PT, MMSc (email removed)
Say I have a class called matrix. One of it's member variables is called cells and it's a 100x100 two-dimensional array.
Say also that I have a function (not a member function) that does some operation (say addition) on two objects of type "matrix". It would be called like
addUp(matrix1, matrix2);
Now when I do that, does it pass the entire object (including the massive array) by value into addUp, or just it just pass the address of the object or something? How are objects usually passed to a function, by reference?
Thanks -- froth T C 17:09, 26 September 2006 (UTC)
matrix
), will be passed by value. However, depending on how matrix
is defined, that may mean different things for the actual data in the array. If you merely have struct matrix {double cells[100][100];};
, that array is part of the object and is copied. (That case is of course silly, but there could be other members of matrix
too without changing the effect.) But if you instead havestruct matrix { int rows,cols; double *array; // allocated with new[] };
array
but not whatever it points to (if anything). If the class chooses, it can define its own rules:class matrix { public: matrix(int r,int c) : rows(r),cols(c),array(new double[r*c]) {} matrix(const matrix &o) : rows(o.r),cols(o.c),array(new double[o.r*o.c]) { for(int i=0;i<r*c;++i) array[i]=o.array[i]; } ~matrix() {delete[] array;} int getRows() {return rows;} int getColumns() {return cols;} double& index(int i,int j) {return array[i*c+j];} private: int rows,cols; double *array; };
const
prevents (so long as everyone is playing nice) the function from modifying its parameter, so you get the encapsulation benefits of call-by-value without the memory overhead. (I should note that struct
and class
are exactly the same thing, except that in a struct
, declarations before any access specifier are public instead of private.) Does this help? --
Tardis 19:47, 26 September 2006 (UTC)I can join rur files. How do I use par?
What is PF Usage? Mine is 1.41 GB. Is that high? -- 24.107.18.155 20:19, 26 September 2006 (UTC)
< September 25 | Computing desk archive | September 27 > |
---|
| ||||||||
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions at one of the pages linked to above. | ||||||||
|
I am looking for the public IP address for our businesses server. I was just wondering how I would find it, because all I can see is the Private server address.
I'm Wanting to know what can be done when a computer won't play .avi files. It used to, and I was abel to play those files on several players but now when I try to open one (regardles of what player I use) it says there is an err in a MSVFW.32.dll file.
Oz language supports many programming paradigms even then what is the reason of low popularity of Oz/Mozart ? Where can I get a good tutorial on it as most of the material on the homepage is not meant for beginner I guess.
I'm trying to remove viruses with the Linux version of BitDefender, but it hangs on every scan of a Linux installation (I have collected several over the years), mostly on different files, such as /etc/bunzip2, /bin/bzip2recover and /bin/readlink. On /bin/readlink it only seems to hang if a previous try hung elsewhere. Or rather I should say it hangs after those files, bedause it gives an 'ok' and then hangs. But the first and weirdest one was /dev/core. Because /bin/readlink took half a minute if it didn't hang, I assumed I might have to wait a bit. After 50 minutes I gave up. I didn't use the disinfect option, so it was just scanning, so I can't imagine what it was doing. The weird thing was that after this, the filesize, which is normally 1024 MB, was increased to 262144.0 GB (!!). Which is a little bit bigger than the partition. :) On another installation the same happened, with exactly that same filesize. This didn't change after unmounting and then remounting, only after a computer restart. This is also the reason I said it hangs on that file and not the next one, but it is all so weird I don't really know how to properly formulate this question. Help! DirkvdM 13:07, 26 September 2006 (UTC)
Hello, my name is Malton Schexneider.
I am seeking out link partners that I believe visitors to my website would find interesting and informative.
I recently visited your website and thought it would be a very nice fit for my visitors. I have already instructed my web master to add your link to my website at http://www.livinglongerlookingbetter.com/links.
I am contacting you to see if it is OK to have done so. In addition, I would like to ask if you would please link back to us. If so, please use the linking details below and send me the location of our link on your website.
Our Linking Details: • Key Word: Rotaotr cuff, low back pain, ACL, ankle sprain, tennis elbow, neck pain • Description: Strategies and tools in treating various musculoskeletal injuries • URL: http://www.ospt.net
I hope this can be a way for us to benefit our visitors with excellent content. I look forward to hearing from you soon. Should you have questions, please contact me. Thank you.
Malton A. Schexneider, PT, MMSc (email removed)
Say I have a class called matrix. One of it's member variables is called cells and it's a 100x100 two-dimensional array.
Say also that I have a function (not a member function) that does some operation (say addition) on two objects of type "matrix". It would be called like
addUp(matrix1, matrix2);
Now when I do that, does it pass the entire object (including the massive array) by value into addUp, or just it just pass the address of the object or something? How are objects usually passed to a function, by reference?
Thanks -- froth T C 17:09, 26 September 2006 (UTC)
matrix
), will be passed by value. However, depending on how matrix
is defined, that may mean different things for the actual data in the array. If you merely have struct matrix {double cells[100][100];};
, that array is part of the object and is copied. (That case is of course silly, but there could be other members of matrix
too without changing the effect.) But if you instead havestruct matrix { int rows,cols; double *array; // allocated with new[] };
array
but not whatever it points to (if anything). If the class chooses, it can define its own rules:class matrix { public: matrix(int r,int c) : rows(r),cols(c),array(new double[r*c]) {} matrix(const matrix &o) : rows(o.r),cols(o.c),array(new double[o.r*o.c]) { for(int i=0;i<r*c;++i) array[i]=o.array[i]; } ~matrix() {delete[] array;} int getRows() {return rows;} int getColumns() {return cols;} double& index(int i,int j) {return array[i*c+j];} private: int rows,cols; double *array; };
const
prevents (so long as everyone is playing nice) the function from modifying its parameter, so you get the encapsulation benefits of call-by-value without the memory overhead. (I should note that struct
and class
are exactly the same thing, except that in a struct
, declarations before any access specifier are public instead of private.) Does this help? --
Tardis 19:47, 26 September 2006 (UTC)I can join rur files. How do I use par?
What is PF Usage? Mine is 1.41 GB. Is that high? -- 24.107.18.155 20:19, 26 September 2006 (UTC)