|
-
October 1st, 2008, 08:23 PM
#14
Re: I'm SICK of THIS! WHY THIS CODE DOES NOT WORK!
First of all, this is what is printed right under your name. It must not catch you by surprise, that a newbee like me recognizes such details.
Everything you say is right, and I am definitely not supposed to warm up stack/heap discussions. However, in the given context, your words are "incomplete". I tried to explain that bounds (defined as having to be constant) are to "work-around" with vectors to show the decisive difference: Constant expressions are SIMPLE expressions, evaluated by a compiler BEFORE an app is LINKED. A vector (object) assigned with a var (which "n" is in my example), will be determined at RUNTIME.
Maybe I took a strange approach, sorry in advance.
Best from the south.
P.S. is it always that dangerous to post here?
ariell
programming is understanding
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|