`
sjgau
  • 浏览: 95765 次
  • 性别: Icon_minigender_1
  • 来自: 台灣省 台北市
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

integer 到底是 2 or 4 個 bytes?

阅读更多
cpp 代码
  1. ! --- main() ---   
  2. implicit none   
  3.   
  4. ! integer 到底是 2 or 4 個 bytes?   
  5. ! Ans: > 32767, 所以是 4 個 bytes   
  6. integer no   
  7.   
  8. no= 10   
  9. do while (no .GT. 0)   
  10.    no= no + no + no   
  11.    print *, 'no= ', no   
  12. end do  
  13.   
  14. print *, '   '   
  15. print *, 'no= ', no   
  16.   
  17. end   
  18. ! -----------------------------------------------   
分享到:
评论

相关推荐

    OCI Programmer's Guide

    If the number being returned from Oracle Database is not an integer, the fractional part is discarded, and no error or other indication is returned. If the number to be returned exceeds the capacity ...

    Oracle 汉字转全拼 拼音首字母

    create or replace function f_getFirstOrFullSpell(p_cnStr In varchar2,p_sign In number default null) return varchar2 as lv_spell varchar2(200); lv_temp Varchar2(10); lv_char varchar2(10); --lv_...

    纯英文版 C-FAQ chm

    If well-defined overflow characteristics are important and negative values are not, or if you want to steer clear of sign-extension problems when manipulating bits or bytes, use one of the ...

    rpi_hal 树莓派的IO控制 pascal版代码

    功能强大,直接虐死wiringPi的树莓派IO之pascal代码,包括GPIO,I2C,PWM等控制。 rpi_hal-Hardware Abstraction Library (GPIO, I2C and SPI functions and procedures) This Unit with around 1700 Lines of Code ...

    语言程序设计课后习题答案

    2-18 编写一个程序,运行时提示输入一个数字,再把这个数字显示出来。 解: 源程序: #include <iostream.h> int main() { int i; cout 请输入一个数字:"; cin >> i; cout 您输入一个数字是" ; return 0; } 程序...

    Itanium Architecture For Programmers

    Chapter 2. Computer Structures and Data Representations Section 2.1. Computer Structures Section 2.2. Instruction Execution Section 2.3. Classes of Instruction Set Architectures Section 2.4. ...

    断点续传下载

    这两个函数 function app_path1:string; function socket_rec_line1(socket1:TCustomWinSocket;timeout1:integer;crlf1:string=#13#10):string; 实际上是我的一个公用单元中的函数,大家应该养成建立自己的...

    python3.6.5参考手册 chm

    PEP 461 - percent formatting support for bytes and bytearray PEP 484 - Type Hints PEP 471 - os.scandir() function – a better and faster directory iterator PEP 475: Retry system calls failing with ...

    ELDK使用与开发手册

    Bytes transferred = 155376 (25ef0 hex) => protect off 40000000 4003FFFF Un-Protected 5 sectors => era 40000000 4003FFFF Erase Flash from 0×40000000 to 0x4003ffff ……… done Erased 5 sectors => cp.b ...

    delphi与java 加密解密 DES/CBC/PKCS5Padding

    @Continue: //handle remaining bytes (3 or less) pop ecx and ecx, 3 jz @Done @Loop2: //xor remaining bytes mov al, [edi] xor [esi], al inc esi inc edi dec ecx jnz @Loop2 @Done: pop edi pop...

    php.ini-development

    Integer = Enables the buffer and sets its maximum size in bytes. ; Note: This directive is hardcoded to Off for the CLI SAPI ; Default Value: Off ; Development Value: 4096 ; Production Value: 4096 ; ...

    DIBSection Class VB

    Here are the declares you need: <br> Private Type BITMAPINFOHEADER '40 bytes biSize As Long biWidth As Long biHeight As Long biPlanes As Integer biBitCount As Integer ...

    Using DIB Sections in VB

    Here are the declares you need: <br> Private Type BITMAPINFOHEADER '40 bytes biSize As Long biWidth As Long biHeight As Long biPlanes As Integer biBitCount As Integer ...

    (重要)AIX command 使用总结.txt

    ssaxlate -l hdisk3 //逻辑磁盘hdisk3包含4个物理磁盘pdisk4,pdisk6,pdisk5,pdisk7 pdisk4 pdisk6 pdisk5 pdisk7 ssaxlate -l pdisk0 //物理磁盘pdisk0从属于逻辑磁盘hdisk2 hdisk2 ## 查看SSA磁盘阵列中pdisk与...

    大名鼎鼎SWFUpload- Flash+JS 上传

     在发行包(SWFUpload v2)中含有2个版本的Flash控件(swfupload_f8.swf 与wfupload_f9.swf),其中第一个版本拥有最佳的兼容性,但是为此损失了部分功能;而第二个版本提供了一些附加的功能但是损失了兼容性。 ...

    ap6212a0_a33_sc3817r_服务器验证通过_bt已经通了_wifi需要修改配置_需要再次验证_20170626_1549.7z

    [ 4.040272] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 4.048780] ThumbEE CPU extension supported. [ 4.053550] Registering SWP/SWPB emulation handler [ 4.059269] [rfkill]...

    ap6212a0_a33_sc3817r_神舟验证版本_借用nvram_ap6210这个配置文件_20170626_1834没有外层目录.7z

    [ 4.040272] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 4.048780] ThumbEE CPU extension supported. [ 4.053550] Registering SWP/SWPB emulation handler [ 4.059269] [rfkill]...

    Sosoo 1.0网络爬虫程序.doc

    * @param status an integer describing the current status * constants defined in HttpTool * @see HttpTool */ void setHttpToolStatus(int status); 系统提供了SystemOutHttpToolCallback默认实现。 五....

    VBA API 32 Serialport MT-SICS

    Const LINE_DTR = 2 Const LINE_RTS = 3 ' Input Control Lines (CommGetLine) Const LINE_CTS = &H10& Const LINE_DSR = &H20& Const LINE_RING = &H40& Const LINE_RLSD = &H80& Const LINE_CD = &H80& '-------...

    数位板压力测试

    This specification is intended to be an open standard, and as such the text and information contained herein may be freely used, copied, or distributed without compensation or licensing restrictions. ...

Global site tag (gtag.js) - Google Analytics