头文件: #include GetModuleFileNameA()char moduleFileName[MAX_PATH]; GetModuleFileNameA(0, moduleFileName, MAX_PATH);取得的路径为:c:\Documents and Settings\...
分类:
其他好文 时间:
2014-07-23 16:47:41
阅读次数:
369
# include int main(void){ int x, y,temp; int r; printf("请输入两个正整数:\n"); scanf("%d %d", &num1, &num2); r = num1 % num2; temp = num2; while(r!=0) { nu...
分类:
系统相关 时间:
2014-07-23 15:16:56
阅读次数:
267
The server file is created when you install TortoiseSVN, Eclipse or command-line Subversion. Use the appropriate path from the installation folder to ...
分类:
其他好文 时间:
2014-07-23 15:15:56
阅读次数:
292
OutputStream out = System.out; OutputStreamWriter osw = new OutputStreamWriter(out); BufferedWriter w = new BufferedWriter(osw); osw.write(line.toUppe...
分类:
其他好文 时间:
2014-07-23 15:05:46
阅读次数:
201
document.write()和document.writeln()有什么区别解决思路: 两者都是JavaScript向客户端输出的方法,对比可知写法上的差别是一个ln--line的简写,换言之,writeln 方法是以行输出的,相当于在 winte 输出后加上一个换行符。具体步骤:1.打开一个....
分类:
其他好文 时间:
2014-07-23 14:54:36
阅读次数:
505
nginx 默认不支持PATH_INFO 那么不能正常使用CI。 更改nginx.conf 配置 server { listen 80; server_name localhost; index index.php index.html index.htm; root /Users/renfrank/Sites/; location ~ \.php{ fa...
分类:
其他好文 时间:
2014-07-23 14:01:36
阅读次数:
243
http://write.blog.csdn.net/postedit...
分类:
其他好文 时间:
2014-07-23 13:17:08
阅读次数:
256
PathView ,顾名思义,沿着特定的路径显示 Model 内的数据。 Model 可以是 QML 内建的 ListModel 、 XmlListModel ,也可以是在 C++ 中实现的 QAbstractListModel 的派生类。
PathView 恐怕是 Qt Quick 提供的 Model-View 类库中最复杂也最灵活的一个了。...
分类:
其他好文 时间:
2014-07-23 13:06:56
阅读次数:
413
Android中的WiFi P2P能够允许一定范围内的设备通过Wifi直接互连而不必通过热点或互联网。Wi-Fi Alliance's
Wi-Fi Direct?...
分类:
移动开发 时间:
2014-07-23 13:04:46
阅读次数:
308
最近在测试通过http delete method传参数调用服务端方法,遇到了java.net.ProtocolException: DELETE does not support writing try { url = new URL(path); HttpURLConnectio...
分类:
编程语言 时间:
2014-07-23 12:45:56
阅读次数:
369