by: Kylotan |
last post by:
I have the following code:
def IntToRandFloat(x):
"""Given a 32-bit integer, return a float in """
x = int(x)
x = int(x << 13) ^ x
return...
|
by: guru.slt |
last post by:
Hi,
see this code:
auto_ptr<int> int_auto_p(new int(3));
auto_ptr<int> int_auto_p2(int_auto_p.get());
Then, both auto_pointer will own the same object. That will violate the
single...
|
by: Razzie |
last post by:
Hey all,
I wrote a Windows Service. When I test it on my developement machine (winXP)
it works fine. It starts ok, never crashes, etc.
When I install the service on another machine (win2000) it...
|
by: st_ev_fe |
last post by:
Hi people,
I've been doing C for about 7 years now. But I'm new to C++.
I've decided that C++'s operator overloading could be very handy. I'm
writing something much like auto_ptr, except for...
|
by: Rainer Queck |
last post by:
Hi NG,
one more question about thread safety of generic lists.
Let's assume a generic list:
List<MyTyp> aList = new List<MyType>();
Would it be a problem if one thread removes elements from...
|
by: aarklon |
last post by:
In the article http://en.wikipedia.org/wiki/Type_safety
it is written as
The archetypal type-unsafe language is C because (for example) it is
possible for an integer to be viewed as a function...
|
by: tropos |
last post by:
For my sins, I'm maintaining some old C code which is migrated to C++.
Dozens of lines of it looks like this:
char *cfd_THE_ts_result_sql= "select TRADE_DATE , VALUE , "
" from ("
" select...
|
by: mjobbe |
last post by:
I have an installer that requires three merge modules (ATL, CRT, and
MFC), and after adding them in, I get the following warnings when I
build the MSI:
WARNING: Two or more objects have the same...
|
by: pete142 |
last post by:
When I compile this code:
typedef unsigned char BYTE;
BYTE *
IpString(unsigned int ip)
{
static BYTE ipString;
ipString = (BYTE) 0xff & (ip >24);
ipString = (BYTE) 0xff & (ip >16);
|
by: hcarlens |
last post by:
hey guys,
I'm doing a small project which does some basic encryption and decryption, but I'm very new to Java and Eclipse is showing safety warnings but I have no idea what they mean or how I fix...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|