TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

My resignation letter is in ANSI C++

13 pointsby AdamWynneover 14 years ago

3 comments

brettmjohnsonover 14 years ago
<p><pre><code> #include &#60;stdio.h&#62; int main (int argc, char **argv) { puts("Screw you guys! I'm going home."); } </code></pre> I'm thinking they were glad to see you go because you took an hour to do 60 seconds worth of work.
评论 #1666669 未加载
cpercivaover 14 years ago
Is argc really a const in C++'s main? I can't imagine why it would be, given that <i>argv++; argc--;</i> is a very standard idiom in command-line argument processing.
评论 #1663186 未加载
Spechalover 14 years ago
Overkill