2012年11月12日

c字符串替换strstr strncpy

摘要: #include <stdio.h> #include <string.h>int main () { char str[] ="This is a simple string"; char * pch; pch = strstr (str,"simple"); puts(pch); strncpy (pch,"sample",6); puts(pch); puts (str); retur... 阅读全文

posted @ 2012-11-12 22:49 狼爱上羊 阅读(5449) 评论(0) 推荐(0) 编辑

vc小代码

摘要: 1.获取命令行参数 LPSTR lpCmdLine=GetCommandLine(); printf("启动参数为:%s",lpCmdLine);2.遍历CStringArray数组 CStringArray a;for(int m=0;m<a.GetSize();m++){}3.动态加载DLL函数 static HINSTANCE hinstDLL; typedef BOOL (CA... 阅读全文

posted @ 2012-11-12 22:48 狼爱上羊 阅读(568) 评论(0) 推荐(0) 编辑

Windows rootkits 时代来临(英)

摘要: SecurityFocus interviews Greg Hoglund and Jamie Butler on the state of Windows rootkits and how quickly they have evolved. Watch for some detailed Infocus technical articles on the subject of rootkit... 阅读全文

posted @ 2012-11-12 22:48 狼爱上羊 阅读(287) 评论(0) 推荐(0) 编辑

开源网站大全

摘要: http://wwww.web-java.com http://www.open-open.com/ sourceforge http://www.sourceforge.net java.net http://www.java.net www.eclipse.org www.opensource.org http://strutstestcase.source... 阅读全文

posted @ 2012-11-12 22:48 狼爱上羊 阅读(399) 评论(0) 推荐(0) 编辑

我常去的编程技术网站[最近更新:2011.07.10

摘要: [序言] 其实大家都可以成为一个厉害的软件开发人员,希望大家通过了解我提供的这些网站找到自己的兴趣爱好,以增强自己的信心。 [建议] 为了能让更多的朋友看到此链接,如果大家是csdn用户,那么请选择[收藏]来收录本文章,以获得csdn的收藏排名.那么就会有更多的朋友看到了.知识是分享的......... 阅读全文

posted @ 2012-11-12 22:48 狼爱上羊 阅读(157) 评论(0) 推荐(0) 编辑

vb破解万能断点816c24

摘要: 阅读全文

posted @ 2012-11-12 22:47 狼爱上羊 阅读(237) 评论(0) 推荐(0) 编辑

sprintf函数用法

摘要: CString a("狼爱上羊"); int b=a.Find("羊"); char c[2]; sprintf(c,"%d",b); //sprintf 把格式化的数据写入某个字符串 //int sprintf ( char * str, const char * format, ... ); // 函数原型: int spri... 阅读全文

posted @ 2012-11-12 22:47 狼爱上羊 阅读(163) 评论(0) 推荐(0) 编辑

openvpn问题大全

摘要: 在win7下用openvpn一直报这个错误,配置文件里的路由一直加不上,但是可以拔得上服务器,只好手工加路由。 Thu Apr 07 23:13:51 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 192.168.0.4/255.255.255.0 on int... 阅读全文

posted @ 2012-11-12 22:46 狼爱上羊 阅读(460) 评论(0) 推荐(0) 编辑

rootkit start

摘要: FA Q : Where do I start? "Help! I'm a newbie! I need a rootkit to hack my friend's box… I want to write my own rootkit… I want to start exploiting code… Where d... 阅读全文

posted @ 2012-11-12 22:46 狼爱上羊 阅读(184) 评论(0) 推荐(0) 编辑

rundll32 回调函数

摘要: void CALLBACK RundllFuncExample(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow) { USES_CONVERSION; if (lpszCmdLine) { int nArgs = 0; // 这里用了shell api +_+ 关于这个函数请查看MSDN LPWSTR* szA... 阅读全文

posted @ 2012-11-12 22:45 狼爱上羊 阅读(203) 评论(0) 推荐(0) 编辑

A*最短路径算法的总结与心得——delphi实现

摘要: 笔记不能贴图,一天大遗憾!原理在这里讲不清楚了,好在网上有很多这多原理解讲,参看Patrick Lester先生的图文并茂的讲解,一定让你大开眼界,只是看完还是写不出好的源码。我是跟据Patrick Lester先生的C++源码改编过来的。其中有一段改的非常晦涩,完全是流氓改法,见谅! 看完Patrick Lester的文章和他的源码(C++)后... 阅读全文

posted @ 2012-11-12 22:45 狼爱上羊 阅读(4222) 评论(0) 推荐(0) 编辑

VS CRT C标准库函数strrev解析

摘要: char * t_strrev (char * string) { char *start = string; char *left = string; char ch; while (*string++) /*此时指针变量指向\0后面一个*/ ; string -= 2;//指针住前移,指向最后一个字符的指针 while (left < string) { ch = *lef... 阅读全文

posted @ 2012-11-12 22:44 狼爱上羊 阅读(362) 评论(0) 推荐(0) 编辑

导航