English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

with c++

2007-03-21 19:39:40 · 2 answers · asked by alaa h 1 in Computers & Internet Programming & Design

i need when we add anew inpyt in the arry check that this value not exist in the arry before

2007-03-21 19:55:28 · update #1

2 answers

no input array can have duplicate elements

2007-03-21 19:48:38 · answer #1 · answered by Anonymous · 0 1

i dont understand ur question, but u can have duplicate values in an array for sure, i dont know what u mean by distinct elements, it is just an array, it is not a list of objects or a vector!!

2007-03-22 02:51:20 · answer #2 · answered by abd 5 · 0 0

fedest.com, questions and answers