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 cowski 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
Joined
Jun 30, 2004
Messages
2
Location
DE
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
 
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

Back
Top