By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,137 Members | 1,001 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,137 IT Pros & Developers. It's quick & easy.

plz help its urgent

P: n/a
Hello

My requirement is ,when the user enters a task name in the display,i
need to store the name only in one place in memory but use it for
internal processing and display the names to the users but not the
codes.
I need to assign codes to the user/task names and use the codes for
furhter processing.
I have a structure named

typedef struct
{
TEXT task_name[16];
BYTE timelimits;
BYTE shift;
BYTE selected_keys[4];
BYTE task_state;
}TASKCONFIG_STRUCT;
TASKCONFIG_STRUCT g_taskconfigparams;
TASKCONFIG_STRUCT g_taskcode[32];

now if say g_taskcode[0].task_name i should be able to get the first
name entered,

can anyone of you please help me how to do

Thanks In Advance
Poornima

Dec 29 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Poornima wrote:
>
My requirement is ,when the user enters a task name in the
display, i need to store the name only in one place in memory but
use it for internal processing and display the names to the users
but not the codes.

I need to assign codes to the user/task names and use the codes
for furhter processing. I have a structure named

typedef struct
{
TEXT task_name[16];
BYTE timelimits;
BYTE shift;
BYTE selected_keys[4];
BYTE task_state;
}TASKCONFIG_STRUCT;
TASKCONFIG_STRUCT g_taskconfigparams;
TASKCONFIG_STRUCT g_taskcode[32];

now if say g_taskcode[0].task_name i should be able to get the
first name entered,

can anyone of you please help me how to do
Not really. Our crystal balls are cloudy. What is TEXT and BYTE?
Why do you want to hide their meanings?

--
Merry Christmas, Happy Hanukah, Happy New Year
Joyeux Noel, Bonne Annee.
Chuck F (cbfalconer at maineline dot net)
<http://cbfalconer.home.att.net>

Dec 29 '06 #2

P: n/a
I am not able get your problem clearly...
Poornima wrote:
Hello

My requirement is ,when the user enters a task name in the display,i
need to store the name only in one place in memory but use it for
internal processing and display the names to the users but not the
codes.
I need to assign codes to the user/task names and use the codes for
furhter processing.
I have a structure named

typedef struct
{
TEXT task_name[16];
BYTE timelimits;
BYTE shift;
BYTE selected_keys[4];
BYTE task_state;
}TASKCONFIG_STRUCT;
TASKCONFIG_STRUCT g_taskconfigparams;
TASKCONFIG_STRUCT g_taskcode[32];

now if say g_taskcode[0].task_name i should be able to get the first
name entered,

can anyone of you please help me how to do

Thanks In Advance
Poornima
Dec 29 '06 #3

P: n/a
Poornima <po*******************@gmail.comwrote:
Hello

My requirement is ,when the user enters a task name in the display,i
need to store the name only in one place in memory but use it for
internal processing and display the names to the users but not the
codes.
I need to assign codes to the user/task names and use the codes for
furhter processing.
I have a structure named

typedef struct
{
TEXT task_name[16];
BYTE timelimits;
BYTE shift;
BYTE selected_keys[4];
BYTE task_state;
}TASKCONFIG_STRUCT;
TASKCONFIG_STRUCT g_taskconfigparams;
TASKCONFIG_STRUCT g_taskcode[32];
with you so far, except for what appears to be typedefs of TEXT and BYTE
>
now if say g_taskcode[0].task_name i should be able to get the first
name entered,
Yes... Correct...
can anyone of you please help me how to do
How to do what? What exactly is the problem?
Thanks In Advance
Poornima
Dec 29 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.