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!

Structures

Status
Not open for further replies.

crmayer

Programmer
Nov 22, 2002
280
US
is it possible to make a variable in a structure a array or integers?

Ex.
tmp_cust {
char cname[12];
char cstate[3];
float i_amt[13];
float p_amt[13];
}temp_cust[MAX];

If so, then how to i set a value to the address of i_amt[1] or i_amt[0]???

temp_cust[x].i_amt[j].........
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top