By sikanrong
via sikanrong.com
Published: Jan 25 2008 / 12:09
I forget I have this tattoo sometimes, seriously - but I stumbled a page with all nerd-tatoos and realized that mine definitely belongs on the internet for all to see. YES, this is MY leg!! JAVA FTW!!
Comments
bloid replied ago:
That's not java
robse replied ago:
^^ But it's not totally lost, he can still make it into Java by adding something...
(Makes it pretty ironic actually)
sikanrong replied ago:
NO WAY!! Alright guys, look. I just didn't want to write 'public static' or 'String args[]' on my fucking leg (!) and it DOES compile in java!! it's not C (does NOT compile in c), C main() can't return void in C. So, it DOES need to be in a class, but with the tatoo, let's say I'M the class. Anyway - this compiles:
class myTatoo{
void main(){
}
}
so HA!
bloid replied ago:
#include
void main()
{
printf( "This works, just shows a compiler warning\n" ) ;
}
DOES compile in C (at least with gcc), it just throws a warning (and admittedly isn't part of the ISO C standard)
aalmiray replied ago:
It depends on the version of C, on AIX 4.1 (yuck) you could write "void main(){ }" and it would compile without warnings.
tattooontwerpen replied ago:
Thats nice.
For serious tattoos check: http://www.tattoo-ontwerpen.nl
Voters For This Link (7)
Voters Against This Link (5)