cnCalc计算器论坛

 找回密码
 注册
搜索
查看: 9614|回复: 29

[fx-9860/9750] 预告:9750GII:猜猜我想干什么II

[复制链接]
发表于 2010-8-24 08:17:04 | 显示全部楼层 |阅读模式
先按下[EXE]……
100_5382.JPG
之后显示:
100_5378.JPG
退出,修改参数
100_5384.JPG
再次按下[EXE]……
100_5385.JPG
然后:
100_5386.JPG
我用四则运算方法,解决了判断二进制某一位的问题,先卖个关子……
 楼主| 发表于 2010-8-24 08:55:36 | 显示全部楼层
又没人理我……j_0009.gif
发表于 2010-8-24 09:41:50 | 显示全部楼层
j_0013.gif什么方法?
 楼主| 发表于 2010-8-24 09:45:56 | 显示全部楼层
我原来不是发过吗?
 楼主| 发表于 2010-8-24 10:04:05 | 显示全部楼层
你是说判断二进制某位的方法?简单,不用位运算or就可以
比如24的第4位
(24 =>BIN 11000)
第一步,24 / (2 ^(4-1)),相当于24>>3(C语言操作符)
第二步,24 / (2 ^(4-1))=3,判断3是否是奇数(Mod(3,2)=1)
3是奇数,所以24第三位是1.
(当位移后第一位是1时,这个数必定是奇数)
发表于 2010-8-24 11:23:59 | 显示全部楼层
句号句号句号句号句号句号句号句号句号句号
要是内存能在扩大一点,文字能放多一点就更好了。
相比nspire的鸡肋仿宋。。
这个字体好看得多得多得多得多得多得多得多得多得多
发表于 2010-8-24 11:47:57 | 显示全部楼层
真不错!希望近期可以提供示例程序!
 楼主| 发表于 2010-8-24 11:53:01 | 显示全部楼层
"想知道卡西欧图形计算器是如何显示中文的吗?"这个字符串储存在List 1中
这21个字符一共就占了12*21=252个“数字”
100_5394.JPG
我不觉得多占内存?
发表于 2010-8-24 11:56:25 | 显示全部楼层
好主意,不过对SDK编程没帮助
 楼主| 发表于 2010-8-24 11:58:16 | 显示全部楼层
好主意,不过对SDK编程没帮助
yzhang37 发表于 2010-8-24 11:56

why?SDK不是用C语言编程的么?
把数据存在整形数组中不行吗?
发表于 2010-8-24 11:59:15 | 显示全部楼层
why?SDK不是用C语言编程的么?
把数据存在整形数组中不行吗?
diameter 发表于 2010-8-24 11:58
这样也许不错STORAGE的空间可大得很
发表于 2010-8-24 12:03:23 | 显示全部楼层
只能用:

  1. const int calc[11][59]={
  2. {0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,1,1,1,1,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0},
  3. {0,0,1,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,1,1,1,1,1,0,0,1,0,0,1,0,1,0,0,1,0,0,0,0,1,0,0,0,1,1,0,0,0,0,0,0,1,0,0,1,1,1,1,1,0},
  4. {0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,1,0,0,1,0,0,0,0,1,0,0,1,0,1,0,0,1,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0},
  5. {0,0,0,0,0,0,0,1,0,0,0,0,1,0,1,1,1,1,1,1,1,0,0,0,0,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,1,0,0,0,0,1,0,0,1,1,1,1,0,0,0,0,0,0,0},
  6. {1,1,0,0,1,1,1,1,1,1,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,1,1,1,1,0,1,0,0,0,0,1,0,0,0,1,0,1,1,1,1,1,1,1},
  7. {0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,1,0,0,1,0,0,0,0,0,1,0,0,0,0,1,0,0,0},
  8. {0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0},
  9. {0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,0,1,1,1,1,1,0,0,1,0,0,0,1,1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0},
  10. {0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,1,0,1,0,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,0,0,0,1,1,0,0,1,0,0,1,0},
  11. {0,1,1,0,0,0,0,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,1,0,1,0,0,1,0,0,0,1,1,0,0,1,0,0,0,1,0,0,1,1,0,0,0,1,0,0,0,0,1},
  12. {0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,1,1,1,1,0,0,0,1,0,0,0,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1}};
复制代码
 楼主| 发表于 2010-8-24 12:03:41 | 显示全部楼层
不过现在问题是绘图速度太慢(否则我就要放弃控制结构了)
发表于 2010-8-24 12:05:05 | 显示全部楼层
SDK速度非常快。这张图绘制出来不需要0.01秒
发表于 2010-8-24 12:35:10 | 显示全部楼层
9750GII的速度算快了。
 楼主| 发表于 2010-8-24 12:38:14 | 显示全部楼层
只能用:

const int calc[11][59]={
{0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,1,1,1,1,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0},
{0,0,1,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,1,1, ...
yzhang37 发表于 2010-8-24 12:03

晕死
我的方法就是用二进制表示每一行,12个数字表示一个字符!
比如:character ”想“
const int cc_xiang []= {636,580,4092,580,1916,2756,636,0,1348,1322,2552,0};
然后用相应的算法就可以解决了!!
发表于 2010-8-24 12:55:25 | 显示全部楼层
你们把小看SDK的本领了。
SDK的文件格式是g1A,是图形计算器程序无法比的

你们觉得GII自然计算快吗?这就是用SDK编写的,如果用程序就慢的多了
发表于 2010-8-24 13:10:21 | 显示全部楼层
给大家看个图:
expo.PNG
 楼主| 发表于 2010-8-24 15:25:03 | 显示全部楼层
至于么?一个Int型在16位的机子下占用2字节,
比如512*512的地图,你需要512*512*2=524288个字节
而如果用512/16=32个数字表示一行,需要16384个字节
很节约!
发表于 2010-8-24 15:58:41 | 显示全部楼层
仔细说下方法好么?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cnCalc计算器论坛

GMT+8, 2024-12-22 10:23 , Processed in 0.068511 second(s), 25 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表