Prin simpla adăugare a două paranteze drepte după tipul variabilei noastre, am spus compilatorului să creeze un array de acest tip.
By simply placing two square brackets after our variable type, we told the compiler to create an array of that type.
Autres résultats
În exemplul nostru, am declarat un array de tip întreg, numit myArray.
In our example, we have declared an array of type integer, named myArray.
Un Array de stringuri divizate la fiecare punct unde separatorul are loc în stringul dat.
An Array of strings split at each point where the separator occurs in the given string.
Dacă separator-ul este un string gol, str este convertit într-un array de caractere.
If separator is an empty string, str is converted to an array of characters.
Proprietatea attributes este definita de catre CModel, care asteapta un array de perechi nume-valoare si care asigneaza fiecare valoare la atributul corespunzator al modelului.
The attributes property is defined by CModel which expects an array of name-value pairs and assigns each value to the corresponding model attribute.
Caracteristica cheie a acestui sistem este raportul incredibil de putere/volum/greutate, oferind toate avantajele unui line array de prima clasa cu o dimensiune foarte compacta.
The key feature of this system is the incredible power/volume/weight ratio, offering all the benefits of a first class line array with a very compact size.
De asemenea, putem efectua o tăiere multiplă, specificând un array de caractere pe care dorim să le eliminăm
We can also perform a multi character trimming, by specifying an array of characters that we want to remove
Alternativa mea a fost sa fac un array de "char" si apoi sa-i fac cast, dupa cum urmeaza
My alternative was to create an array of "char" and cast it, like this
Folosind [] indicăm faptul că vrem să declarăm un array de elemente, nu un singur element.
Using [] we are indicating that we want to declare an array of elements, not a single element.
Să presupunem că aveți un array de șase elemente, și doriți ca acestea să afișeze toate.
Lets say you have an array of 6 elements, and you want to display them all.
Pentru a folosi un input tabular, trebuie intai sa cream si sa populam un array de instante cu modelele respective, in functie ce trebuie sa facem, inserare sau actualizare de date.
To work with tabular input, we first need to create or populate an array of model instances, depending on whether we are inserting or updating the data.
Parametrii $attributes vor fi transmisi intr-un array de valori indexate dupa numele de coloana.
We let the $attributes parameters be an array of the values indexed by the column names.
Pentru aceasta, putem folosi funcția Split(), care returnează un array de șiruri de caractere.
For this, we can use the Split() function, which returns an array of strings.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.