WCF数据服务(WCF Data Service )是.NET 
Framework的一个组件。可以使用此组件创建一些服务,利用开放式数据协议(OData)来借助具象状态传输(REST)语义通过Web或Intranet公开和使用数据。OData(Open 
Data Protocol)开放数据协议ODa...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 14:23:12   
                                阅读次数:
353
                             
                    
                        
                            
                            
                                using(FileStream stream=new 
FileStream("C:\Users\XXXXXX\Desktop\1.xls",FileMode.Open)) { HSSFWorkbook 
workbook=new HSSF...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 12:43:07   
                                阅读次数:
366
                             
                    
                        
                            
                            
                                以下代码文件以CStdioFile向无法向文本中写入中文(用notepad.exe查看不到写入的中文)CStdioFile 
file;file.Open(…);file.WriteString(_T("abc你好"));//只能写入abc解决办法:使用setlocale语句设定区域#include....
                            
                            
                                分类:
编程语言   时间:
2014-05-01 01:18:01   
                                阅读次数:
803
                             
                    
                        
                            
                            
                                目录[hide]1抽象流程:2关键实现:2.1main()函数2.2decode_thread()读取文件信息和音频包2.3stream_component_open():设置音频参数和打开设备2.4audio_callback(): 
回调函数,向SDL缓冲区填充数据2.5audio_decode_...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 00:48:04   
                                阅读次数:
325
                             
                    
                        
                            
                            
                                1. 输入数据并选择Y轴数据 2 非线性拟合Analysis—Fitting—Nonlinear 
Curve Fit—Open 
Dialog3.选择拟合曲线类型在origin7.5中选择曲线类型和表达式比较直观,8.5好像反而不太直观了。固定某个参数可在Parameters中设置。点击Fit开始拟合...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 23:04:23   
                                阅读次数:
936
                             
                    
                        
                            
                            
                                ACM    BFS     Open the Lock     hdu1195     双向BFS...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:35:21   
                                阅读次数:
359
                             
                    
                        
                            
                            
                                在windows下运行VMware创建的虚拟机时出错,无法运行。
错误提示大概为:
Failed to lock the file
Cannot open the disk 'D:\Windows Server 2008 R2 x64.vmdk' or one of the snapshot disks it depends on.
解决方法:
       把虚拟机文件夹里【.lck】...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:28:21   
                                阅读次数:
366
                             
                    
                        
                            
                            
                                paip.utf-8,unicode编码的本质输出unicode文件原理 python 
 
 
 #别的语言,java php都是unicode,走十python不一样.
 
 #enddef
 #todo write to unicode encode
fileHandle = open ( r"c:\fmtSmpEnRst.txt", 'w',encoding="UTF-16"...
                            
                            
                                分类:
编程语言   时间:
2014-04-28 10:28:42   
                                阅读次数:
374
                             
                    
                        
                            
                            
                                /*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gao.hzau;
import java.awt.Color;
import java.awt.FileDialog;
import java.awt.Font;
import j...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 21:34:04   
                                阅读次数:
492
                             
                    
                        
                            
                            
                                解题思路:
高数上的三重积分。注意:PI的精度要大些,一开始用的3.1415926通不过,精度太小,后来百度3.1415926535898。还有浮点数的除法记得*1.0。
题目中的oc = ob这条信息特别关键。
代码:
#include 
#include 
#include 
#include 
using namespace std;
#define pi 3.1415...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 21:18:00   
                                阅读次数:
387