LittleBear

乱世之小熊

C++博客 首页 新随笔 联系 聚合 管理
  19 Posts :: 0 Stories :: 0 Comments :: 0 Trackbacks

2010年5月20日 #

http://www.xplus.com/iphone/rmyd/v1.html
posted @ 2010-05-20 13:28 LittleBear 阅读(343) | 评论 (0)编辑 收藏

 

Enjoy free sample eBooks including entire books and preview chapters from leading publishers. Clicking on Read and Install will install Adobe Digital Editions software if needed.

The Adventures of Sherlock Holmes
Gutenberg Foundation
EPUB eBook - English
1.0Mb
Download
Trail of Crumbs: Hunger, Love, and the Search for Home (Chapter 1)
Grand Central Publishing
EPUB eBook - English
396Kb
Download
The Goodbye Summer
HarperCollins
PDF eBook - English
1.06Mb
Download
Tony Hillerman E-Reader
HarperCollins
PDF eBook - English
1.25Mb
Download
Death and the Senator
RosettaBooks
EPUB eBook - English
1.0Mb
Download
The Father Thing
RosettaBooks
EPUB eBook - English
1.0Mb
Download
Thirteen Moons
Random House
EPUB eBook - English
1.0Mb
Download
God Is A Salesman: Lean from the Master (Chapter 1)
Center Street
EPUB eBook - English
100Kb
Download
Daisy Miller
Public Domain
PDF eBook - English
802 Kb
Download
Dracula
Public Domain
PDF eBook - English
1.18 Mb
Download
My Antonia
Public Domain
PDF eBook - English
851 Kb
Download
Hot (Chatper 1)
Forever
EPUB eBook - English
200 Kb
Download
The Side of Paradise
Public Domain
PDF eBook - English
1.2 Mb
Download
The Princess Diaries
HarperCollins
PDF eBook - English
424 Kb
Download
Jinx The Black Cat Activity Book
Self-published
PDF eBook - English
1.48 Mb
Download
Voyage autour de ma chambre
FeedBooks
PDF eBook - French
192 Kb
Download
La Chartreuse de Parme
FeedBooks
EPUB eBook - French
520 Kb
Download
Les Diaboliques
FeedBooks
EPUB eBook - French
292 Kb
Download
20,000 Lieues Sous les Mers
FeedBooks
PDF eBook - French
520 Kb
Download
Boule de suif
FeedBooks
PDF eBook - French
340 Kb
Download
Der ProzeB
FeedBooks
EPUB eBook - German
236 Kb
Download
Boule de suif
FeedBooks
PDF eBook - French
340 Kb
Download
Der Schimmelreiter
FeedBooks
PDF eBook - German
516 Kb
Download
Isabella von Aegypten
FeedBooks
PDF eBook - German
528 Kb
Download
20.000 Mijlen onder zee
FeedBooks
EPUB eBook - Dutch
588 Kb
Download
Historia de la vida del Buscon
FeedBooks
EPUB eBook - Spanish
238 Kb
Download
El ingenioso hidalgo Don Quijote de la Mancha
FeedBooks
PDF eBook - Spanish
2.01 Mb
Download

posted @ 2010-05-20 11:48 LittleBear 阅读(183) | 评论 (0)编辑 收藏

2010年4月7日 #

JDK安装
环境变量设置
java_home="c:\java\jdk1.6.0_16"
path
+="%java_home%\bin;%java_home%\jre\bin"
classpath
=".;%java_home%\lib\dt.jar;%java_home%\lib\tools.jar"
安装验证
java -version
程序验证
编辑文件HelloWorld.java
public class HelloWorld{
    
public static void main(String args[]) {
        System.out.println(
"Hello World!");
    }
}
javac HelloWorld.java
java HelloWorld
Tomcat安装
解压缩
环境变量
CATALINA_HOME="c:\tomcat"
CATALINA_BASE
="c:\tomcat"
TOMCAT_HOME
="c:\tomcat"
classpath+=" %CATALINA_HOME%\lib\servlet-api.jar"
安装运行
c:\tomcat\bin\下添加tomcatmonitor快捷方式
tomcat6w.exe //MS//Tomcat6
运行service install安装服务
运行tomcatmonitor.bat启动服务
安装验证
http://localhost:8080
jsp验证
在c:\tomcat\webapps\下建目录myapp
下建目录WEB-INF
在c
:\tomcat\webapps\myapp\WEB-INF\下建文件web.xml
<?xml version="1.0"  encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
    
