Thread: converting sequence to matrix

  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    1

    converting sequence to matrix

    i have a list of number which are like a sequence. i should convert this numbers to a matrix and show the matrix but i don't know how do it, could you please help me?
    (ps.end of each number is zero)

  2. #2
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,472
    (ps.end of each number is zero)
    haha, great!
    maybe you mean you want to put the numbers in an array? or maybe i am missing a point here...
    if the numbers are small enough use an int array[number of values]
    i assume they are not floating point numbers because ending on 0 is not really relevant then.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C - access violation
    By uber in forum C Programming
    Replies: 2
    Last Post: 07-08-2009, 01:30 PM
  2. Matrix Help
    By HelpmeMark in forum C++ Programming
    Replies: 27
    Last Post: 03-06-2008, 05:57 PM
  3. Immediate programming help! Please!
    By xMEGANx in forum C++ Programming
    Replies: 6
    Last Post: 02-20-2008, 12:52 PM
  4. What is a matrix's purpose in OpenGL
    By jimboob in forum Game Programming
    Replies: 5
    Last Post: 11-14-2004, 12:19 AM