Matrices

This is a discussion on Matrices within the C++ Programming forums, part of the General Programming Boards category; Hi. I've been on and off programming stupid things in C++ for the last few years. I learned a bunch ...

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    6

    Matrices

    Hi. I've been on and off programming stupid things in C++ for the last few years. I learned a bunch about 4 years ago, but since I only work on it every now and then, things slip my memory. Most of the stuff I relearn and find stuff on the internet, but I can't find anything simple and short that will show me how to do matrices again. (I'm impatient and lazy). If anyone could just post a small example of making a 3by3(tic tac toe) matrix maybe, how do display it on the win32 console, and then a quick explaination of how it works, or anything that I would need to know to go a little farther, that would be awsome.

    Thanks, Idit.
    Last edited by Idit; 05-25-2005 at 07:20 PM.

  2. #2
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  3. #3
    Registered User
    Join Date
    Apr 2005
    Posts
    41
    Try writing writing a magic square generator. That is a program that creats a n x n magic square. A square is considered magic if the sum of the rows, columns,and diagnols equals the same number.
    http://rec-puzzles.org/new/sol.pl/ar.../magic.squares

  4. #4
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    If they can't figure out how to make a two dimensional array, do you really think they can make a magic square generator?

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C simple Matrices
    By Cyberman86 in forum C Programming
    Replies: 3
    Last Post: 05-07-2009, 05:20 PM
  2. Help getting started..matrices
    By BobDole11 in forum C Programming
    Replies: 7
    Last Post: 11-15-2008, 08:51 PM
  3. adding matrices, help with switches
    By quiet_forever in forum C++ Programming
    Replies: 7
    Last Post: 09-04-2007, 08:21 AM
  4. Comparing Matrices (D3D9)
    By MicroFiend in forum Game Programming
    Replies: 2
    Last Post: 10-12-2005, 08:36 AM
  5. Problem multiplying rotation matrices together
    By Silvercord in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 03-04-2003, 08:20 AM

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