Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

problem with vector in loop

Status
Not open for further replies.

sabine83

Computer
Jun 30, 2004
2
Hi all,

I use a for-loop for getting all values from nst_zaehler(a) which are no values in nst_nenner(a) in the new variable nst_f(a).
I tried to compare the value from nst_zaehler(a) width nst_nenner(a) in this way:
... if nst_zaehler(a)[m = nst_nenner(a)[n ...
I only get a solution for my new variable nst_f(a) if a has any value, but I need the solution with a as variable.

you can see my whole file on:
thank you very much for solving my problem,
sabine
 
Replies continue below

Recommended for you

I think I found my problem. It was not the vector, it was an if-statement which included the variable I wanted to fill, so it didn't work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor