当前在线人数15233
首页 - 分类讨论区 - 电脑网络 - 葵花宝典版 -阅读文章
未名交友
[更多]
[更多]
文章阅读:Re: godly C++ programmers needed
[同主题阅读] [版面: 葵花宝典] [作者:kreisler] , 2004年10月21日22:10:08
kreisler
进入未名形象秀
我的博客
[上篇] [下篇] [同主题上篇] [同主题下篇]

发信人: kreisler (little Kreisler), 信区: Programming
标  题: Re: godly C++ programmers needed
发信站: Unknown Space - 未名空间 (Thu Oct 21 22:10:08 2004) WWW-POST

I am trying to answer your questions even though I don't consider a new job at
this time. Also as I mentioned, I am not a C++ expert.

1. delete this is commit suicide. There is many things should be aware.
Probably I can't cover all of them.
first of all, "this" object is not allocated memory by new[] or placement new.
secondly, member function of this can't call any members of "this".
Also, be sure never use "this" after you delete "this".

2. When delete a pointer through base class pointer, destructor need be
virtual.

3. Are you asking member function of class or just function?

4. encapsulation prevents unauthorized access of members of class. Its purpose
is to ensure any changes of data won't break other classes.

5. Good things about multithreaded is be able to do multiple things at the
same time so that often it improves the performance.
  Bad things: it is very hard to debug and makes code very complicated.

【 在 irobotsoft (irobot) 的大作中提到: 】
: like that, if u don't know these basic questions,
: certainly not a good fit.
: 1.delete this 的目的是什么?有什么优劣性?

: 2. 为什么make a class destructor virtual?

: 3. 在什么时候声明函数要用const?

: 4. 在程序中如何实现封装(encapsulation)的概念?理由是什么?

: 5. 多线程(Multithread)的优缺点是什么
:
: 【 在 kreisler (little Kreisler) 的大作中提到: 】
: : What do you expect from a godly C++ programmers? I am just curious.
: : 【 在 irobotsoft (irobot) 的大作中提到: 】
: : : Employment Opportunity
: : :
: : : Free Peers, Inc. is looking for godly C++ programmers to work on
: : : BearShare, a Gnutella peer-to-peer file sharing application.  Must
: : : be willing to relocate to South Florida.
: : :
: : : Skills required:
: : :
: : : Microsoft Visual C++
: : : MFC
: : : Multithreaded client-server architectures
: : : OOD
: : : GUI development
: : : Source Safe
: : : TCP/IP Networking
: : :
: : : Free Peers has a relaxed and casual workplace. We put a premium on
: : : quality of life. By working intelligently and efficiently, there is
: : : time to enjoy life. Our office is an open workplace that involves
: : : everyone in what is happening in the business. The goal is for
: : : everyone to be excited, happy, and challenged, and to have the
: : : opportunity to live up to their potential. Part of the fun of
: : : working at BearShare is hanging out with co-workers.  Our small size
: : : and open work environment creates an esprit de corps rarely found in
: : : organizations. This creates a powerful learning environment where
: : : people freely consult with each other and share their experience and
: : : knowledge. 
: : :
: : : Please send your resume to [email protected]
: : :
: :
:

--
I belong to nobody and I just belong to myself; I don't belong to myself and I belong to everyone.
※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 24.191.]

[上篇] [下篇] [同主题上篇] [同主题下篇]
[转寄] [转贴] [回信给作者] [修改文章] [删除文章] [同主题阅读] [从此处展开] [返回版面] [快速返回] [收藏] [举报]
 
回复文章
标题:
内 容:

未名交友
将您的链接放在这儿

友情链接


 

Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有,未名空间(mitbbs.com),since 1996