Ok, I thought the difference between sea and normal water would have a huge influence. Do you know of any websites that confirms this?
Brakanjan
Posts
-
Mobile in sea water -
Mobile in sea waterDoes anyone know if a cell phone (waterproofed packaged:)) works in sea water, and how deep? I've heard stories that divers use them to warn each other (the vibration function) if sharks are coming.
-
Unix Timestampchill fan, it ain't for programming. just for the laughs...
-
Unix TimestampWere can I found the low level Unit Timestamp formula? example: time = s + min*60...
-
Quote for the day"There are only 10 types of people: Those who understand binary and those who don't."
-
Please explain code!yes, I think I've got it. A pointer is used when the value of an array will (probably) be changed in the procedure, and a & is used if only a value is needed. tx indeed.
-
Please explain code!I came across the code while searching for a nice hex viewer/editor, so I have no idea who/what wrote it. One more thing: I see the variables accepted by the procedure is unsigned char *bit_stream and unsigned long & bit_offset, which if I remember correctly * refers to the the address and & to the value, or how should that be interpreted? how do you know which to use? tx for the help
-
Please explain code!benjymous wrote: it's basically telling the compiler to treat the variable data as if it was of type unsigned char* where would that be used? Any place where I can read more about it? Tx for the help guys
-
Please explain code!Hi I just started C++, but this code I found on the net blew me away. Could someone please help me understand, especially the lines market with a /**/. void read_data_from_bs(void *data, int bits_of_data, unsigned char *bit_stream, unsigned long & bit_offset) { int i; int n; while (bits_of_data > 0) { // <-- Colored with red by Instant Match n = bits_of_data > 8 ? 8 : bits_of_data; /**/ *(unsigned char *)data = 0; for (i = 0; i < n; i++) { if (read_bit(bit_stream, bit_offset)) { (*(unsigned char *)data) |= (1 << i); /**/ } bit_offset++ ; } data = ((unsigned char *)data) + 1; /**/ bits_of_data -= n; } }
-
Please explain code!Hi I just started C++, but this code I found on the net blew me away. Could someone please help me understand, especially the lines market with a /**/. void read_data_from_bs(void *data, int bits_of_data, unsigned char *bit_stream, unsigned long & bit_offset) { int i; int n; while (bits_of_data > 0) { // <-- Colored with red by Instant Match n = bits_of_data > 8 ? 8 : bits_of_data; /**/ *(unsigned char *)data = 0; for (i = 0; i < n; i++) { if (read_bit(bit_stream, bit_offset)) { (*(unsigned char *)data) |= (1 << i); /**/ } bit_offset++ ; } data = ((unsigned char *)data) + 1; /**/ bits_of_data -= n; } }
-
Linux vs WindowsHi anyone know where I can find articles on the differences about Linux and Windows, especially when looking for a web server. All the articles I find is loaded with opinions from people, I'd like to see the technical stuff. (no windows financed linux studies please!) tx
-
datagrid to txt fileHi I'm looking for examples or articles of how to show data from a datagrid (from a database) to a text or excel file.. Thanks for any help.
-
help with homeworkDaniel Wilson wrote: Saying "use Bayes theorem" is kinda redundant just a helpful hint, I suppose. tx:)
-
help with homeworkalright, change apples to good programming contracs and oranges to microsoft programming contracs..
-
help with homeworkHi Could you guys check if my homework is correct: Q A box (A) contains 8 apples and 4 oranges Another box (B) containes 10 apples and 2 oranges A fruit is picked from a random box, and found to be an apple. what is the chance of this apple comming from box A. Use Bayes theorem. scroll down for my answer A: 8/12 * 1/2 ---------------------- 8/12 * 1/2 + 10/12 * 1/2 = 0.444
-
South African rugbyi see the smiler is getting wider, which is good to see!
-
South African rugbyyou're ignoring the issue here
-
South African rugbyI agree that South African rugby is not up to standard and certainly not what it used to be, but I do think our rugby is at a better standard than NZ refs. The two blunders (sending Davidson off, penalty at the end)made by Steve Welsh cost the sharks the game, and gave the brumbies valueble points. Funny how the australians don't seem to mind... check out two reports, one from SA and one from australia. Seems like they are talking about two different games here... http://www.superrugby.co.za/default.asp?aid=108242&sportCategory=superrugby/super12 http://rugbyheaven.smh.com.au/articles/2004/03/06/1078464701681.html?oneclick=true
-
YES!!!!l a u r e n wrote: i got my first nigerian inheritance scam email 2day!!! well, its a pleasure really.;)
-
focus on a framehi I have a page with two frames, the one frames loads the next with a document.form.sumbit() command. my problem is that I want the focus to be on the first frame, so that I can capture keypressed commands. At the moment I have to click on the first frame first. tx