fill in array

Discussion in 'C Programming' started by cmk128@hotmail.com, Jan 4, 2008.

  1. Guest

    hi
    may i know which c function can fill a byte into an array?
    thanks
    from Peter ()
    , Jan 4, 2008
    #1
    1. Advertising

  2. user923005 Guest

    On Jan 4, 1:10 am, wrote:
    > hi
    >   may i know which c function can fill a byte into an array?


    Look up memset() in your C book.
    Note that this may not do what you think it should if the data type is
    not a character type.
    user923005, Jan 4, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Fabio Papa
    Replies:
    1
    Views:
    512
    Jim Blizzard [MSFT]
    Sep 24, 2003
  2. Gaz

    fill % of an array

    Gaz, Apr 22, 2005, in forum: Java
    Replies:
    6
    Views:
    570
    Owen Jacobson
    Apr 23, 2005
  3. Replies:
    14
    Views:
    843
  4. Gennaro Prota
    Replies:
    1
    Views:
    267
  5. Thomas Jollans
    Replies:
    5
    Views:
    1,701
    Thomas Jollans
    Jun 14, 2010
Loading...

Share This Page