<display-name>My Web Application</display-name>
    
<description>A application for test.</description>
</web-app> 
在c:\tomcat\webapps\myapp\下建文件index.jsp
<html>
    
<body>
        
<center>Now time is: <%=new java.util.Date()%></center>
    
</body>
</html>
重启Tomcat
http://localhost:8080/myapp/index.jsp
Eclipse安装
解压c:\eclipse
配置
启动eclipse
进入window
->perference
选择java
->Installed JRES
选择正确的jre环境
点击编辑
,
Add External JARS 添加c
:\tomcat\lib\下的servlet.jar,el-api.jar,jasper.jar 和 jsp-api.jar四个文件

建立自己的Servlet
在c:\tomcat\webapps\myapp\WEB-INF\classes\test 下 建HelloWorld.java
package test;

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class HelloWorld extends HttpServlet
{
   
public void doGet(HttpServletRequest request,HttpServletResponse response) throws ServletException,IOException
    {
        response.setContentType(
"text/html");
        PrintWriter out 
= response.getWriter();
        out.println(
"<html><head><title>");
        out.println(
"This is my first Servlet");
        out.println(
"</title></head><body>");
        out.println(
"<h1>Hello,World!</h1>");
        out.println(
"</body></html>");
    }
}
javac HelloWorld.java
打开C:\Tomcat\webapps\myapp\WEB-INF\web.xml
在<web-app></web-app>添加下面这段程序:
<servlet>
    
<servlet-name>HelloWorld</servlet-name>
    
<servlet-class>test.HelloWorld</servlet-class>
</servlet>
<servlet-mapping>
    
<servlet-name>HelloWorld</servlet-name>
    
<url-pattern>/HelloWorld</url-pattern>
</servlet-mapping>
重启tomcat
http://localhost:8080/myapp/HelloWorld
建立自己java Bean
在c:\tomcat\webapps\myapp\WEB-INF\classes\test\下建立TestBean.java
package test;
public class TestBean
{
    
private String name =null;
    
public TestBean(String nameInit){
        
this.name = nameInit;
    }
    
public void setName(String newName){
        
this.name=newName;
    }
    
public String getName(){
        
return this.name;
    }
}
javac TestBean.java
在c:\tomcat\webapps\myapp\下新建一个新的jsp文件testBean.jsp
<%@ page import="test.TestBean" %>
<html>
    
<head>
    
<title>Test Bean</title>
    
</head>
    
<body>
        
<center>
<%
    TestBean testBean 
= new TestBean("Http://yexin218.cublog.cn");
 
%>
Java Bean Test:
    The author's blog address is 
<%=testBean.getName()%>
        
</center>
    
</body>
</html>
重启tomcat
http://localhost:8080/myapp/testBean.jsp
虚拟目录
打开c:\tomcat\conf\server.xml 文件,在 <Host> 和 </Host> 之间加入
<Context path="/myapp" docBase="c:\myapp" debug="0" reloadable="true" crossContext="true" />

posted @ 2010-04-07 19:08 LittleBear 阅读(238) | 评论 (0)编辑 收藏

epub-tools
http://epub-tools.googlecode.com/svn

posted @ 2010-04-07 14:54 LittleBear 阅读(227) | 评论 (0)编辑 收藏

2010年3月16日 #

TextSharp Tutorial
http://itextsharp.sourceforge.net/tutorial/index.html
iTextSharp 使用详解(转)
http://www.cnblogs.com/islands/archive/2008/06/27/1231288.html
posted @ 2010-03-16 09:05 LittleBear 阅读(189) | 评论 (0)编辑 收藏

