Moving values in an array

This is a discussion on Moving values in an array within the C++ Programming forums, part of the General Programming Boards category; What code would you use to take a value from one array and put it into another? thanx for any ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    32

    Moving values in an array

    What code would you use to take a value from one array and put it into another?

    thanx for any help
    I am a C++ newb
    using: Visual C++ 6.0
    thanx for any Help

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Try strcpy(string1,string2).......string 2 goes into string1

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Storing values from Edit Box into an array
    By E_I_S in forum C++ Programming
    Replies: 10
    Last Post: 06-05-2008, 06:24 AM
  2. Quick question about SIGSEGV
    By Cikotic in forum C Programming
    Replies: 30
    Last Post: 07-01-2004, 07:48 PM
  3. getline to store values in an array
    By berenice in forum C++ Programming
    Replies: 6
    Last Post: 07-10-2002, 10:17 PM
  4. Help with an Array
    By omalleys in forum C Programming
    Replies: 1
    Last Post: 07-01-2002, 08:31 AM
  5. Duplicate values in Array
    By TONYMX3 in forum C++ Programming
    Replies: 2
    Last Post: 01-30-2002, 02:57 PM

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