to set all fields == 0,
for(int k = 0; k <= vectorlength; k++)
vector[k] = 0;
or just
delete vector;
At 08:40 PM 3/26/99 MST, you wrote:
>ok this is really off topic, but I hope someone can help. when using
>java or c++ how do you empty a vector?
>Sorry this is so off topic
>Robin
>
>
> +------------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
> +------------------------------------------------------------+
>
>
Jaysonsb@concentric.net
Aleksandr1@rocketmail.com (Cyillic only)
http://www.concentric.net/~jsbaird
ICQ UIN: 19560609
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST