December 2008 Archives

PayPal account is frozen

| 4 Comments | No TrackBacks
第一次PayPal帐号被冻结了。因为要换一些人民币,所以给另外一个PayPal帐号打过去了美金,对方给我的支付宝中打过来人民币。从前也这样做过一次,没有任何问题,可是这一次却被冻结了,说我的帐号有可能被第三方窃取及访问。想了半天,可能是因为这次转钱是在国内进行的吧,从前都是在澳洲,地点的变换显的有些可疑。不管怎样,PayPal也是为我们钱的安全着想,所以就赶紧上传材料,把帐号解封。

C/C++中的参数与局部变量存储

| No Comments | No TrackBacks
store.JPG对于C/C++来说,函数的参数以及局部变量存储在堆栈中,左图展示了当一个函数被调用时其参数(parameters)以及局部变量(automatic local variables)是如何在堆栈中存储的,该数据通常被称作Activation Record。需要注意的是参数和局部变量的创建者是不同的,参数是由调用函数(caller)进行创建及初始化,局部变量则是由被调用函数(callee)创建与初始化。
下面将通过一个例子来演示参数及局部变量是如何被维护的。

void main(int argc, char** argv)
{
   int i=5;
   foo(i, &i);
}
void foo(int i, int* pi)
{
   int n = 10;
}
store2.JPG

Recent Comments

  • Mike: I agree. For SEO EMAIL ME AT firstpageplacement@matrixmediapros.com read more
  • Mike: This blog sucks big black ass. read more
  • Full Video Converter: This is an extremely great site you have going here. read more
  • wow gold: Zune and iPod: Most people compare the Zune to the read more
  • wow gold: Apple now has Rhapsody as an app, which is a read more
  • Hybrid VPS: Your post is well written, I like it very much! read more
  • shaiya gold: Talking about the stock exchange is always interesting and enlightening. read more
  • wow gold: Talking about the stock exchange is always interesting and enlightening. read more
  • Mohammad Fehringer: I had to refresh the page 2 times to view read more
  • Bernice Kedra: This is getting a bit more subjective, but I much read more

About this Archive

This page is an archive of entries from December 2008 listed from newest to oldest.

November 2008 is the previous archive.

January 2009 is the next archive.

Find recent content on the main index or look in the archives to find all content.