淡水求咸

博客园已经停止更新,请移步 http://lovecjh.com/

导航

随笔分类 -  Interview

The diff between throw and throw e
摘要:Today, in the interview,this question be asked, but I cant't answer because I am cpluspluser before, I turn to learn C# not long. So, what the different between throw and throw e? I found a amasing answer herewhen Isearch some information with google. I run the program in vs2008, the code is : . 阅读全文

posted @ 2013-06-04 18:58 深圳彦祖 阅读(290) 评论(0) 推荐(0)

巨人网络2012年10月11日大连理工大学宣讲会C++开发工程师笔试题
摘要:1, 若char是一字节,int是4字节,指针类型是4字节,代码如下:Class CTest{Public:CTest():m_chData(‘\0’),m_nData(0){}Virtual void mem_fun(){}private: char m_chData; int m_nData; static char s_chData; //};Char CTest::s_chData=’\0’;问:(1)若按1字节对齐sizeof(CTest)的值是多少? 9 (2)若按4字节对齐sizeof(CTest)的值是多少? 122. 下面代码存在哪些问题?Class IObject{};cl 阅读全文

posted @ 2012-11-06 10:16 深圳彦祖 阅读(352) 评论(0) 推荐(0)

科大讯飞2012年笔试题目
摘要:科大讯飞2012年题目:答案我弄的参考答案:有问题的可以提出以商讨:一、单选题1、64多形的外角和是多少(A)//多边形的外角和为360,内角和为(n - 2)x 180 其中n为边数 A、1*360 B、1*180 C、64*360 D、64*1802、有一盆衣服(已经洗过了,需要漂洗),请问在漂洗次数固定的情况下如何分配水才能把衣服洗得最干净(C) A、从少到多 B、从多到少 C、平均分配 D、随便洗3、用力拉一根橡皮筋,橡皮筋上有没有点还处在原来的位置没有被拉走(B) A、有 B、没有 C、有是有、有时没有 D、一般人拉没有,刘谦拉就有4、假设一个应用程序需要使用多个提供不同功能但在接. 阅读全文

posted @ 2012-10-19 19:46 深圳彦祖 阅读(1822) 评论(0) 推荐(1)

amazon 2013校园招聘题目
摘要:下面是amazon 2013校园招聘题目,望大家贴现自己的答案哈,我准备收集笔试面试题。Amazon Hiring Campus 2013 - Final 6consider a kind of configuration file in amazon sofeware system. this kind of configuration file's format looks like this:B=10;A={ A=100; B=BDE; C=C; D={ A=windows; B=mac; C={ A=redhat; B=ubu... 阅读全文

posted @ 2012-10-19 19:41 深圳彦祖 阅读(387) 评论(0) 推荐(0)