Hi, why don't you use std::vector ? std::vector<int> p(10);
---------- Initial Header ----------- >From : [email protected] To : [email protected] Cc : Date : Tue, 7 Aug 2007 08:30:27 -0700 (PDT) Subject : [c-prog] initialize dynamic array Hi I like to initialize array of values at the time of creation int *p = new int[10]; How can I initialize without using loop .Will memset work with new operator?or any other solution? Please help me Thanks, Manoj --------------------------------- Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. [Non-text portions of this message have been removed] To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>. Yahoo! Groups Links ------------------------ ALICE C'EST ENCORE MIEUX AVEC CANAL+ LE BOUQUET ! --------------- Découvrez vite l'offre exclusive ALICEBOX et CANAL+ LE BOUQUET, en cliquant ici http://alicebox.fr Soumis à conditions.
