`
wx1568444409
  • 浏览: 14506 次
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表
`#include "stdafx.h" #include <stdio.h> #include <tchar.h> #include <WinSock2.h> #include <Windows.h> #include "pcap.h" #include <stdlib.h> #include <iostream> #include <string> #include ...
一:JQuery知识点 *:JQuery的dom操作 *:动态创建dom节点 比如动态创建表格等,在js里面进行完成。 *删除节点 这里面的删除就是将其放在了一个地方,并不是真的删除,之后可以使用。 *:document方法 1:.val()可以获取到文本框里面的值,若括号
响应窗体的 OnSetCursor 消息响应 鼠标移动到某空间时改变 形状 BOOL CQQBulkDlg::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message) { // TODO: 在此添加消息处理程序代码和/或调用默认值 // TODO: 在此添加消息处理程序代码和/或调用默认值 CPoint pos; GetCursorPos(&pos);  //获取当前鼠标位置 CRect rc; GetDlgItem(IDC_ ...
键盘VK键值列表 /* Virtual Keys, Standard Set*/ VK_LBUTTON                                      0x01 VK_RBUTTON                                     0x02 VK_CANCEL                                    0x03 ...
1.权限处理 1.1 方法一 使用+-=的方法 1.1.1权限 rwx r 读 w 写 x 执行 1.1.2用户 ugoa u 所有者 g 用户组 o 其他人 a 表示以上所有 修改文件的方法 例: #chmod a=rwx [文件名] //a表示all 指所有人 #chmod g ...
CWnd* h_d2 = AfxGetApp()->GetMainWnd(); //获取主窗口的句柄 h_d2-> GetDlgItem(IDC_EDIT2)->GetWindowText(strSend); //IDC_APOETRY_EDIT为编辑框的ID 转载于:https://my.oschina.net/Thekillersohot/blog/699603
Select CONCAT( 'drop table ', table_name, ';' ) FROM information_schema.tables Where table_ name LIKE 'dede_%'; "dede"为要删除的表前缀,执行此SQL语句后会生成一串SQL语句,必须再执行生成的这些SQL语句才能真正执行删除操作 ...
//写文件操作 public void writeFileData(String fileName, String message){ try{ FileOutputStream fout = openFileOutput(fileName, MODE_PRIVATE); byte[] bytes = message.getBytes(); fout.write(bytes); ...
ShellExecute(NULL,_T("open"),_T("Update.exe"),"Own",NULL,SW_HIDE); 转载于:https://my.oschina.net/Thekillersohot/blog/699600
void WriteUpdateLog(const char* strOutputString, ...) { char strBuffer[256] = {0}; SYSTEMTIME curTime; CString strTime, strMsg; FILE *pFile = NULL; //获取系统当前时间,写入日志文件 GetLocalTime(&curTime); strTime.Format("[%04d-%02d-%02d %02d:%02d:%02d.% ...
[INI]Filename: "{app}\Config\config.ini"; Section: "config";Key: "name"; String: "这里是内容" 转载于:https://my.oschina.net/Thekillersohot/blog/699598
CWnd* h_q = AfxGetApp()->GetMainWnd(); //获取主窗口的句柄 转载于:https://my.oschina.net/Thekillersohot/blog/699595
//调用新的Activity Intent intent=new Intent(MainActivity.this,Main2Activity.class); startActivity(intent); //读写配置文件 SharedPreferences mSharedPreferences=getSharedPreferences("config_name",MODE_PRIVATE); xxxxx=mSharedPreferences.getString ...
Global.asax是我们的底层文件,第一次的IIS请求都会先去执行它里面的文件,所以学会它里面的函数是非常有必要的。而且我们总是忽略这里的知识点,总觉得这是不必须的,其实我们错了,这里才是程序的根本。 文件代码: /// <summary> /// 所有的应用,状态,程序被访问,用户退出,都可以找到。, /// </summary> public class Global : System.Web.HttpApplication ...
今天是2015年10月30日 今天是周五 明天周末休息 转载于:https://my.oschina.net/Thekillersohot/blog/524125
Global site tag (gtag.js) - Google Analytics