Actually, i just want to call a function like this
mov(a,b);
But, the situation I am facing is I have "mov","a","b" as three string variables.
Can I call the function using these three variables i want to call mov(a,b)
Here,a and b are int datatypes
Please help me I need to know that can I do it or not. Other wise, I hav to start writing if statements to identify the function name from the list of functions I hav and even with parameters...........
I came across with this situation while im tryng to do my project in c++.
Thank u................
If I have a list of a million labels and I want to output the value of one that has exceeded a limit, would I need to use reflection to also output the name of that label? Which language would be best for something like this?
If I have a list of a million labels and I want to output the value of one that has exceeded a limit, would I need to use reflection to also output the name of that label?
It all depends on how you're storing them. Reflection is used to access at run time, information that would otherwise only be available at compile time, such as variable names. So, if your labels are stored, for example, as
1 2 3
label0="foo";
label1="bar";
//...
then you're a very silly person and you do need reflection.
If, however, they're stored as
Then I can use LabelA1, LabelA2, LabelA3 etc... on any of my networked machines provided that I send updates between my machines and that I have the same DLL/Lib on each. However, I'd like to be able to debug these labels by name.