converting sequence to matrix

This is a discussion on converting sequence to matrix within the C++ Programming forums, part of the General Programming Boards category; i have a list of number which are like a sequence. i should convert this numbers to a matrix and ...

  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,438
    (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, 02: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

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