摘要:
#include "stdafx.h" #include <stdlib.h> #include <time.h> // 生成随机数 - 100到200 int main(int argc, char *argv[], char **envp) { srand((unsigned)time(NULL)); int nLoop = 0; while (nLoop < 20) { int i = 10 阅读全文
摘要:
一 两个参数 二 三个参数 说明: 第三个参数用来在程序运行时获取系统的环境变量,操作系统运行程序时通过envp 参数将系统环境变量传递给程序 阅读全文