CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #2
    Join Date
    Jul 2012
    Posts
    90

    Re: Taking input from user and storing in an integer array

    First, decide on a delimiter (the character that separates the values). Then use the string class' Split method to produce the array. This will produce an array of strings. Next loop through the array converting the values to integers and store them in a second array.
    Last edited by CGKevin; October 2nd, 2012 at 05:24 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured