oliverUK
asked on
getting the value from a Cstring Array
My Code:-
CString ItimeStringTable[] =
{
25MS, 50MS, 500MS,
200MS, 300MS, 400MS,
500MS, 600MS, 700MS,
800MS, 900MS, 1S,
};
CString ArrayElement = ItimeStringTable[1];
TRACE("Element value is %s\n",ArrayElement);
Debug Output :-
Element value is
How do I get the value in variable "ArrayElement" to be 50MS?
Thanks
CString ItimeStringTable[] =
{
25MS, 50MS, 500MS,
200MS, 300MS, 400MS,
500MS, 600MS, 700MS,
800MS, 900MS, 1S,
};
CString ArrayElement = ItimeStringTable[1];
TRACE("Element value is %s\n",ArrayElement);
Debug Output :-
Element value is
How do I get the value in variable "ArrayElement" to be 50MS?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Split points between AlexFM & Salte
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Tinchos
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
Split points between AlexFM & Salte
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Tinchos
EE Cleanup Volunteer
Man, how did that compile?
Mayank.