c*i 发帖数: 749 | 1 If I want to open a file for reading and appending, should the mode be "a+"?
My colleague uses "ar". But I think it's not right. |
|
M**********n 发帖数: 432 | 2 I think both modes are OK.
"? |
|
b***y 发帖数: 2799 | 3 ☆─────────────────────────────────────☆
birdsman (birdsman) 于 (Mon Mar 24 03:30:52 2008) 提到:
VS2005下面很简单的一段代码,
ofstream os("f", ios::binary);
float iii = 7.00001;
os << iii;
os.close();
结果得到的文件f有7个字节,显然是text mode
有谁知道这是咋回事? 多谢
☆─────────────────────────────────────☆
birdsman (birdsman) 于 (Mon Mar 24 03:49:51 2008) 提到:
我觉得不是,如果bin模式存,应该只会占用4个字节
☆─────────────────────────────────────☆
birdsman (birdsman) 于 (Mon Mar 24 03:57:29 2008) 提到:
昏,当然不是。
float是4个bytes,7.00001的text表示就是7个bytes |
|
m******s 发帖数: 204 | 4 环境:winxp, visual studio 2005, OpenGL ES simulation from
Imagination.(power vr)
问题:在release mode下ctrl+F5会导致程序崩溃。对画框unhanded
exception. 用F5或在debug模式下无问题。
检查:注释掉绝大部分代码。只留下contructor和生成open gl窗口的程
序,constructor 内无任何动态内存的分配函数。所有成员都已赋初值。
有的成员是整形或字符数组,但总的大小不超过2048字节。仍然出现
同样的问题。
换成visual studio 2008, 则没有问题。程序是c和c++混写的。请教各位
大侠这个有可能是原因吗?
是否应关掉优化看看?
多谢了 |
|
e******d 发帖数: 310 | 5 I am using bash in Ubuntu. In order to enable vi mode for the command line,
I put the following line into the .bashrc file.
===========
set -o vi
==========
When the command is very long, the key "v" is pressed and then the "pico"
editor is invoked by default. How can I disable "pico"? I prefer editing
long command line in vi editor.
Thank you. |
|
s*****w 发帖数: 1527 | 6 Hi guys,
i have a target 64-bit windows test machine,
how to write a code to get into WOW64 mode ?
thanks ! |
|
su 发帖数: 149 | 7 编译成32位的程序自然就会在WOW64 mode运行。 |
|
c*******9 发帖数: 6411 | 8 Is there a API in Adobe to check if the acrobat/reader is in the protected
mode?
thanks... |
|
a****n 发帖数: 1887 | 9 call stack 被写坏了吧
debug mode下call stack之间 有些buff |
|
g****t 发帖数: 31659 | 10 Evil mode of EMACS ...
It is fxxking impressive.
incredible design decisions.
incredible coding.
Why people designed and implemented such high quality
software for FREE? It is really evil because it may potentially
break the business loop of others.
Anyway,in last month,I had more fun from learning/practicing Emacs/vi
than playing basketball. |
|
A**********e 发帖数: 3102 | 11 这 folding mode 在做长篇大论的时候太重要了,可是俺一直没搞定。
1、folding 了之后没有足够的提示信息。比如说,fold 了一个 figure,显示 [f
igure],但俺更希望还显示 \label 或 \caption,比如说 [figure]{fig:FooFigu
re}。咋整?
2、光标经过 folding 的部分时,比如原来的 figure 部分有 20 行,那么俺得往
下走 20 行才能越过那个 [figure] 的标记。
3、为啥不能 fold section/subsection 之类的没有 \begin \end 圈定的部分?该
咋整?设 outline 么?
各位是如何解决这些问题的?多谢哈 :)) |
|
s***t 发帖数: 195 | 12 \hypersetup{pdfpagemode=FullScreen}
not recommended though. some ppl may not know what happened and how to
get out of the fullscreen mode. |
|
c*******d 发帖数: 29 | 13 突然发现在latex下改变字体也不是一件容易的事情,特别是在math mode下面,怎么让
其中的字母以我想要的字体大小显示?
比如如下的分块矩阵:
1
A 2
3
4 5 6
我想让A显示得大一些,这样在A周围就没有那么多空白了。。。 |
|
x*x 发帖数: 29 | 14 I use rm -f, but it still question me about each file.
What can I do about it?
If I want to delete a director with a lot of file,
in interactive mode, it would be terrible. |
|
f*******d 发帖数: 339 | 15 when I open a file generated on dos or mac, my emacs (v 20.7) display
a DOS or MAC in the status bar. I am wondering how could they tell?
And how could I change it to a unix mode?
thanks |
|
p*a 发帖数: 592 | 16 add to your .emacs file:
(setq line-number-mode t) |
|
l****p 发帖数: 18 | 17 Vista basic on T61,
Previously "Fn" works fine to return from sleep mode. But now it simply stop
working. I had to press the power button (few seconds) to shut down the
system and reboot.
Someone can help?
Thanks |
|
c*****t 发帖数: 562 | 18 忽然发现DMA变成了ultra mode 2
google了一下好像该试的都试了,还是改不过来
不过好像性能没影响
vista硬盘性能还是4.7
用别的benchmark还是30多MB/s
是5400rpm的2.5"的笔记本硬盘
大家看看要不要再研究下,还是显示的问题? |
|
e*****n 发帖数: 3129 | 19 【 以下文字转载自 Software 讨论区 】
发信人: eftoman (萝卜青红丝), 信区: Software
标 题: 有关win7里的xp mode
发信站: BBS 未名空间站 (Fri Nov 6 15:20:42 2009, 美东)
里边的防毒软件和防火墙啥的是必需的么?
谢谢 |
|
|
o***n 发帖数: 96 | 21 买的就是这个功能,但不知道如何转化.下栽xp mode, 400多M,装上了还是不知如何用.谢
谢了. |
|
a9 发帖数: 21638 | 22 不光那个xp mode,还有个virtual什么的软件要装。
装上以后开始菜单里有虚拟xp。启动就行了。
那不是转化,是让xp跟个程序一样运行。
.谢 |
|
|
s********1 发帖数: 581 | 24 win7 safe mode/clean boot都不能上网
但是ping yahoo.com却完全正常。请问哪位高人,可能是什么原因?
谢谢! |
|
h******3 发帖数: 190 | 25 The thing I am patching on is too small to do whole cell patch. Thus, I rely
on perforated patch technique. Is there a way of effectively injecting dye
(eg. neurobiotin) into a cell under cell-attached mode through recording
electrode?
Thanks a million! |
|
G***G 发帖数: 16778 | 26 how to turn off the hiphenation in reading mode of word 2013?
thank you. |
|
b*****r 发帖数: 203 | 27 2. 如果你有很多acidic amino acid residue 或者别的酸性基团比如 sialic acid
modification, negative mode 可能更适合. 什么matrix 应该无所谓吧. |
|
m**n 发帖数: 206 | 28 PH seems too high for silica. may try NH4 formate or similar for negative
mode instead. |
|
v********g 发帖数: 25 | 29 溶剂和positive ion mode一样,ESI极性换一下就行了,照喷。 |
|
k****o 发帖数: 728 | 30 If your sample was acidic, salt will form after mixing the sample solution
with the basic gradient buffer. Make sure your sample dissovles well in your
HPLC solvent. Normally phosphopeptides are analyzed under positive mode. |
|
K*********e 发帖数: 183 | 31 negative mode信号是会更强,因为是酸呀. 只是形成五元环了. |
|
K*********e 发帖数: 183 | 32 It is OK, I can accept that I made mistakes and the fact that I forgot
things I used to know.
OK, I fixed my last question, I will say if it is in acidic condition (
Positive mode), the bottom two -OHs are basic enough to take the H+.
When I was doing my chores, I realized no matter what, alcohol should be
more acidic than basic, it is my bad.
I still have questions, but without the spectra, it is hard to discuss
further.
Thank you anyway. |
|
K*********e 发帖数: 183 | 33 It is OK, I can accept that I made mistakes and the fact that I forgot
things I used to know.
OK, I fixed my last question, I will say if it is in acidic condition (
Positive mode), the bottom two -OHs are basic enough to take the H+.
When I was doing my chores, I realized no matter what, alcohol should be
more acidic than basic, it is my bad.
I still have questions, but without the spectra, it is hard to discuss
further.
Thank you anyway. |
|
s********r 发帖数: 565 | 34 looks like structural living is single mode.... |
|
f******d 发帖数: 6361 | 35 current gain amplifier=current mode amplifier |
|
f******d 发帖数: 6361 | 36 ti 的 opamp for everyone 有讲current mode amp, but if you need more details
on transistor level, need to refer to some opamp design text book |
|
f******d 发帖数: 6361 | 37 其实正式名称是 current mode amp 吧 |
|
q*******n 发帖数: 52 | 38 如果4.7uF 忘了接或者disconnect了,后果是怎样的?谢谢。
mode |
|