** Operator

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-10-12
10:18 PM
- last edited on
‎2023-08-07
11:33 AM
by
Doreena Deng
I'm familiar with pointers and memory references, and I am finding I cannot search for "C++ **" on Google....
Can anyone tell me what that means?
- Labels:
-
Add-On (C++)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-10-13 03:05 AM
eg.
int testVal; // integer
int* testValPointer; // pointer to integer
int** pointerToTestValPointer;
testValPointer = &testVal;
pointerToTestValPointer = &testValPointer;
this is how handles are implemented
so for instance to access a parameter of an element you use
(*memo.params)[parameterIndex].value.real
the * dereferences the params array, and as you should know arrays in C are just pointers

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-10-20 02:44 PM
Things like this remind me why I really hate C and C++ sometimes.... not that I like any othe language better... I just really hate pointers sometimes!
Why is it that no one on my side of the world (except Karl) knows this stuff?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-10-20 03:05 PM
TomWaltz wrote:Tom,
...Why is it that no one on my side of the world (except Karl) knows this stuff?
I imagine you question is rhetorical, but I feel the same way at times about the limited pool of resources for development here "on
It would be great learn of others, here locally, that have the skills/expertise to assit in developing localized tools/techniques. If anyone like this is out there please "raise your hand" so we know who you are.
Dan K

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-10-20 03:08 PM
Tom, I imagine your question is rhetorical,Sort of. From what I know of, there is a very small pool of people making add-ons through the Archicad API system.
There are a ton of people using GDL, but not a lot of architects out there who know C++... or understandably, would even want to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-10-23 10:07 PM
P.S. I'm an architect but I do love C++ although it's frustratingly complex at times. You're not completely alone, but for ArchiCAD it is a rather small community...
Archicad28/Revit2024/Rhino8/Solibri/Zoom
MBP2023:14"M2MAX/Sequoia+Win11
Archicad-user since 1998
my Archicad Book

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-10-25 03:52 PM
stefan wrote:I have my days that I love it..... some that I hate it.... and some that I wonder if I'm just in over my head!
I have had some similar frustrating experience with a triplet: *** (sounds like some really bad language).
P.S. I'm an architect but I do love C++ although it's frustratingly complex at times. You're not completely alone, but for ArchiCAD it is a rather small community...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-10-26 11:29 PM
TomWaltz wrote:stefan wrote:
I have had some similar frustrating experience with a triplet: *** (sounds like some really bad language).
You must be programming on a Mac. It's been a while since I did MacOS programming, I didn't think they still used that pointer to a handle methodology--although I understand why they did it.
P.S. I'm an architect but I do love C++ although it's frustratingly complex at times. You're not completely alone, but for ArchiCAD it is a rather small community...
I'm more of a C++ guy (15years as a C++ programmer) and a newbie in these parts. Is there any discussion anywhere on the topic of GDL fs. CA++ for add-ons in AC? Or, is it just preference?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-10-27 02:56 AM
socrates wrote:I assume you mean "GDL vs C++" ?
I'm more of a C++ guy (15years as a C++ programmer) and a newbie in these parts. Is there any discussion anywhere on the topic of GDL fs. CA++ for add-ons in AC? Or, is it just preference?
Not a preference ... there is no option to create add-ons with GDL. Sounds like you need to learn more about ArchiCAD before thinking of programming add-ons (the focus of this forum)...?
Karl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-10-27 06:45 PM
TomWaltz wrote:I'm both an architect and software developer, and work extensively with C++ developing ArchiCAD add-ons (amongst other things). I only read ArchiCAD-Talk every other day though, so someone else usually answers the questions before I've even read them.
From what I know of, there is a very small pool of people making add-ons through the Archicad API system.
There are a ton of people using GDL, but not a lot of architects out there who know C++... or understandably, would even want to.
Central Innovation