Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using List

Status
Not open for further replies.

novicom

Programmer
Mar 15, 2001
2
NL
Hi there,

how do i use a list to access induvidual values in the list as a string by using the brackets[].

I would like to do something like

mylist would be the default class list;

for (i=0;i < tillistop; i++)
{
if (mylist == &quot;somevalue&quot;) dosomething();
}

Any help is appreciated

Thanx Rim
 
try

char *list[];
for (i=0;i < tillistop; i++)
{
if (list == &quot;somevalue&quot;) dosomething();
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top