由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Apple版 - Help!! programming problem on Mac
相关主题
Second USB monitor for iMac?CowBoom 上买的mac mini没有安装系统吗?
IPhone App Xcode 请教高人指点Apple Approves Mac App Store App with 'Retina Graphics'
MBA连上monitor了,但是风扇很吵,想搞个Mac Mini了Apple Back to School Promo Starts Tomorrow with iTunes Gift Cards: $100 for Macs, $50 for iPad
Mac mini接dual monitor的解决方案David Pogue: New iMacs and Mac Pro's Coming "Probably in 2013"
ROM-in-RAM of iMac如何恢复mac下ssd的速度?
VersionTracker.com - one-stop Mac software updateMac新广吿让人失望。
Apple Reports Third Quarter ResultsAAPL: FYQ4 NPD Mac Data Weak, in line with Street, Says Piper
App Store for Mac OS X!!New programming language.....
相关话题的讨论汇总
话题: mac话题: variables话题: some话题: problem
进入Apple版参与讨论
1 (共1页)
b****g
发帖数: 4933
1
Hi,
I am trying to write a program on mac. The program works on
PC, however, when I run it on Mac, some weird things happen.
The values of some variables keep changing. I suspect there
are at least two things related: memory allocation and
double precision. But I monitored all the memory allocation,
there are no error reported. For some double precision
variables, the values does change, but not all the
variables. I didn't use any mac toolbox or any specific
functions, and all the codes are in
f****n
发帖数: 355
2
maybe some of your variables are not initialized properly. you
know, for auto variables, they are generated dynamically. maybe
your PC compiler gives these variable a default value(probably 0)
while your Mac compiler does not.

【在 b****g 的大作中提到】
: Hi,
: I am trying to write a program on mac. The program works on
: PC, however, when I run it on Mac, some weird things happen.
: The values of some variables keep changing. I suspect there
: are at least two things related: memory allocation and
: double precision. But I monitored all the memory allocation,
: there are no error reported. For some double precision
: variables, the values does change, but not all the
: variables. I didn't use any mac toolbox or any specific
: functions, and all the codes are in

1 (共1页)
进入Apple版参与讨论
相关主题
New programming language.....ROM-in-RAM of iMac
[Mac Dev]整了个ObjectiveC的笔记,看看气氛对得上不VersionTracker.com - one-stop Mac software update
SL开大的图片真的快了好多啊。Apple Reports Third Quarter Results
idb problem (转载)App Store for Mac OS X!!
Second USB monitor for iMac?CowBoom 上买的mac mini没有安装系统吗?
IPhone App Xcode 请教高人指点Apple Approves Mac App Store App with 'Retina Graphics'
MBA连上monitor了,但是风扇很吵,想搞个Mac Mini了Apple Back to School Promo Starts Tomorrow with iTunes Gift Cards: $100 for Macs, $50 for iPad
Mac mini接dual monitor的解决方案David Pogue: New iMacs and Mac Pro's Coming "Probably in 2013"
相关话题的讨论汇总
话题: mac话题: variables话题: some话题: problem