摘要: 本人很少写博客,有不正确的地方还希望大家多多指导。 假设现在有一个URL,如下。 http://www.jacky.com/?id=1101&name=jacky 如何通过JS访问到id和name里面的值呢,首先我们来分析一下思路。 先获取当前页面的URL,通过window.location.hre 阅读全文
posted @ 2014-09-18 09:51 Wendy.Jacky 阅读(18130) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.InteropServices;using System.IO;namespace Hello... 阅读全文
posted @ 2014-05-16 16:53 Wendy.Jacky 阅读(714) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std;int main(){ system("title Dan.Jacky QQ:773091523"); system("color 0a"); int snoopy[13][19] = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 45, 45, 45, 45, 46}, {0, 0, 0, 0, 0, 0, 95, 46, 39, 95, 95, 0, 0, 0, 0, 96, 46}, {0, 0, 0, 45, 45, 40,... 阅读全文
posted @ 2013-12-26 17:58 Wendy.Jacky 阅读(564) 评论(0) 推荐(0) 编辑
摘要: C/C++获取屏幕分辨率的方法 1 int main(int argc, char* argv[]) 2 { 3 // 需要添加头文件: 4 // #include 5 6 system("title Dan.Jacky QQ:773091523"); 7 system("color 0a"); 8 9 int nScreenWidth, nScreenHeight;10 nScreenWidth = GetSystemMetrics(SM_CXSCREEN);11 nScreenHeight = GetSystemMetrics(... 阅读全文
posted @ 2013-12-23 16:46 Wendy.Jacky 阅读(6936) 评论(0) 推荐(1) 编辑
摘要: C#获取屏幕分辨率的方法 1 static void Main(string[] args) 2 { 3 // 控制台程序,需要添加程序集: 4 // using System.Drawing; 5 // using System.Windows.Forms; 6 7 Console.Title = "Dan.Jacky QQ:773091523"; 8 Console.ForegroundColor = ConsoleColor.Green; 9 10 int SW = Screen.PrimaryScreen.Bounds.Widt... 阅读全文
posted @ 2013-12-23 16:35 Wendy.Jacky 阅读(1107) 评论(0) 推荐(0) 编辑