Talk:C Source Code/Matrix multiplication

Some changes to the code
Now I know that nobody likes it when their code is touched, and I tried to be gentle. However, if this is to be anything like a university (or rather, like a university should be), teaching things that are flat out wrong or just unportable will not do, in my opinion.

The ISO C standard mandates that the return type of the main function be int; and it does not describe a header called . While the first of these is admittedly a mostly academic point (but again, this is an academy!), using the latter simply keeps users of non-Windows systems from compiling and using the code, thereby hindering their learning experience—and for what reason? For being able to clear the terminal screen, a feature completely unrelated to matrix multiplication.

So I took these out; getch also had to go, which means that the well-known Windows problem of starting terminal programs by double-clicking comes up. Changing the code to deal with that is reasonable (and doable in a portable way); changing the code in a way that will keep Mac OS and Unix users from using the code is not acceptable. Gergo 21:37, 23 June 2007 (UTC)