摘要: 在VS2010新建win32空工程,加入C++代码: [cpp] view plain copy print? #include <windows.h> int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR 阅读全文
posted @ 2017-05-10 17:29 sky20080101 阅读(180) 评论(0) 推荐(0)
摘要: php学习(二)关于php的成员变量和全局变量 . http://blog.csdn.net/henry121212/article/details/8978014 其实PHP中是没有成员变量一说的,比如 $value = 1; function test1() { echo $value; } 这 阅读全文
posted @ 2017-05-10 15:36 sky20080101 阅读(101) 评论(0) 推荐(0)
摘要: myName=$name; $this->myAge=$age; } function getName() { return $this->myName; } function getAge($arg1,$arg2) { return $this->myAge . $arg1 . $arg2; ... 阅读全文
posted @ 2017-05-10 15:34 sky20080101 阅读(194) 评论(0) 推荐(0)
摘要: 100 ############################### 100 100 require 的使用方法如 require("MyRequireFile.php"); 。这个函数通常放在 PHP 程序的最前面,PHP 程序在执行前,就会先读入 require 所指定引入的文件,使它变成 PHP 程序网页的一部份。常用的函数,亦可以这个方法将它引入网页中。 inclu... 阅读全文
posted @ 2017-05-10 14:30 sky20080101 阅读(139) 评论(0) 推荐(0)
摘要: 'andy', 'sex' => 'male' ); ?> 阅读全文
posted @ 2017-05-10 14:13 sky20080101 阅读(256) 评论(0) 推荐(0)
摘要: "); echo("我是关键字" . True) /* 我是变量True 我是关键字1 */ ?> 阅读全文
posted @ 2017-05-10 14:11 sky20080101 阅读(91) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class A { public A() { Console.WriteLine("pu... 阅读全文
posted @ 2017-05-10 14:09 sky20080101 阅读(208) 评论(0) 推荐(0)