代码搜索:预置数
找到约 10,000 项符合「预置数」的源代码
代码结果 10,000
www.eeworm.com/read/114206/15065370
cpp sk.cpp
#include
#include
#include
#include "windows.h"
#define MAX_PROCESS 32 //最大进程数
#define MAX_COURCE 64 //最大资源类别
int MAX_FACT_PROCESS;
www.eeworm.com/read/114100/15111594
txt 如何获得文件在dos状态下的短文件名.txt
你 可 以 使 用 GetShortPathName将 长 文 件 名 转 换 为 DOS短 文 件 名 。 该 函 数 定 义 为 :
Declare Function GetShortPathName Lib "kernel32" _
Alias "GetShortPathNameA" (ByVal lpszLongPath As String, _
www.eeworm.com/read/114100/15111681
txt 如何判断某个文件是否已经打开.txt
你 可 以 用 下 面 这 个 函 数 来 检 查 一 个 文 件 是 否 被 打 开 。
Function IsOpen(sFile As String) As Boolean
Dim fFile As Integer
fFile = FreeFile()
On Error GoTo ErrOpen
Open sFile For
www.eeworm.com/read/114100/15111741
txt qb中cv?和mk?$两组函数对应的vb函数.txt
如 果 要 模 拟 这 些 函 数 , 可 以 使 用 下 面 的 代 码 :
Declare Sub CopyMemory Lib "KERNEL32" Alias "RtlMoveMemory" ( _
hpvDest As Any, hpvSource As Any, ByVal cbCopy As Long)
Function MKI$ (x As
www.eeworm.com/read/114100/15111760
txt 如何获得任意磁盘的剩余空间.txt
2G以 下 的 硬 盘 可 以 使 用 API函 数 GetDiskFreeSpace。 下 面 就 是 一 个 例 子 。
Declare Function GetDiskFreeSpace Lib "kernel32" Alias _
"GetDiskFreeSpaceA" (ByVal lpRootPathName As String, _
lpSe
www.eeworm.com/read/211350/15182655
java map.java
package fyrad;
/**
*地图类,实现棋盘的操作
*/
public class Map
{
private int columns;//列数
private int rows; //行数
public int count;//棋子个数
private int map[][];//地图二维数组
private int place[];//
www.eeworm.com/read/208892/15233097
txt text1.txt
#include
using namespace std; //使用标准命名空间std
#define M 3 //矩阵的行数
#define M 4 //矩阵的列数
class Matrix
{
int a[M][N]; //存放二维树组的值
public
www.eeworm.com/read/208848/15234342
m intinti.m
function [pop]=INTinti(num,bounds)
%[pop]=INTinti(num,bounds)
%inti 编码函数
%num 种群数
%bounds 边界约束
n=size(bounds,1);
L=bounds(:,2)-bounds(:,1);
p=rand(num,n);
for i=1:num
p(i,:)=