2 Replies - 247 Views - Last Post: 14 January 2013 - 04:38 PM Rate Topic: -----

#1 ubunta  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 13-September 12

array

Posted 14 January 2013 - 11:04 AM

how to store each entry of a float in any array
for example 5678.89-->(5 at index 0, 6 at 1,7 at 2,8 at 3, . at 4 and so on
Is This A Good Question/Topic? 0
  • +

Replies To: array

#2 jimblumberg  Icon User is offline

  • member icon


Reputation: 4003
  • View blog
  • Posts: 12,351
  • Joined: 25-December 09

Re: array

Posted 14 January 2013 - 11:12 AM

See this link: Arrays.

Jim
Was This Post Helpful? 0
  • +
  • -

#3 #define  Icon User is offline

  • Duke of Err
  • member icon

Reputation: 1327
  • View blog
  • Posts: 4,552
  • Joined: 19-February 09

Re: array

Posted 14 January 2013 - 04:38 PM

Convert number to a string.

C - sprintf, C++ - stringstream.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1