Thread: Resetting a character Array

  1. #1

    Resetting a character Array

    How do you reset a character array in order to read a file into a program using that array multiple times in one loop?

  2. #2
    Join Date
    Aug 2001
    Groningen (NL)
    What do you mean with resetting a character array?

  3. #3
    Code Warrior
    Join Date
    Nov 2001

    Thumbs up

    Use the memset function to reset the array.
    Current projects:
    1) User Interface Development Kit (C++)
    2) HTML SDK (C++)
    3) Classes (C++)
    4) INI Editor (Delphi)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Character Array comparison
    By magda3227 in forum C Programming
    Replies: 7
    Last Post: 07-09-2008, 08:36 AM
  2. Replies: 7
    Last Post: 05-11-2008, 10:57 AM
  3. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 09:32 AM
  4. two dimensional character array
    By feuerraeder in forum C Programming
    Replies: 4
    Last Post: 11-22-2002, 08:59 AM
  5. Array of Character Arrays
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 02-09-2002, 06:07 PM