Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How can I put initial value for all EX[N] to zero?

Status
Not open for further replies.

fatma1000

Banned
Full Member level 2
Joined
Apr 30, 2006
Messages
147
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Location
eygpt
Activity points
0
if i have like this
struct fld
{
float EX[N],
DX[N];
};
main()
{
struct fld *ptr[2];

/* ptr[0]->EX[] at t and ptr[1]->EX[] at t+dt */

how can i put initial value for all EX[N] to zero?
thanks
 

Re: i need help

please i need to put initial value to fields in struct how can i do this?
like
struct ddd
{
float ex[zmax];
float dx[zmax];
};
how can i set all ex[zmax] and dx[zmax] to zero?
regards
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top