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. Advertisements

  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. Advertisements

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:
    660
    Jim Blizzard [MSFT]
    Sep 24, 2003
  2. Gaz

    fill % of an array

    Gaz, Apr 22, 2005, in forum: Java
    Replies:
    6
    Views:
    762
    Owen Jacobson
    Apr 23, 2005
  3. Replies:
    14
    Views:
    966
  4. Gennaro Prota
    Replies:
    1
    Views:
    346
  5. fill in 3D array

    , Jul 24, 2008, in forum: Python
    Replies:
    3
    Views:
    404
    Robert Kern
    Jul 24, 2008
  6. Mara Guida

    const and array of array (of array ...)

    Mara Guida, Sep 2, 2009, in forum: C Programming
    Replies:
    3
    Views:
    822
    David RF
    Sep 3, 2009
  7. Thomas Jollans
    Replies:
    5
    Views:
    1,948
    Thomas Jollans
    Jun 14, 2010
  8. Joao Silva

    Fill gaps in Array of Hashes

    Joao Silva, Dec 10, 2009, in forum: Ruby
    Replies:
    7
    Views:
    241
    Aldric Giacomoni
    Dec 10, 2009
Loading...