一份用C语言写的简历

作者: 非典型程序员00 | 来源:发表于2015-03-18 16:24 被阅读6342次

    3月的春招正在火热进行,看到了一个程序员用C语言给自己写的简历,分享一下,不知道国内的HR会看吗?
    <pre><code>

    include <stdio.h>

    include <time.h>

    typedef struct {
    union {
    const char * company;
    const char * school;
    const char * project;
    };
    union {
    const char * location;
    const char * url;
    };
    union {
    const char * title;
    const char * program;
    };

    time_t started;
    time_t left;
    
    const char * description[];
    

    } thing_t;

    typedef thing_t job_t;
    typedef thing_t school_t;
    typedef thing_t project_t;

    define CURRENT 0 /* I wasn't alive at the Unix epoch, so that'll work */

    /* Contact Information */
    const char * name = "Kevin R. Lange";
    const char * email = "klange@toaruos.org";
    const char * address = "1045 Mission St, Apt 440\n"
    "San Francisco, CA 94103";

    /* Education */
    school_t uiuc = {
    .school = "University of Illinois at Urbana-Champaign",
    .location = "Urbana, IL",
    .program = "BS Computer Science",
    .started = 1251158400,
    .left = 1336608000,
    .description = {
    "Minor in International Studies in Engineering, Japan",
    "Focused on systems software courses",
    NULL
    }
    };

    school_t hit = {
    .school = "Hiroshima Institute of Technology",
    .location = "Hiroshima, Japan",
    .program = "Study Abroad",
    .started = 1274745600,
    .left = 1278288000,
    .description = {
    "Cultural exchange program",
    "Intensive language course",
    NULL
    }
    };

    school_t * schools[] = {
    &uiuc,
    &hit,
    NULL
    };

    /* Projects */
    project_t compiz = {
    .project = "Compiz Window Manager",
    .url = "http://compiz.org",
    .title = "Developer",
    .started = 1201392000,
    .left = 1264291200,
    .description = {
    "Minor plugin contributor",
    "Various research projects",
    NULL
    }
    };

    project_t toaruos = {
    .project = "ToAruOS",
    .url = "https://github.com/klange/toaruos",
    .title = "Lead",
    .started = 1295049600,
    .left = CURRENT,
    .description = {
    "Hobby x86 Unix-like kernel and userspace",
    "Advanced in-house GUI with compositing window manager",
    NULL
    }
    };

    project_t * projects[] = {
    &toaruos,
    &compiz,
    NULL
    };

    /* Employment History */

    job_t yelp = {
    .company = "Yelp, Inc.",
    .location = "San Francisco, CA",
    .title = "Software Engineer, i18n",
    .started = 1339977600,
    .left = CURRENT,
    .description = {
    "Developed several internal tools and libraries",
    "Provided critical input and design work for Yelp's launch in Japan",
    NULL
    }
    };

    job_t apple_internship = {
    .company = "Apple Inc.",
    .location = "Cupertino, CA",
    .title = "Software Engineering Intern",
    .started = 1306886400,
    .left = 1314662400,
    .description = {
    "Built software framework for testing and verification of desktop retina display modes",
    "Assisted other interns with Unix fundamentals",
    NULL
    }
    };

    job_t * jobs[] = {
    &yelp,
    &apple_internship,
    NULL
    };

    void print_thing(thing_t * thing) {
    char started[100];
    char left[100];
    struct tm * ti;

    printf("%s at %s - %s\n", thing->title, thing->company, thing->location);
    
    ti = localtime(&thing->started);
    strftime(started, sizeof(started), "%B %d, %Y", ti);
    
    if (thing->left == CURRENT)  {
        printf("%s to now\n", started);
    } else {
        ti = localtime(&thing->left);
        strftime(left, sizeof(left), "%B %d, %Y", ti);
        printf("%s to %s\n", started, left);
    }
    
    const char ** desc;
    for (desc = thing->description; *desc; desc++) {
        printf("- %s\n", *desc);
    }
    
    puts("");
    

    }

    int main(int argc, char ** argv) {

    school_t ** s;
    job_t ** j;
    project_t ** p;
    
    printf("%s\n%s\n%s\n\n", name, email, address);
    
    puts("Education\n");
    for (s = schools; *s; s++) {
        print_thing(*s);
    }
    
    puts("Employment\n");
    for (j = jobs; *j; j++) {
        print_thing(*j);
    }
    
    puts("Projects\n");
    for (p = projects; *p; p++) {
        print_thing(*p);
    }
    
    return 0;
    

    }
    </code></pre>

    相关文章

      网友评论

      • 吴钧泽:会玩儿
      • d6e5754c1e06:不能新手更多,刚学C的孩子都能写出来,而且没有比普通文字简历提供任何额外价值。
      • Sheepy:这会被机器或者HR直接筛掉。。。
      • 18ce9f6925e6:逼不是这样装的
      • f7ead5f5d109: @窗边的小熊猫 艾斯比 你懂啥
      • 学姐段:个人觉得很麻烦,不如html5
      • 1f272e2ac702:用这个还不如用html,PHP,,,至少这个拿过来就可以看,这个要是没安装C编译软件还得安装,,,而且你不觉得现实效果还不如给人家一张排版好的A4打印出来的好看?
      • 35c9e16f4695:虽然很基础,但是还是不错吧
      • Alfred_Sun:乍一看,貌似很NB的样子;仔细一阅,代码有问题,语法错误太多……不知道是不是LZ拷贝的时候,出了什么问题。
        不管咋讲,代码也不怎么滴。。。
      • hwk603:运行结果呢
      • 29a5ef30cf36:刚刚开始自学HTLM5
      • 6445e4f2dbc9:虽然是基础的东西 但是这不是随便爆粗口的理由
      • 我煮鱼:哇,你好厉害啊,哇,什么鬼。
      • c1b4d481d9e1:没有可视化来的直接了当 基础的东西
      • c35194256be0:就是结构体和数组的一点啊,连算法都没用上
      • 677ffe5e2c03:看不懂的说
      • f7b63500aad3:基础!
      • 20cb3645737e: @Dark 确实是这样的
      • 骑鱼的猫老师:没看懂。倒很支持有技术的人!
      • 9e87cd3f8437:哈哈,找喷的
      • __可乐__:没看懂
      • 靠谱男青年奖得主:第一眼应该是给人力看,人力看不懂有两种情况一种是扔了一种是找开发部负责人,负责人绝不会认为是很高级的技术。算下来,这根本不算创意简历,很多人都这么干过,大部分HR的印象是“浮躁”而不是“技术好”,所以其实这样是吃亏的,没人会从简历上去定义能力,面试才是真的。
      • 53c7ed0002f4:创意简历,有什么不好的?说傻逼的,倒是也拿出个有创意的来,如果不能,就别说别人不行
      • 谢培阳:这东西,,,拿得出手也是醉
      • 2ab5552d8c70:很基础的东西
      • 细雨莲莲:在这里发这篇文章的人啊,你不会写程序而已,人家写个程序就是天才了?这你要是学会了……你得如何评价你自己呢?~
      • 367a991280c4:为什么就傻逼了?怎么就傻逼了?凸显人家专业很好很有特色啊。看不懂就说人家傻逼什么素质啊。
      • AbelardTc:.......不得不说很sb
      • 九夜茴:傻逼么?
      • 1491319f15a2:好傻逼
      • 神奇的小狮子:国内hr一看,什么鬼,直接删了。。
      • LostAbaddon:我。。。擦。。。

      本文标题:一份用C语言写的简历

      本文链接:https://www.haomeiwen.com/subject/evxwxttx.html