2010年1月4日 #

WINCE ARM Datatype misalignment 问题
http://www.cnitblog.com/wjk98550328/archive/2009/03/22/55629.html
fatal error LNK1112: 模块计算机类型“THUMB”与目标计算机类型“ARM”冲突
http://linxy18.blog.163.com/blog/static/93462858200911213918209/
posted @ 2010-01-04 09:45 LittleBear 阅读(154) | 评论 (0)编辑 收藏

2009年12月19日 #

Win7加管理员权限
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\
*\shell\runas]
@
="管理员授权"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\
*\shell\runas\command]
@
="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\exefile\shell\runas2]
@
="管理员授权"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\exefile\shell\runas2\command]
@
="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@
="管理员授权"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@
="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t" 
posted @ 2009-12-19 05:44 LittleBear 阅读(915) | 评论 (0)编辑 收藏

2009年11月25日 #

C的xml编程-libxml2
http://blog.chinaunix.net/u1/56834/showart_441723.html
C++ string详解
http://read.newbooks.com.cn/info/119627.html
libxml tutorial中文版
http://www.lslnet.com/linux/dosc1/06/linux-137224.htm
Boost库的编译
http://www.cppprog.com/2009/0112/48.html
Win32 Dll编程详解
http://www.cnblogs.com/smartstone/archive/2007/04/11/709267.html
COM 组件设计与应用
http://www.vckbase.com/vckbase/columnist/yangfeng/
使用doxygen为C/C++程序生成中文文档
http://blog.csdn.net/fmddlmyy/archive/2007/06/23/1663898.aspx
xmlInitParser 和 xmlCleanupParser 使用详解
http://blog.csdn.net/Gavin_Han/archive/2007/09/21/1795032.aspx
FTP WinApi 函数详解
http://blog.chinaunix.net/u/22170/showart_475682.html
c字节对齐
http://blog.chinaunix.net/u2/76292/showart_1327413.html
posted @ 2009-11-25 10:09 LittleBear 阅读(317) | 评论 (0)编辑 收藏

2009年11月21日 #

基于MFC文档/视/框架程序
http://blog.csdn.net/yuntongsf/archive/2009/06/10/4258225.aspx
MFC应用程序中指针的使用
http://www.vckbase.com/document/viewdoc/?id=658
轻松玩转MFC文档视图架构编程
http://soft.yesky.com/lesson/100/2342100.shtml
跟踪一个MFC MDI的应用程序
http://www.diybl.com/course/3_program/c++/cppjs/2008619/126658.html
一步一步创建VC2005解决方案
http://blog.csdn.net/starlee/archive/2007/09/03/1769755.aspx
posted @ 2009-11-21 09:51 LittleBear 阅读(196) | 评论 (0)编辑 收藏

VC2008 mfc90ud.dll无法找到
项目属性->配置属性->链接器->调试->生成映射文件 选择 Yes (/MAP) 
CScrollView中OnInitialUpdate()没调用
在CxxxView类的构造函数内加上
CSize size(0,0);
SetScrollSizes(MM_TEXT,size);
这个是因为窗口一开始就最大化造成的 
遍历MDI
CWinApp *pWinApp = AfxGetApp();
POSITION posDocTemplate 
= pWinApp->GetFirstDocTemplatePosition();
while(posDocTemplate != NULL)
{
    CDocTemplate 
*pDocTemplate = pWinApp->GetNextDocTemplate(posDocTemplate);
    POSITION posDocument 
= pDocTemplate->GetFirstDocPosition();
   
while(posDocument != NULL)
    {
        CDocument 
*pDocument = pDocTemplate->GetNextDoc(posDocument);
        POSITION posView 
= pDocument->GetFirstViewPosition();
       
while(posView != NULL)
        {
            CView 
*pView = pDocument->GetNextView(posView);
            CFrameWnd 
*pFrameWnd = pView->GetParentFrame();
        }
    }
}

posted @ 2009-11-21 08:50 LittleBear 阅读(147) | 评论 (0)编辑 收藏

仅列出标题  下一页