vector<int> second (4,100); // four ints with value 100
http://www.cplusplus.com/reference/stl/vector/vector/ -- Ahmed Aly www.ahmed-aly.com On Mon, Mar 26, 2012 at 10:56 PM, vivek dhiman <[email protected]>wrote: > No offense Andrey > > If you can send me a direct link from > http://www.cplusplus.com/reference/stl/. that says "It creates a vector > of size n, all of whose elements are equal to m." It will be great. > > Thanks Luke Pebody. > > On Tue, Mar 27, 2012 at 10:48 AM, Andrey Ponomarev < > [email protected]> wrote: > >> No offense, but the answer for this and literally hundreds of similar >> questions can easily be found at >> http://www.cplusplus.com/reference/stl/. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Code Jam" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/google-code?hl=en. >> >> > > > -- > Regards > Vivek Dhiman > > -- > You received this message because you are subscribed to the Google Groups > "Google Code Jam" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-code?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.
