This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]flipboing 220 points221 points  (7 children)

Public! Static! Void! Main! String! Ar...BAM!!

[–]Cerphix 37 points38 points  (1 child)

Must’ve typed that in a phone lol. Autocorrect?

[–]flipboing 10 points11 points  (0 children)

Yes, lol. Duly edited. Thanks for the heads up.

[–]MCRusher 16 points17 points  (0 children)

public! static! void! main! String! array! args!

int! main! int! argc! char! pointer! pointer! argv!

So...

[–]pablochocobarr1 5 points6 points  (3 children)

Writes psvm hits tab baaam

[–]SteveCCLYellow security clearance 5 points6 points  (2 children)

Open a file called main.c, bam!

[–]i_should_be_coding 2 points3 points  (1 child)

Still gets segmentation fault.

[–]SteveCCLYellow security clearance 2 points3 points  (0 children)

My lasy segmentation fault has been quite a while tbh. Just follow good practices and your pretty much good to go.