網上昨天出現的一份純c語言簡歷,轉過來玩玩,作者很有才

一份用 C 語言編寫的程序員簡歷,來自網友 klange 發在 Github 的 分享。昨日微博上已流傳開這份簡歷了。後來 klange 專門在這份簡歷前面加聲明瞭,他並不是他真正用於求職的簡歷,是他朋友開的玩笑。他真正用於分發的簡歷是 BSD mandoc 寫的。

剛剛在某網站上看的,感覺很有意思,所以轉過來,跟帖的小夥伴有人說建工程沒法運行,有錯誤,看了下應該是編譯器用了c++的編譯器的原因,這裏給出我的編譯方式和結果,大家可以參考這個改改自己的簡歷玩玩。


#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   = "[email protected]";
 
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;
 
}

Microsoft Windows [版本 6.1.7601]
版權所有 (c) 2009 Microsoft Corporation。保留所有權利。

C:\Users\Administrator>e:

E:\>cd E:\source\C++\Test\xuexi7

E:\source\C++\Test\xuexi7>gcc Resume.c -o resume

E:\source\C++\Test\xuexi7>E:\source\C++\Test\xuexi7\resume.exe
Kevin R. Lange
[email protected]
1045 Mission St, Apt 440
San Francisco, CA 94103

Education

BS Computer Science at University of Illinois at Urbana-Champaign - Urbana, IL
August 25, 2009 to May 10, 2012
- Minor in International Studies in Engineering, Japan
- Focused on systems software courses

Study Abroad at Hiroshima Institute of Technology - Hiroshima, Japan
May 25, 2010 to July 05, 2010
- Cultural exchange program
- Intensive language course

Employment

Software Engineer, i18n at Yelp, Inc. - San Francisco, CA
June 18, 2012 to now
- Developed several internal tools and libraries
- Provided critical input and design work for Yelp's launch in Japan

Software Engineering Intern at Apple Inc. - Cupertino, CA
June 01, 2011 to August 30, 2011
- Built software framework for testing and verification of desktop retina displa
y modes
- Assisted other interns with Unix fundamentals

Projects

Lead at ToAruOS - https://github.com/klange/toaruos
January 15, 2011 to now
- Hobby x86 Unix-like kernel and userspace
- Advanced in-house GUI with compositing window manager

Developer at Compiz Window Manager - http://compiz.org
January 27, 2008 to January 24, 2010
- Minor plugin contributor
- Various research projects


E:\source\C++\Test\xuexi7>
上面上編譯過程,有興趣的小夥伴可以自己改着玩。

發佈了66 篇原創文章 · 獲贊 57 · 訪問量 24萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章