现在位置: 首页 > pulpit发表的所有文章
  • 10月
  • 07日
综合 ⁄ 共 535字 评论关闭
 BE.pinvoke is the PINVOKE.NET Add-In for Visual Studio 2005. I failed getting the old PINVOKE Add-In to work with VS 2005, so i wrote my own from the scratch. The UI looks very similar to original PINVOKE.NET Addin for Visual Studio 2003 (1.0), but it is totally new designed and it takes advantage from the new features of the .NET Framework 2.0. Have fun inserting PInvoke signatures into your Visual Studio Project. BE.pinoke - Visual Studio 2005 的P/invoke插件。这个插件可以方便的在你的代......
阅读全文
  • 04月
  • 15日
综合 ⁄ 共 2037字 评论关闭
之前在博文里面说过不能同时将一个resource的shader resource view和unordered access view绑定到pipeline。本来想说这种sb行为估计也没人会犯错。但是今天才发现防不胜防,当系统一大起来,算法复杂起来,就会不经意的犯这种错误了。 首先看看SDK对同时绑定两个view时(先用CSSetUnorderedAccessView绑定到output slot,再用CSSetShaderResourceView绑定到input slot)系统会做的反应的解释: ID3D11DeviceContext::CSSetShaderResources  If an overlapping resource view is already bound to an output slot, such as a render......
阅读全文
  • 03月
  • 06日
操作系统 ⁄ 共 1305字 评论关闭
在Linux下有一个功能强大的软件安装卸载工具,名为RPM。它可以用来建立、安装、查询、更新、卸载软件。该工具是在命令行下使用的。在 Shell的提示符后输入rpm,就可获得该命令的帮助信息。Linux软件的安装和卸载一直是困扰许多新用户的难题。在Windows中,我们可以使用 软件自带的安装卸载程序或在控制面板中的“添加/删除程序”来实现。 linux下软件的安装: Linux下软件的安装主要有两种不同的形式。第一种安装文件名为xxx.tar.gz;另一种安装文件名为xxx.i386.rpm。以第一种方式发行的软件多为以源码形式发送的;第二种方式则......
阅读全文
  • 02月
  • 18日
综合 ⁄ 共 2339字 评论关闭
Problem Description Given a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let’s say the phone catalogue listed these numbers: 1. Emergency 911 2. Alice 97 625 999 3. Bob 91 12 54 26 In this case, it’s not possible to call Bob, because the central would direct your call to the emergency line as soon as you had dialled the first three digits of Bob’s phone number. So this list would not be consistent.   Input The first line of in......
阅读全文
  • 11月
  • 08日
综合 ⁄ 共 7529字 评论关闭
转载请注明出处:http://blog.csdn.net/sprintfwater/article/details/7913181 Dinic算法 Accepted 1532 15MS 280K 2468 B C++ SpringWater 可能是数据比较水吧,居然和sap算法一个时间效率,这个算法算是最差的了。当然相对与DFS来说还是要强得多 这个算法的基本思想:每次求可达路径都根据刚分好层的图,从src一层层的递增找到des,之后有一次分层, 又深搜。没有gap优化,cur优化,和没有利用insert来避免每次都分层(即当前弧优化)。 总结者:SpringWater(GHQ) #include<stdio.h> #include<string.h> #def......
阅读全文
本人有设计、程序、体验等洁癖,请不要跟我计较哦,谢谢! 智联招聘当你投递一个简历之后你可以看到其他人投过这个职位的人还投过啥职位,这一点个人觉得非常人性化,很喜欢。 但是根本不能知道投过的是哪家公司的简历,就一个职位的描述标题(能加个公司不,后面还有超多的位置,不存在排版问题的),这点觉得不人性,如下图: 这里还有一个问题,有些你显示个标题也就不说了, 不是给领导使用的报表软件就不应该人性化吗?我是不能接受的,你们能不能接受我不管.....
阅读全文
  • 05月
  • 05日
综合 ⁄ 共 2777字 评论关闭
http://shop59544428.taobao.com/ 一,什么是Servlet? Servlet是一个Java编写的程序,此程序是基于Http协议的,在服务器端运行的(如tomcat),   是按照Servlet规范编写的一个Java类。 二,Servlet有什么作用? 主要是处理客户端的请求并将其结果发送到客户端。 三,Servlet的生命周期? Servlet的生命周期是由Servlet的容器来控制的,它可以分为3个阶段;初始化,运行,销毁。 初始化阶段: 1,Servlet容器加载servlet类,把servlet类的.class文件中的数据读到内存中。 2,然后Servlet容器创建一个ServletConfig对象。Servlet......
阅读全文
  • 04月
  • 29日
综合 ⁄ 共 4221字 评论关闭
这里有些sscanf()的一些使用说明,都是从论坛,Blog里整理出来的。供大家使用。     通过学习和使用个人认为,在字符串格式不是很复杂,但是也并不简单的时候用这个函数比较合适,这个尺度就要靠自己把握了,字符串不是很复杂,但自己写个处理的函数比较麻烦,效率也不高,就用这个函数,如果字符串很复杂,那就用正则表达式吧。  不多说了,看看下面这些介绍和列子吧! 名称:sscanf() - 从一个字符串中读进与指定格式相符的数据.  函数原型:  Int sscanf( string str, string fmt, mixed var1, mixed var2 ... );  int scanf( c......
阅读全文
  • 04月
  • 24日
综合 ⁄ 共 4510字 评论关闭
hdu 2451 Simple Addition Expression Problem Description A luxury yacht with 100 passengers on board is sailing on the sea in the twilight. The yacht is ablaze with lights and there comes out laughers and singing from the hall where an evening party is in full swing. People are singing, dancing and enjoying themselves. The yacht is equipped with the most advanced navigation and driving system which can all be manipulated by a computer. When the captain notices that there is only gentle ......
阅读全文
  • 04月
  • 15日
综合 ⁄ 共 718字 评论关闭
Planning.  I like linux. And love it's environment.  I had told a friend that linux can give me a better way to learn, learning everything about computer.  But in real circumstance, It's easy to have a job based on windows. And I think I can earn more money in windows than linux. I wish I can live in linux forever.      In linux, everything is logic presented in codes, everything can be expressed by characters. It's a home, for programmers. I'm wandering that I'll write codes for windows ......
阅读全文
  • 02月
  • 20日
综合 ⁄ 共 132字 评论关闭
本人目前大三,本专业是计算机科学与技术专业,马上进行考研了,老师推荐我研究生专业是计算机视觉与图像处理方向,本科阶段从来没有接触过。想问一下该方向的就业前景如何,因为对科研研究没有兴趣,所以研究生毕业就工作。希望各位大牛们、前辈们给些建议~~~~~~~~~~谢谢啦
阅读全文
  • 02月
  • 18日
综合 ⁄ 共 991字 评论关闭
本博客编写的软件环境如下  操作系统: win7  ArcGIS版本 10.1 数据库: postgresql-9.0.6-1-windows-x64  以及连接postgresql数据库的32位客户端的5个dll 下载地址(libeay32.dll,libiconv-2.dll,libintl-8.dll,libpq.dll,ssleay32.dll)。          之前写在线编辑的Demo,用到的SDE是存储在开源的Postgresql数据库中的,本篇主要是介绍关于PostgesSql的安装以及通过ArcGIS 10.1 for  Desktop 来 创建并连接数据库。这里选择我安装的postgresql-9.0.6-1-windows-x64 ,为了能够让ArcGIS Server来连接我们的数据库,我们选择......
阅读全文