|
-
June 17th, 2013, 07:17 AM
#7
Re: Creating a variable using a variable?
 Originally Posted by Igor Vartanov
You won't believe it, but it seems not. You can scratch it a little, and under a thin laquer coating you find that pure old C stuff which some people consider a slightly modified version of assembler. So basically C++ is as much high-level as assembler is. 
tsk... C++ is a high level language...
and having "variable variables" has nothing to do with a language being high level or not. variable variables is just a lot of compiler/language gunk/gloop/candy on top to hide the fact that your "variable" is really a lot more than a simple variable.
there are plenty languages that are much "higher" level than php that don't offer variabel variables, and the other way around. Don't mistake a language/library feature for how "high" a language is.
There are a number of ways you could simulate the behaviour/effect in C++ although without full compiler assistance for it, it'll be a bit rougher around the edges.
Tags for this Thread
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
|