|
by: Boris Boutillier |
last post by:
Hi all,
I've got problems with the Py_TPFLAGS_HEAPTYPE and the new
'hackcheck' in python 2.3.
I'm writing a C-extension module for python 2.3.
I need to declare a new class, MyClass.
For this class I want two things :
1) redefine the setattr function on objects of this class
(ie setting a new tp_setattro)
|
by: bingfeng |
last post by:
I have some codes generated by perl, in which initialize some huge
struct,such as
PARA TOS_network_spantree_set_0_para_0 = { "vlan", emNUM, NULL, "",
"configuration on a designated vlan", PRO_REQUIRED };
const char* TOS_network_spantree_set_0_para_1_emvalue = { "disable",
"enable", NULL };
PARA TOS_network_spantree_set_0_para_1 = { "",...
|
by: garyusenet |
last post by:
>From MSDN I'm trying to learn more about streamreader. I'm working my
way down the MSDN definition. The first entry is the Public Constructor
StreamReader. I'm fairly happy I have a basic grasp on this. It is the
part of the Streamreader class that creates a StreamReader instance for
a given Stream. The next entry however I don't understand:...
|
by: shivapadma |
last post by:
1.when referenced pointer is not active then it is called dangling pointer.
is this correct ?
2.the pointer which does not point to anything is called null pointer.
is NULL macro is a value for null pointer?
3.then what is void pointer?
|
by: Tommy |
last post by:
struct stat *stats IF_LINT (= 0);
I don't know why "IF_LINT (= 0)" is needed ?
Source is df.c of df program on Linux coreutils-5.2.1\coreutils-5.2.1\src
Thanks!
|
|
by: sam |
last post by:
Hi,
I just want to ask the question about this code
int len =0; len =5;
"x41" * (len);
In this is "x41" is multiply by 5 or it just can acquire space like
this
x41x41x41x41x41 .
I am a newbie and i am confused , If you can't understand this
question i am sorry, but i just want the clarification of this code.
|
by: Thiruvenkadam |
last post by:
I know that null character have ascii value of 0 and space as 32.My question is what a NULL character will do.How to define it?
|
by: Henry Yiu |
last post by:
I am using the ReadFile() function in Visual C++. One of its parameter is a pointer which needs to point to a valid variable, but then it says that it can be NULL when another input flag parameter is set to certain state. So my question is, if I do not set the flag to that state, and still set the pointer to NULL, will this error being caught...
|
by: jeyshree |
last post by:
hai,
will someone please explain me what is null pointer assignment error.different persons say different reasons.some says the following code would generate null pointer assignment error.
#include<stdio.h>
#include<conio.h>
main()
{
int *p=NULL;
*p=10
getch();
}
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
|