473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

dynamic field names


Hi

Can one implement dynamic field names
in C++ and how ? I have been wrangling
with that problem for a while now and I
can't come up with a solution. The worst
of the matter is that I am a newbie in C++.
I believe one has something like this in
python and in matlab and some other languages.

This is how one uses this in matlab:

http://www.mathworks.com/access/help.../f2-41859.html
Any help is greatly appreciated

Kamran

Mar 9 '06 #1
2 2146
On Thu, 09 Mar 2006 11:50:31 +0100, Kamran <ka****@uio.no> wrote:

Hi

Can one implement dynamic field names
in C++ and how ? I have been wrangling
with that problem for a while now and I
can't come up with a solution. The worst
of the matter is that I am a newbie in C++.
I believe one has something like this in
python and in matlab and some other languages.

This is how one uses this in matlab:

http://www.mathworks.com/access/help.../f2-41859.html
Any help is greatly appreciated

Take a look at the possibilities of std::map

Regards,

Zara
Mar 9 '06 #2
Geo

Kamran wrote:
Hi

Can one implement dynamic field names
in C++ and how ? I have been wrangling
with that problem for a while now and I
can't come up with a solution. The worst
of the matter is that I am a newbie in C++.
I believe one has something like this in
python and in matlab and some other languages.

This is how one uses this in matlab:

http://www.mathworks.com/access/help.../f2-41859.html
Any help is greatly appreciated

Kamran


You should be able to do what you want using pointers to member
functions, but you'd probably be better off looking for an alternative
solution.

Mar 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: jason | last post by:
How does one loop through the contents of a form complicated by dynamic construction of checkboxes which are assigned a 'model' and 'listingID' to the NAME field on the fly in this syntax:...
1
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to...
3
by: Bob Alston | last post by:
I am using a combo box to select the key to records and then go to the selected record on my form. Works well. However, the list, which contains people names, is rather long. What I would like...
3
by: deejayquai | last post by:
Hi I've created a crosstab query and displayed it as a sub-report in my main report. This is fine until the data changes and the column names become incorrect. I know I have to create a...
9
by: Jimbo | last post by:
Hello, I have a user request to build a form in an Access database where the user can check off specific fields to pull in a query. For example, let's say I have 10 fields in a table. The user...
5
by: JonH | last post by:
Ok, I have this dynamically created table in my one of my php forms that shows the names of the people the user has entered into a text field. When they hit add a row displays, showing the name...
13
by: salad | last post by:
Operating in A97. I didn't receive much of a response conserning Pivot tables in Access. Pivot tables are nice, but a CrossTab will work for me too. Using a Pivot table, one is actually...
5
by: Rolf Mander | last post by:
Hi, I need to use dynamic variable names but for objects. As you know something like that works fine: $variable="content"; $part="able"; echo ${"vari".$part}; // gives out content but i...
1
by: Richa Bhargava | last post by:
how we can do dynamic databinding into datagrid in webform. we are getting the data from sql server 2000 .On the datagrid , only the field names should come on the frist row using one db table and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.