代码搜索:预置数
找到约 10,000 项符合「预置数」的源代码
代码结果 10,000
www.eeworm.com/read/145159/12747909
m ex1.m
n=input('输入矩阵阶数:');
A=zeros(n,n);b=zeros(n,1);
for i=1:n;
for j=1:n;
A(i,j)=(i+j-1)^2;
end
b(i)=sum(A(i,:));
end
x=GaussSolve(A,b)
A\b
www.eeworm.com/read/144078/12819129
java maxofthree.java
//MaxOfThree.java
//求三个数中的最大者
public class MaxOfThree
{
public static void main(String args[])
{
int a=5;
int b=6;
int c=7;
if(a>b)
if(a>c)
{
System.out.pr
www.eeworm.com/read/143457/12874375
cpp p3-140.cpp
#include
#include
#define MAX 30
//main()的定义
int main(void)
{
char str[MAX],*p;
//从键盘上输入int数
cout
www.eeworm.com/read/143457/12874500
cpp p1-6.cpp
#include //包含iostream.h头文件
main()
{
//声明整型变量
int a,b;
//从键盘上为整型变量赋值
couta;
coutb;
//整型数的算术运算
cout
www.eeworm.com/read/141581/12997168
h ipcfun.h
/***************************************
*文件名:ipcfun.h
*描 述:进程间通信通用函数头文件
*编 写:LHZ
*时 间:2004-05-10
*函 数:
****************************************/
#ifndef IPCFUN_H
#define IPCFUN_H
#define
www.eeworm.com/read/242302/13080649
txt 在vb下调用的api函数和在vc调用的api函数是否是相同的函数.txt
API函 数 只 有 一 套 , 不 管 使 用 什 么 语 言 调 用 都 是 一 样 的 , 所 不 同 的 只 是 语 言 的 语 法 不 同 。
www.eeworm.com/read/327160/13096750
cpp 4.4.cpp
/*奇数阶魔方阵问题*/
#include
using namespace std;
const int MAX=50;
void main()
{
int matrix[MAX][MAX];
int count;
int row;
int column;
int order;
coutorder;
i
www.eeworm.com/read/240925/13187250
cpp sl305.cpp
// sl305.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "iostream.h"
int main()
{
int num,i=1,sum=0;
cout
www.eeworm.com/read/324057/13291390
cpp main.cpp
#include "iostream.h"
void main()
{
int a;
cout a;
if (a
www.eeworm.com/read/239043/13304878
cpp os2.cpp
#include
#include
#include
#define INTE_PER_SEC 1000 //每秒时钟中断的数目
#define MAX_THREAD_NUM 10 //最大线程数
int readcount=0;