导航

2019年5月30日

摘要: reference:https://www.c-sharpcorner.com/article/task-and-thread-in-c-sharp/ 阅读全文

posted @ 2019-05-30 13:22 sishuisufeng 阅读(104) 评论(0) 推荐(0) 编辑

2019年3月6日

摘要: Add the dotnet product feed Before installing .NET, you'll need to register the Microsoft key, register the product repository, and install required d 阅读全文

posted @ 2019-03-06 09:45 sishuisufeng 阅读(143) 评论(0) 推荐(0) 编辑

2018年11月24日

摘要: vs2017打不开的问题 阅读全文

posted @ 2018-11-24 13:50 sishuisufeng 阅读(91) 评论(0) 推荐(0) 编辑

2018年10月23日

摘要: SELECT TOP 50 (select text from sys.dm_exec_sql_text(sql_handle)) as [SQL], CAST( ((qs.total_elapsed_time / 1000000.0)/qs.execution_count) AS DECIMAL( 阅读全文

posted @ 2018-10-23 21:25 sishuisufeng 阅读(160) 评论(0) 推荐(0) 编辑

2018年6月21日

摘要: 1、下载jdk8并安装 2、下载tomcat windows环境下的免安装版zip包 3、设置两个环境变量 4、在tomcat的bin路径下双击startup.bat 启动tomcat服务器 5、使用 service.bat install 命令将tomcat注册为windows下的一个服务,并设置 阅读全文

posted @ 2018-06-21 10:40 sishuisufeng 阅读(97) 评论(0) 推荐(0) 编辑

2018年3月20日

摘要: php中定义了一些超全局的变量 $GLOBALS$_SERVER$_GET$_POST$_FILES$_COOKIE$_SESSION$_REQUEST$_ENV 具体的使用请参考 http://php.net/manual/zh/language.variables.superglobals.ph 阅读全文

posted @ 2018-03-20 21:34 sishuisufeng 阅读(111) 评论(0) 推荐(0) 编辑

摘要: function &example($tmp=0){ //定义一个函数,别忘了加“&”符 return $tmp; //返回参数$str } $str = &example("看到了"); //声明一个函数的引用$str1; echo $str."<p>"; 我感觉这相当于直接调这样调用 examp 阅读全文

posted @ 2018-03-20 17:31 sishuisufeng 阅读(217) 评论(0) 推荐(0) 编辑

摘要: 这个东西相当于C语言中的函数指针,C#里的委托 function come() { //定义com函数 echo "来了<p>"; } function go($name = "jack") { //定义go函数 echo $name."走了<p>"; } function back($string 阅读全文

posted @ 2018-03-20 17:15 sishuisufeng 阅读(2474) 评论(0) 推荐(0) 编辑

摘要: 传值 function example( $m ){ $m = $m * 5 + 10; echo "在函数内:\$m = ".$m; } $m = 1; example( $m ) ; echo "<p>在函数外:\$m = $m <p>" ; function example( $m ){ $m 阅读全文

posted @ 2018-03-20 16:52 sishuisufeng 阅读(349) 评论(0) 推荐(0) 编辑

摘要: <?php echo "当前文件路径: ".__FILE__; echo "<br/>当前行数:".__LINE__; echo "<br/>当前PHP版本信息:".PHP_VERSION; echo "<br/> 当前操作系统: ".PHP_OS ; ?> <?php echo "当前文件路径: 阅读全文

posted @ 2018-03-20 09:46 sishuisufeng 阅读(160) 评论(0) 推荐(0) 编辑