Contents Chapter 1: The Microsoft Developer Studio The Microsoft Developer Studio The Project Workspace Project Workspace Window Project Configurations Managing Complex Projects Project Settings Converting Projects Source Code Files Resource scr ipt
Preface xxi 1 Number Systems 1 1.1 Analogue Versus Digital 1 1.2 Introduction to Number Systems 2 1.3 Decimal Number System 2 1.4 Binary Number System 3 1.4.1 Advantages 3 1.5 Octal Number System 4 1.6 Hexadecimal Number System 4 1.7 Number Systems
// ============================================================================= // FILE: StdString.h // AUTHOR: Joe O'Leary (with outside help noted in comments) // // If you find any bugs in this code, please let me know: // // jmoleary@earthlink.
Option Explicit Public Const REG_NONE = 0 ' No value type Public Const REG_SZ = 1 ' Unicode nul terminated string Public Const REG_EXPAND_SZ = 2 ' Unicode nul terminated string Public Const REG_BINARY = 3 ' Free form binary Public Const REG_DWORD =
该语法文件显示一些Python运算符和内置函数的Unicode字符,从而改变了以下内容:
map ( lambda x : x , [ 1 , 2 , 3 ])
def foo ( e , a ):
if e in [ 1 , 2 , 3 ] and not a :
return math . sqrt ( math . pi )
else :
return sum ([ 1 , 2 , 3 ])
UnicodePlot-通过Unicode字符绘制数据
UnicodePlot提供了使用Unicode字符制作图表的功能。
安装
$ gem install unicode_plot
用法
require 'unicode_plot'
x = 0 . step ( 3 * Math :: PI , by : 3 * Math :: PI / 30 )
y_sin = x . map { | xi | Math . sin ( xi ) }
y_cos = x . map { | xi | Mat