Sponsored Content
Full Discussion: pointer problem
Top Forums Programming pointer problem Post 302591834 by DreamWarrior on Friday 20th of January 2012 08:25:45 PM
Old 01-20-2012
edit: nevermind...your compiler's parser is more off than my mental parser, lol.

Last edited by DreamWarrior; 01-20-2012 at 09:31 PM..
 

10 More Discussions You Might Find Interesting

1. Programming

Problem with function which reutrns pointer to a value

i have a function: char *pcCityIdToCountryName(ADMIN_DB_DATA *pstHEader, unit uiCityID) this returns a pointer to CountryName if cityId is given. to retrieve countryname i give: char *CountryName; CountryName = pcCityIdToCountryName(..................); but when i compile it is giving :... (5 Replies)
Discussion started by: jazz
5 Replies

2. Programming

pointer

void main() { int a={1,2,3,4,5,6,7,8,9,10}; int *p=a; int *q=&a; cout<<q-p+1<<endl; } The output is 10, how? if we give cout<<q it will print the address, value won't print.... if we give cout<<p it will print the address, value won't print.... p has the base addr; q... (1 Reply)
Discussion started by: sarwan
1 Replies

3. Programming

why we never delete a pointer twice

can u tell me the reson that why we should not delete a pointer twice.? if we delete ponter twice then what happen and why this happen Regards, Amit (2 Replies)
Discussion started by: amitpansuria
2 Replies

4. Programming

pointer problem

could any one tell why the following is showing segmentation fault while using **ptr but working fine using **a #include<stdio.h> ... (1 Reply)
Discussion started by: useless79
1 Replies

5. Programming

far pointer

what is far pointer in C (1 Reply)
Discussion started by: useless79
1 Replies

6. Programming

String and pointer problem

i am having a string like " X1 " ---> string lenght is 30 I have stored this to a chararry . ref so here ref = " X1 " now i trim the left space by my function . Si the string now becomes "X1 " ---> string lenght is 15... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies

7. Programming

Need help in character pointer

Hi, I am trying to divide my input to different type of out puts for some other use. ex: logical_name : jkl00001 expected out put : model=jkl and num=00001 here is the code i actually written /*******************************************************************/ void... (11 Replies)
Discussion started by: jagan_kalluri
11 Replies

8. Programming

pass a pointer-to-pointer, or return a pointer?

If one wants to get a start address of a array or a string or a block of memory via a function, there are at least two methods to achieve it: (1) one is to pass a pointer-to-pointer parameter, like: int my_malloc(int size, char **pmem) { *pmem=(char *)malloc(size); if(*pmem==NULL)... (11 Replies)
Discussion started by: aaronwong
11 Replies

9. Programming

unidirectional linked list pointer problem

I am trying to test some operations on a directed list. However, the declaration of a pointer is giving me trouble. I seem to have done something incorrectly because I get an error: "listtest.c:29: warning: 'p' may be used uninitialized in this function" Can anyone help? This is my code... (6 Replies)
Discussion started by: bluetxxth
6 Replies

10. Programming

Scanf() string pointer problem

I have a problem with scanf() for string pointer as member of a struct. #include <stdio.h> #include <stdlib.h> struct Student { int studentNumber; int phoneNumber; char *studentName; //line 7 // char studentName; //line 8 }; int... (10 Replies)
Discussion started by: yifangt
10 Replies
XML_SET_UNPARSED_ENTITY_DECL_HANDLER(3) 				 1				   XML_SET_UNPARSED_ENTITY_DECL_HANDLER(3)

xml_set_unparsed_entity_decl_handler - Set up unparsed entity declaration handler

SYNOPSIS
bool xml_set_unparsed_entity_decl_handler (resource $parser, callable $handler) DESCRIPTION
Sets the unparsed entity declaration handler function for the XML parser $parser. The $handler will be called if the XML parser encounters an external entity declaration with an NDATA declaration, like the following: <!ENTITY <parameter>name</parameter> {<parameter>publicId</parameter> | <parameter>systemId</parameter>} NDATA <parameter>notationName</parameter> See section 4.2.2 of the XML 1.0 spec for the definition of notation declared external entities. PARAMETERS
o $parser - A reference to the XML parser to set up unparsed entity declaration handler function. o $handler -$handler is a string containing the name of a function that must exist when xml_parse(3) is called for $parser. The function named by $handler must accept six parameters: handler (resource $parser, string $entity_name, string $base, string $system_id, string $public_id, string $notation_name) o $parser - The first parameter, parser, is a reference to the XML parser calling the handler. o $entity_name - The name of the entity that is about to be defined. o $base - This is the base for resolving the system identifier ($systemId) of the external entity.Currently this parameter will always be set to an empty string. o $system_id - System identifier for the external entity. o $public_id - Public identifier for the external entity. o $notation_name - Name of the notation of this entity (see xml_set_notation_decl_handler(3)). If a handler function is set to an empty string, or FALSE, the handler in question is disabled. Note Instead of a function name, an array containing an object reference and a method name can also be supplied. RETURN VALUES
Returns TRUE on success or FALSE on failure. PHP Documentation Group XML_SET_UNPARSED_ENTITY_DECL_HANDLER(3)
All times are GMT -4. The time now is 08:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy