peter_19841028's profilePeter's Blog @_@!BlogListsGuestbookMore Tools Help

Blog


    October 29

    做一个有根性的Class

     

    IT Course进入了実装阶段,ICT实践Project拨下了后期款15万进入实物制作的阶段,专攻发表还剩两个月不到自己的研究还是没什么头绪。

    每次做IT Course的Team Work,心理状态是

    プロと素人の違いか……

    每次ICT实践Project的”开会”心理状态是

    我靠,行不行啊~~

    每次准备研究课题发表是的心理状态是

    . . . . . . . . . . . . . . .

     

     

    做一个Class,一个fu*k生活而不是被生活fu*k的Class

    外部可以调用made_to_do(),但绝大多数情况会被无视,除非和内部保护变量”想干的事“一致

    被忠实执行的只有内部调用的to_do()

    最看着不爽的,就是连个Class声明都没有,蹩脚的#define到处声明,被随便调用随便fu*k,连自己的存在都没法证明还自以为那才是”有价值的人生“

     

    PeterXu.h

    #include <家人>

    #include <朋友>

    #include <实在没什么语言的人>

    class PeterXu{

    public:

    收获 made_to_do(事 别人让我干什么);

    事 别人让我干什么;

    protected:

    typedef 理想;

    typedef 人生;

    virtual 事 自己想干什么(心情* 心情,状态* 状态,理想* 理想)=0;

    事 自己想干什么;

    private:

    事 自己应该干什么;

    typedef 心情;

    typedef 状态;

    virtual void 干(事 事)=0;

    virtual void 不干(事 事)=0;

    virtual 事 心中的秤(事 别人让我干什么,事 自己想干什么)=0;

    收获 to_do();

    };

     

     

    PeterXu.cpp

    #include <PeterXu.h>

    我自己 PeterXu::PeterXu(老爸,老妈){

    过程略;

    this->人生=to_do();

    return 我自己;

    }

    void PeterXu::~PeterXu(我自己){

    捐器官以后海葬吧;

    }

    收获 PeterXu::do(事 别人让我干什么){

    this->别人让我干什么=别人让我干什么;

    if(别人让我干什么==自己想干什么(this->心情,this->状态,this->理想)) {

              干(别人让我干什么);

    }else{

              //无视

    }

    return 收获;

    }

    void PeterXu::干(事 事)

    void PeterXu::不干(事 事)

    事 PeterXu::自己想干什么(心情* 心情,状态* 状态,理想* 理想)

    事 PeterXu::心中的秤(事 别人让我干什么,事 自己想干什么)

    收获 PeterXu::to_do(){

    while(1){

              this->自己想干什么=自己想干什么(this->心情,this->状态,this->理想);

              this->自己应该干什么=心中的秤(this->别人让我干什么,this->自己想干什么);

              干(this->自己应该干什么);

              return 收获;

    }

    }

    Comments (2)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    肉 pavelwrote:
    您需要出去散散心,最好带个妞
    Oct. 29
    火星文...
    Oct. 29

    Trackbacks

    The trackback URL for this entry is:
    http://peter19841028.spaces.live.com/blog/cns!9EB3CE65274E00EE!3061.trak
    Weblogs that reference this entry
    • None