这个都知道在哪里用,但是道理不清楚。然后google 了一下,一个比较好的解释虽然是英文,但是很经典。 1.0 is an integer constant
2.\0 is a character constant
3.NULL is a macro(宏) defined in several standard …
How to read the HTML DTD (tenfyguo注:important!!,定义了HTML的元素包含关系以及元素允许和不允许的嵌套内容等规则, 符合DTD定义的html格式称为well-formed html) Each element and attribute declaration in …
• You run the SQL Server 2000 SP3 Setup.bat file from a folder that contains double-byte character set (DBCS) characters in the folder name.
如果你把安装文件放在一个拥有双字节的名字的文件夹里就活该倒大霉。
Delphi快捷键 下面列出了大多数的快捷键。 F1 Displays context-sensitive Help F4 Run|Go to Cursor F5 Run|Toggle Breakpoint F7 Run|Trace Into F8 Run|Step Over F9 Run|Run F11 View|Object Inspector F…
这题很简单,但由于审题不清WA了很多次,太不应该
Any non-alphabetical character should remain the same, and all alphabetical characters will be upper case.
即只要不是字母就不变,
如下写法错误
if(*it || *it ,) continue;
另外&…
最近在读一段关于C AMP的Samples代码,代码里有这么一段
----------------------------------------
#ifndef UNICODE #error "DXUT requires a Unicode build. See the nearby comments for details" // // If you are using Microsoft Visual C .NET, …
我在RSS阅读器设计过程中的XML解析时遇到标签之间的文本是如下的格式: <![CDATA[我是文本]]>。 说实话我不是很大清楚这样一个表达式的作用,因此就查看了网上的说法,以下内容摘自W3School。 XML CDATA 所有 XML 文档中的文本均会被解析…
在2009年的JavaOne大会上,Joshua Bloch和Neal Gafter又为我们带来的7道谜题,挺有意思的。大家不妨看看。摘自:Return of the Puzzlers: Schlock and AweJoshua Bloch, Google, Inc.; Neal Gafter, Microsofthttp://developers.sun.com/learni…
来源:http://www.graceonlinelibrary.org/calvinism/full.asp?ID256
Myth of Free Will - Walter Chantry
Most people say that they believe in "free will." Do you have any idea what that means? I
believe that you will find a great deal …
发信人: Mars (FangQ), 信区: MathTools标 题: Compact Fortran 95 Language Summary [ZZ]发信站: 达摩BigGreen BBS (Thu Dec 12 02:42:06 2002), 站内信件
Compact Fortran 95 Language Summary This summary was extracted from various sources. It is not intended to…
名称:expr ### 字串长度 shell>> expr length "this is a test"
14 ### 数字商数 shell>> expr 14 % 9
5 ### 从位置处抓取字串 shell>> expr substr "this is a test" 3 5
is is ### 数字串 only the first character sh…
Word Lens是一款前不久推出的iOS翻译应用,支持图片中西班牙语和英语,以及法语和英语之间的互译,很适合去欧洲出差或旅行的人士。 该应用的设计原理如下:先通过光学字符识别(OCR,即Optical Character Recognition)技术&…
一 mysql设置字符集(有四处)环境(选 Best Support For Multilingualism 即UTF8),库,表,字段规则如下:库没有特别指定,就使用环境设置的字符集.表没有特别指定,就使用库设置的字符集.字段没有特别指定,就使用表设置的字符集.
一般在建表时都指定表的字符集.最好是把MYSQL环境,库…
要求:使用String类提供的方法,返回结果存放到Vector的对象中。 import java.util.*; public class StringOP { //两个参数:第一个是操作对象,第二个是用来截断字符的分隔符 public Vector getInput(String sArg,char cSep) { …
http://www.vcworld.net/news/200909/092714.html 编译错误信息 说明:Turbo C 的源程序错误分为三种类型:致命错误、一般错误和警告。其中,致命错误通常是内部编译出错;一般错误指程序的语法错误、磁盘或内存存取错误或命令行错…
Entropy
Time Limit:1000MS Memory Limit:65536K Total Submit:23 Accepted:13
Description
An entropy encoder is a data encoding method that achieves lossless data compression by encoding a message with “wasted” or “extra” information removed. In other w…
error C3872: 0x3000: this character is not allowed in an identifier
中文解释 error C3872: “0x3000”: 此字符不允许在标识符中使用
这主要出现在从文档中拷贝程序代码时,由于含有了中文字符空格而造成的。
解决方法,检查出现错误的行数的这一行…
Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the ransom note can be constructed from the magazines…
http://msdn.microsoft.com/en-us/library/ms860944.aspx Escape Sequences Character combinations consisting of a backslash (\) followed by a letter or by a combination of digits are called “escape sequences.” To represent a newline character, single quotati…
1 sourceinsight screen font 的默认字体是Verdana的,它是一直变宽字体。在Document style中可以将字体改为定宽的Courier 2 勾掉indent Open Brace和Indent Close Brace的效果: 继上一段,在相对缩进行里, 如果输入"{"或"}", …
用codeBlocks写代码时,编译时出现错误提示:"error:converting to execution character set illegal sequence".参考了网上的解答后发现,主要原因是因为MinGW是从linux下移植过来的,而linux以utf-8为内码,win…
Spell checker Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 14190 Accepted: 5226 题目链接:http://poj.org/problem?id1035
Description
You, as a member of a development team for a new spellchecking program, are to write a module…
8题只做出4题比较easy的题,而且做得挺麻烦,看来还要多练练。
AC的题如下
NEUOJ 1112 I Love Apple DescriptionSo many people love apple and there is a problem about apple.An Apple Word is a word that consists of only the letters A, P, L, …
JS常用方法 以下为web开发中常用到的js方法;收集并整理出来;简单的就不写出来了 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2<HTML> 3<HEAD> 4<TITLE> New Document </TITLE> 5&…
初学gcc的人通常会遇到这种警告:
main.c :10:2 warning: no newline at the end of file
修复这个警告,在文件结尾回车一下就行了。可以很少会有人去仔细探究,为什么gcc会给出这么一个警告?
原因其实也很简单,因为标…
使用MySQL 进行 CodeFirst 在 Context.Add的时候 , 抛出异常 The provider did not return a ProviderManifestToken string. 观察异常的 innerException : {"Variable character_set_client cant be set to the value of ucs2"} 发现无法设置 ucs2 ???…
Use Unicode Character Set与Use Multi-Byte Character Set下的编程是完全不同的,自我认为Unicode 比较让人头疼!
下面,我写了一个改变窗口标题的小程序:
BOOL CALLBACK EnumWindowProc(HWND hwnd,LPARAM lParam);void CqwDlg::…
说明:
1. 此文档基于 linux 2.6.32,TQ2440上测试通过,
2. arm-linux-gcc版本
Thread model: posix gcc version 4.3.3 (Sourcery G Lite 2009q1-203)
一. 问题描述及追踪分析
使用 rmmod时候发现如下错误
rmmod chdir no such file or directory…
Tram Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 7135 Accepted: 2583 题目链接:http://poj.org/problem?id1847
Description
Tram network in Zagrebconsists of a number of intersections and rails connecting some of them. Inevery …
select语句中只能使用sql函数对字段进行操作(链接sql server), select 字段1 from 表1 where 字段1.IndexOf("云")1; 这条语句不对的原因是indexof()函数不是sql函数,改成sql对应的函数就可以了。…
VS2005中编译出错:Error 1 error C3872: 0x3000: this character is not allowed in an identifier 源代码没有问题, 是一些网页上的非正常格式的空格在做怪,应该是字符码、格式的问题,它与VS中的字符不兼容,所以VS编…
I promise this is gonna be the last time on it :-) 自從寫完下面兩篇文章: wordpress 1.5升級注意事項 - 中文亂碼篇 mysql 4.1中文亂碼第二擊 過去幾個月就不斷有來信詢問各種 mysql 中文相容的問題,所以有機會看到許多玩家們用的各式連接法與程…
下面的所有环境都在在REDHAT LINUX9下试验的在LINUX中,要使转义符生效,需加参数-e从echo的变量开始说起如:e c h o命令输出转义符以及变量。 # echo -e "/007your home is $HOME , you are connected on tty"your home is /root …
dissertation 英音:[,disəteiʃən] 美音:[,dɪsɚteʃən] n.演讲; 一般指博士论文;论文
eg.
Ann did her dissertation on Baudelaire.
安做有关波德莱尔的博士论文。 A fascinating dissertation by Dr. Timothy Le…
1 DnsFree FunctionThe DnsFree function frees memory allocated for DNS records that was obtained using the DnsQuery function. 函数原型定义:void WINAPI DnsFree(__inout PVOID pData,__in DNS_FREE_TYPE FreeType); Parameters pData A pointer to the DNS dat…