Initialising Arrays

This is a discussion on Initialising Arrays within the C++ Programming forums, part of the General Programming Boards category; >they just shifted all of it into <iomanip>. Eh? That's news to me. >I was wondering why cout doesn't have ...

  1. #16
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >they just shifted all of it into <iomanip>.
    Eh? That's news to me.

    >I was wondering why cout doesn't have a similar thing.
    As I explained, it's dangerous and rigid, both of which go against the design goals of iostreams.
    My best code is written with the delete key.

  2. #17
    Registered User
    Join Date
    Oct 2006
    Posts
    26
    Ok, thanks.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. seperating initialising and printing of arrays into functions
    By Tom Bombadil in forum C Programming
    Replies: 1
    Last Post: 03-11-2009, 12:47 PM
  2. Declaring and initialising constant nested arrays
    By officedog in forum C Programming
    Replies: 6
    Last Post: 10-28-2008, 10:55 AM
  3. Replies: 16
    Last Post: 01-01-2008, 04:07 PM
  4. Crazy memory problem with arrays
    By fusikon in forum C++ Programming
    Replies: 9
    Last Post: 01-15-2003, 09:24 PM
  5. Initialising 2D and 3D arrays
    By fry in forum C++ Programming
    Replies: 5
    Last Post: 08-01-2002, 05:34 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21