Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tlrobinson
on April 13, 2008
|
parent
|
context
|
favorite
| on:
One Response to Rejection
printf("%hx", *(unsigned short *)"YC");
...works on big endian machines. this works everywhere:
printf("%hx", htons(*(unsigned short *)"YC"));
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: