by: Uwe Mayer |
last post by:
Hi,
sorry for the lack of source code.
Here again:
I use struct.unpack() to unpack data from a binary file and pass the
returned tuple as parameter to __init__ of a class that's supposed to...
|
by: bq |
last post by:
In the code
int a;
int b = -1;
does ANSI C guarantee that "b" is located in memory right after "a"
so that "a" refers to "b"?
Thanks.
bq
|
by: Deniz Bahar |
last post by:
Hi,
I would like to call one of my functions the exact name as an existing
C library function (for example K&R2 exercises asks me to make an atof
function). If I don't include the header with...
|
by: vince |
last post by:
Can I add (append) to an xml file that already contains a
serialized object, and be able to deserialize to either
or both objects from the same file...??? How is this
done...??
thanks,
vince
|
by: george r smith |
last post by:
I understand that when you compare (using ==) objects you are seeing if they
both refer to the same object. My question why or when would you ever use
multiple references to the same object. What...
|
by: WayneD |
last post by:
Hi All,
Just got started in C#...
Here's some C# code:
public MyClass
{
private MyThingy m_Thingy;
|
by: weston |
last post by:
I've got a piece of code where, for all the world, it looks like this
fails in IE 6:
hometab = document.getElementById('hometab');
but this succeeds:
hometabemt =...
|
by: John Salerno |
last post by:
To test this out a wrote a little script as an exercise:
for num in range(1, 10):
x = 'c' * num
y = 'c' * num
if x is y:
print 'x and y are the same object with', num, 'characters'
else:...
|
by: HankD |
last post by:
Hi, I am having a problem with instantiating two custom objects so they
DO NOT point to the same memory location. What is happening is that
changes I am making to my object1 are changing object2. I...
|
by: subramanian |
last post by:
Hello
I have a doubt in the following piece of code:
int a;
printf("a=%p\n", a);
printf("&a=%p\n", &a);
these printf statements print the same value for both 'a' and '&a".
I tried in...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|