代码搜索结果
找到约 10,000 项符合
LED Matrix 的代码
matrix.h
#if !defined(AFX_MATRIX_H__FE08AB57_C9B9_456C_8702_FFBB5713516B__INCLUDED_)
#define AFX_MATRIX_H__FE08AB57_C9B9_456C_8702_FFBB5713516B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_
matrix.cpp
// Matrix.cpp : implementation file
//
#include "stdafx.h"
#include "PlayDraw.h"
#include "Matrix.h"
#include "math.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THI
matrix.h
/////////////////////////////////////////////////////////////
// Flash Plugin and Player
// Copyright (C) 1998,1999 Olivier Debon
//
// This program is free software; you can redistribute it and/or
/
matrix.cc
/////////////////////////////////////////////////////////////
// Flash Plugin and Player
// Copyright (C) 1998,1999 Olivier Debon
//
// This program is free software; you can redistribute it and/or
/
matrix.h
// Matrix.h: interface for the CMatrix class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MATRIX_H__76BCAF74_5E2D_402E_B9B0_88EEBECC4EB2__INCLUDED_)
matrix.txt
/*------------------------这是一个用于计算行列式的值与两个矩阵的乘积的C语言程序-----------------------------*/
/* Note:Your choice is C IDE */
#include "stdlib.h"
#include "stdio.h"
float hlsdz();
void jzcf();
main()
matrix.output
Initialized x(i,j) = 2*i + j
x(3,1) = 7
x is
3 4
5 6
7 8
Assigned y = x
y is
3 4
5 6
7 8
x incremented by 2 is
5 6
7 8
9 10
y + x is
8 10
12 14
matrix.h
#ifndef matrix_
#define matrix_
#include "myExceptions.h"
using namespace std;
template
class matrix
{
friend ostream& operator
matrix.cpp
// test matrix class
#include
#include "matrix.h"
using namespace std;
int main(void)
{
try
{
matrix x(3,2), y, z;
int i, j;
for (i = 1; i