by: w3r3w0lf |
last post by:
hello!
I have a following situation:
I have a byte array where at a certain location are stored 4 bytes, and
these should be "put" into long variable (or any other 4 byte one).
ie:
byte...
|
by: Jongmin Lee |
last post by:
Hi Everybody,
I have very simple code snippet to explain my problem.
Class "Swap" is construncted in "Main" with two initial
variables.
Later, "Swap" class is going to swap those two...
|
by: Salvatore Di Fazio |
last post by:
Hi guys,
I've a ushort variable and I need to copy it in an array of byte.
I wrote:
m_bMsg = (byte) (p_sTrackNumber & 0xff00 >> 8);
m_bMsg = (byte) (p_sTrackNumber & 0x00ff >> 16);
but I...
|
by: Ann |
last post by:
I am opening a file which looks like 0xABCDEF01 on another machine but
0x01EFCDAB on my machine.
Is this a byte swapping?
Could anyone give a good way to check if bytes are being swapped?...
|
by: godavemon |
last post by:
I need to take floats and dump out their 4 byte hex representation.
This is easy with ints with the built in hex function or even better
for my purpose
def hex( number, size ):
s =...
|
by: ma740988 |
last post by:
Consider:
# include <vector>
# include <iostream>
# include <cstdlib>
# include <ctime>
bool
ispow2i ( double n )
{
|
by: Jess |
last post by:
Hello,
It is said that if I implement a "swap" member function, then it
should never throw any exception. However, if I implement "swap" non-
member function, then the restriction doesn't...
|
by: velpur |
last post by:
Dear friends,
( Suppose we change byte orders. For example, our program
reads a file as a character string and converts the byte order. )
// a simple code
#define INTEL_CPU
#ifdef...
|
by: raylopez99 |
last post by:
In the otherwise excellent book C# 3.0 in a Nutshell by Albahari et
al. (3rd edition) (highly recommended--it's packed with information,
and is a desktop reference book) the following statement is...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|