- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Can Cilk's array notation be used with arrays that have been allocated dynamically with malloc or new (or any arbitrary pointer)? All of the examples show usage based off of a static array.
Lien copié
1 Répondre
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
yes, you can use array notation on dynamically allocated array... for example:
double* time = new double[NUM_OPTIONS];
time[0:NUM_OPTIONS] = 1.1;
- J.D. Patel
double* time = new double[NUM_OPTIONS];
time[0:NUM_OPTIONS] = 1.1;
- J.D. Patel
Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable