![]() |
|
#1
|
|||
|
|||
How to convert a variable to a double pointerI have a variable in header file something like,
CPP / C++ / C Code:
Then i want to cast some other variable to, that pointer. im getting that structer as a pointer variable in my function parameters. CPP / C++ / C Code:
Last edited by admin : 29-Oct-2009 at 06:07.
Reason: Please insert your example C/C++ codes between [CPP] and [/CPP] tags
|
|||
|
#2
|
|||
|
|||
Re: How to convert a variable to a double pointerQuote:
1. What do you expect to happen when you try it? 2. What happens when you try it? If (Result(1) == Result(2)) then it is correct, else it is not correct. In other words: You can write a program that does what you say. Whether it is "correct" depends on what you are trying to accomplish. See Footnote. Regards, Dave Alice: "Which way shall I go?" Cheshire Cat: "Where do you want to go?" Alice: "It really doesn't matter." Cheshire Cat: "Then it doesn't matter which way you go." ---Lewis Carroll Alice's Adventures in Wonderland Last edited by davekw7x : 29-Oct-2009 at 09:14.
|
|
#3
|
|||
|
|||
Re: How to convert a variable to a double pointerLooks like it might should be:
CPP / C++ / C Code:
Why don't you make a minimal working example of exactly what you are trying to do and post that. |
Recent GIDBlog
Programming ebook direct download available by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Powell Method | EngineerFORhire | C Programming Language | 5 | 01-Oct-2005 01:34 |
| [Tutorial] Pointers in C (Part II) | Stack Overflow | C Programming Language | 0 | 27-Apr-2005 18:36 |
| [Tutorial] Pointers in C (Part I) | Stack Overflow | C Programming Language | 1 | 08-Apr-2005 19:35 |
| Double output | leanieleanz | C++ Forum | 1 | 11-Mar-2005 21:19 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The