• 佛祖保佑模板


     1 //                                                          _ooOoo_
     2 //                                                         o8888888o
     3 //                                                         88" . "88
     4 //                                                         (| -_- |)
     5 //                                                          O = /O
     6 //                                                      ____/`---'\____
     7 //                                                    .   ' \| |// `.
     8 //                                                     / \||| : |||// 
     9 //                                                   / _||||| -:- |||||- 
    10 //                                                     | | \ - /// | |
    11 //                                                   | \_| ''---/'' | |
    12 //                                                     .-\__ `-` ___/-. /
    13 //                                                 ___`. .' /--.-- `. . __
    14 //                                              ."" '< `.___\_<|>_/___.' >'"".
    15 //                                             | | : `- \`.;` _ /`;.`/ - ` : | |
    16 //                                                 `-. \_ __ /__ _/ .-` / /
    17 //                                       ======`-.____`-.___\_____/___.-`____.-'======
    18 //                                                          `=---='
    19 //
    20 //                                       .............................................
    21 //                                              佛祖保佑             永无BUG
    22 //                                      佛曰:
    23 //                                              写字楼里写字间,写字间里程序员;
    24 //                                              程序人员写程序,又拿程序换酒钱。
    25 //                                              酒醒只在网上坐,酒醉还来网下眠;
    26 //                                              酒醉酒醒日复日,网上网下年复年。
    27 //                                              但愿老死电脑间,不愿鞠躬老板前;
    28 //                                              奔驰宝马贵者趣,公交自行程序员。
    29 //                                              别人笑我忒疯癫,我笑自己命太贱;
    30 //                                              不见满街漂亮妹,哪个归得程序员?
    31 
    32 #include <stdio.h>
    33 #include <string.h>
    34 void PrintCenterAlign(char *pStr, int Len)
    35 {
    36     int lSpaceNum = (Len - strlen(pStr)) / 2;
    37 
    38     printf("%*s
    ", lSpaceNum + strlen(pStr), pStr);
    39 }
    40 
    41 void PrintGodBless(void)
    42 {
    43     PrintCenterAlign("_ooOoo_", 150);
    44     PrintCenterAlign("o8888888o", 150);
    45     PrintCenterAlign("88" . "88", 150);
    46     PrintCenterAlign("(| -_- |)", 150);
    47     PrintCenterAlign("O\ = /O", 150);
    48     PrintCenterAlign("____/'---'\____", 150);
    49     PrintCenterAlign(".' \\| |// '.", 150);
    50     PrintCenterAlign("/ \\||| : |||// \", 150);
    51     PrintCenterAlign("/ _||||| -:- |||||- \", 150);
    52     PrintCenterAlign("| | \\\ - /// | |", 150);
    53     PrintCenterAlign("| \_| ''\---/'' |_/", 150);
    54     PrintCenterAlign("\ .-\__ `-` ___/-. /", 150);
    55     PrintCenterAlign("___`. .' /--.--\ `. . __", 150);
    56     PrintCenterAlign("."" '< `.___\_<|>_/___.' >'"".", 150);
    57     PrintCenterAlign("| | : `- \`.;`\ _ /`;.`/ - ` : | |", 150);
    58     PrintCenterAlign("\ \ `-. \_ __\ /__ _/ .-` / /", 150);
    59     PrintCenterAlign("======`-.____`-.___\_____/___.-`____.-'======", 150);
    60     PrintCenterAlign("`=---='", 150);
    61     printf("
    ");
    62     PrintCenterAlign("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", 150);
    63     PrintCenterAlign("  *God Bless          Never Crash* ", 150);
    64 }
    65 
    66 int main(int argc, char *argv[])
    67 {
    68     PrintGodBless();
    69 }

    以后会用到的,相信我,程序员写代码的最高境界竟然是信佛祖

  • 相关阅读:
    爱奇艺笔试题 输出01020304... ...
    ThreadPoolExecutor 中为什么WorkQueue会在corePoolSize满了之后入队
    jvisualvm 的使用
    连续子数组的最大和
    最长连续子序列
    leetcode 需要了解的知识点储备
    java String
    mysql MVCC
    java 批量导出(zip文件)
    java 中接口调用
  • 原文地址:https://www.cnblogs.com/itjunjun/p/12910196.html
Copyright © 2020-2023  润新知