Results 1 to 2 of 2
  1. #1
    AwesomeGuy is offline Member
    Join Date
    Apr 2011
    Posts
    2
    Rep Power
    0

    Default Integer value in Character Array

    Hi guys if someone could help me with this that would be great.

    I currently have an Array that holds character values. I need to insert some number into this array. I understand that I need to turn them into characters but I'm not exactly sure how.

  2. #2
    lovelesh is offline Senior Member
    Join Date
    Nov 2010
    Location
    Delhi
    Posts
    135
    Blog Entries
    1
    Rep Power
    0

    Smile

    Convert the number to a string, parse the string character by character and keep inserting each character in the target array.

    Isn't it simple? :)

Similar Threads

  1. Storing an integer in an array
    By sunde887 in forum New To Java
    Replies: 1
    Last Post: 01-05-2011, 06:16 AM
  2. Using a character array with html
    By ishdevil in forum New To Java
    Replies: 0
    Last Post: 02-10-2010, 02:01 PM
  3. An Array of different integer values
    By lithium002 in forum New To Java
    Replies: 7
    Last Post: 12-04-2009, 06:25 AM
  4. Replies: 1
    Last Post: 03-31-2009, 07:40 AM
  5. comparing array using character
    By Anseki in forum New To Java
    Replies: 7
    Last Post: 10-03-2008, 08:28 PM

Posting Permissions

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