代码搜索结果
找到约 10,000 项符合
LED Matrix 的代码
matrix.cpp
// Matrix.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "Matrix.h"
#include "MatrixDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
stat
matrix.h
#ifndef MATRIX_H
#define MATRIX_H
// 定义适合数学运算的实数matrix类,数据将存放在buffer类中
#include
#include
#include
// buffer.h包含实数缓存类buffer的定义
#include "buffer.h"
/
matrix.cpp
#include
#include
#include
#include
// 本程序实现matrix类
// 对matrix类的定义
#include "matrix.h"
matrix::matrix(buffer * b): // 缺省构造函数,产生0行0列空矩阵
rownum(0),co
matrix.h
//matrix.h//////////////////////////////////////////////////////////////////
// 2005.1.13-16:02 By Superman
#include "math.h"
/*****************************************************************
matrix.h
//matrix.h//////////////////////////////////////////////////////////////////
// 2005.1.13-16:02 By Superman
#include "math.h"
/*****************************************************************
matrix.c
#define RCSID "$Id: Matrix.c,v 1.25 2006/02/28 12:16:29 geuzaine Exp $"
/*
* Copyright (C) 1997-2006 P. Dular, C. Geuzaine
*
* This program is free software; you can redistribute it and/or modify
matrix.h
#ifndef Matrix_
#define Matrix_
#include "xcept.h"
template
class Matrix {
friend ostream& operator
matrix.cpp
// test matrix class
#include
#include "matrix.h"
void main(void)
{
try {
Matrix X(3,2), Y, Z;
int i, j;
for (i = 1; i